diff --git a/.buildkite/ftr_security_serverless_configs.yml b/.buildkite/ftr_security_serverless_configs.yml index 74d82d40c8bce..5ea5647d1d908 100644 --- a/.buildkite/ftr_security_serverless_configs.yml +++ b/.buildkite/ftr_security_serverless_configs.yml @@ -37,6 +37,7 @@ enabled: - x-pack/test_serverless/functional/test_suites/security/config.cloud_security_posture.agentless.ts - x-pack/test_serverless/functional/test_suites/security/config.saved_objects_management.ts - x-pack/test_serverless/functional/test_suites/security/config.context_awareness.ts + - x-pack/test_serverless/functional/test_suites/security/config.examples.context_awareness.ts - x-pack/test_serverless/functional/test_suites/security/common_configs/config.group1.ts - x-pack/test_serverless/functional/test_suites/security/common_configs/config.group2.ts - x-pack/test_serverless/functional/test_suites/security/common_configs/config.group3.ts diff --git a/.buildkite/pipeline-resource-definitions/kibana-gen-ai-daily.yml b/.buildkite/pipeline-resource-definitions/kibana-gen-ai-daily.yml new file mode 100644 index 0000000000000..b4142cac87ec1 --- /dev/null +++ b/.buildkite/pipeline-resource-definitions/kibana-gen-ai-daily.yml @@ -0,0 +1,54 @@ +# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json +apiVersion: backstage.io/v1alpha1 +kind: Resource +metadata: + name: bk-kibana-gen-ai-daily + description: Runs the GenAI FTR tests daily + links: + - url: 'https://buildkite.com/elastic/kibana-gen-ai-tests-daily' + title: Pipeline link +spec: + type: buildkite-pipeline + owner: 'group:appex-ai-infra' + system: buildkite + implementation: + apiVersion: buildkite.elastic.dev/v1 + kind: Pipeline + metadata: + name: kibana / gen-ai-tests / daily + description: Runs the GenAI FTR tests daily + spec: + env: + SLACK_NOTIFICATIONS_CHANNEL: '#appex-ai-infra-alerts' + ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' + allow_rebuilds: true + branch_configuration: main + cancel_intermediate_builds: true + default_branch: main + repository: elastic/kibana + pipeline_file: .buildkite/pipelines/gen_ai_testing.yml + provider_settings: + build_branches: false + build_pull_requests: false + publish_commit_status: false + trigger_mode: none + prefix_pull_request_fork_branch_names: false + skip_pull_request_builds_for_existing_commits: false + teams: + everyone: + access_level: BUILD_AND_READ + appex-ai-infra: + access_level: MANAGE_BUILD_AND_READ + kibana-operations: + access_level: MANAGE_BUILD_AND_READ + appex-qa: + access_level: MANAGE_BUILD_AND_READ + kibana-tech-leads: + access_level: MANAGE_BUILD_AND_READ + schedules: + Daily build: + cronline: 0 0 * * * America/New_York + message: Daily build + branch: main + tags: + - kibana diff --git a/.buildkite/pipeline-resource-definitions/locations.yml b/.buildkite/pipeline-resource-definitions/locations.yml index ca454f64c2696..11c0195902eec 100644 --- a/.buildkite/pipeline-resource-definitions/locations.yml +++ b/.buildkite/pipeline-resource-definitions/locations.yml @@ -50,3 +50,4 @@ spec: - https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/security-solution-quality-gate/kibana-serverless-security-solution-quality-gate-investigations.yml - https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/security-solution-quality-gate/kibana-serverless-security-solution-quality-gate-rule-management.yml - https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/trigger-version-dependent-jobs.yml + - https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-gen-ai-daily.yml diff --git a/.buildkite/pipelines/gen_ai_testing.yml b/.buildkite/pipelines/gen_ai_testing.yml new file mode 100644 index 0000000000000..e6771d209deea --- /dev/null +++ b/.buildkite/pipelines/gen_ai_testing.yml @@ -0,0 +1,48 @@ +env: + FTR_GEN_AI: "1" +steps: + - label: '👨‍🔧 Pre-Build' + command: .buildkite/scripts/lifecycle/pre_build.sh + agents: + image: family/kibana-ubuntu-2004 + imageProject: elastic-images-prod + provider: gcp + machineType: n2-standard-2 + + - wait + + - label: '🧑‍🏭 Build Kibana Distribution' + command: .buildkite/scripts/steps/build_kibana.sh + agents: + image: family/kibana-ubuntu-2004 + imageProject: elastic-images-prod + provider: gcp + machineType: n2-standard-8 + key: build + if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''" + + - wait + + - command: .buildkite/scripts/steps/test/ftr_configs.sh + env: + FTR_CONFIG: "x-pack/test/functional_gen_ai/inference/config.ts" + FTR_CONFIG_GROUP_KEY: 'ftr-ai-infra-gen-ai-inference-api' + FTR_GEN_AI: "1" + label: AppEx AI-Infra Inference APIs FTR tests + key: ai-infra-gen-ai-inference-api + timeout_in_minutes: 50 + parallelism: 1 + agents: + image: family/kibana-ubuntu-2004 + imageProject: elastic-images-prod + provider: gcp + machineType: n2-standard-4 + preemptible: true + retry: + automatic: + - exit_status: '-1' + limit: 3 + - exit_status: '*' + limit: 1 + + diff --git a/.buildkite/pipelines/on_merge.yml b/.buildkite/pipelines/on_merge.yml index 2f1562ef1d741..66cc3f9f33042 100644 --- a/.buildkite/pipelines/on_merge.yml +++ b/.buildkite/pipelines/on_merge.yml @@ -169,28 +169,6 @@ steps: - exit_status: '*' limit: 1 - - command: .buildkite/scripts/steps/test/ftr_configs.sh - env: - FTR_CONFIG: "x-pack/test/functional_gen_ai/inference/config.ts" - FTR_CONFIG_GROUP_KEY: 'ftr-ai-infra-gen-ai-inference-api' - FTR_GEN_AI: "1" - label: AppEx AI-Infra Inference APIs FTR tests - key: ai-infra-gen-ai-inference-api - timeout_in_minutes: 50 - parallelism: 1 - agents: - image: family/kibana-ubuntu-2004 - imageProject: elastic-images-prod - provider: gcp - machineType: n2-standard-4 - preemptible: true - retry: - automatic: - - exit_status: '-1' - limit: 3 - - exit_status: '*' - limit: 1 - - command: .buildkite/scripts/steps/functional/security_serverless_entity_analytics.sh label: 'Serverless Entity Analytics - Security Cypress Tests' agents: diff --git a/.eslintrc.js b/.eslintrc.js index 3052b07745e4c..0fe79513a9948 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -967,7 +967,7 @@ module.exports = { }, { files: [ - 'x-pack/plugins/aiops/**/*.tsx', + 'x-pack/platform/plugins/shared/aiops/**/*.tsx', 'x-pack/plugins/observability_solution/**/*.tsx', 'x-pack/plugins/{streams,streams_app}/**/*.{ts,tsx}', 'src/plugins/ai_assistant_management/**/*.tsx', @@ -1073,11 +1073,12 @@ module.exports = { */ { files: [ - 'x-pack/plugins/aiops/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/data_visualizer/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/ml/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/transform/**/*.{js,mjs,ts,tsx}', - 'x-pack/packages/ml/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/aiops/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/private/data_visualizer/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/ml/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/private/transform/**/*.{js,mjs,ts,tsx}', + 'x-pack/packages/private/ml/**/*.{js,mjs,ts,tsx}', + 'x-pack/packages/shared/ml/**/*.{js,mjs,ts,tsx}', ], rules: { '@typescript-eslint/consistent-type-imports': 'error', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d75759814bad0..93ea7fdabc690 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -265,7 +265,6 @@ packages/deeplinks/analytics @elastic/kibana-data-discovery @elastic/kibana-pres packages/deeplinks/devtools @elastic/kibana-management packages/deeplinks/fleet @elastic/fleet packages/deeplinks/management @elastic/kibana-management -packages/deeplinks/ml @elastic/ml-ui packages/deeplinks/observability @elastic/obs-ux-management-team packages/deeplinks/search @elastic/search-kibana packages/deeplinks/security @elastic/security-solution @@ -273,7 +272,6 @@ packages/deeplinks/shared @elastic/appex-sharedux packages/default-nav/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations packages/default-nav/devtools @elastic/kibana-management packages/default-nav/management @elastic/kibana-management -packages/default-nav/ml @elastic/ml-ui packages/home/sample_data_card @elastic/appex-sharedux packages/home/sample_data_tab @elastic/appex-sharedux packages/home/sample_data_types @elastic/appex-sharedux @@ -423,7 +421,6 @@ packages/kbn-openapi-common @elastic/security-detection-rule-management 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-osquery-io-ts-types @elastic/security-asset-management packages/kbn-panel-loader @elastic/kibana-presentation packages/kbn-peggy @elastic/kibana-operations packages/kbn-peggy-loader @elastic/kibana-operations @@ -435,6 +432,7 @@ packages/kbn-plugin-helpers @elastic/kibana-operations packages/kbn-profiling-utils @elastic/obs-ux-infra_services-team packages/kbn-react-field @elastic/kibana-data-discovery packages/kbn-react-hooks @elastic/obs-ux-logs-team +packages/kbn-react-mute-legacy-root-warning @elastic/appex-sharedux packages/kbn-recently-accessed @elastic/appex-sharedux packages/kbn-repo-file-maps @elastic/kibana-operations packages/kbn-repo-info @elastic/kibana-operations @@ -464,6 +462,8 @@ 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 packages/kbn-scout @elastic/appex-qa +packages/kbn-scout-info @elastic/appex-qa +packages/kbn-scout-reporting @elastic/appex-qa packages/kbn-screenshotting-server @elastic/appex-sharedux packages/kbn-search-api-keys-components @elastic/search-kibana packages/kbn-search-api-keys-server @elastic/search-kibana @@ -617,12 +617,15 @@ 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/platform/packages/private/default-nav/ml @elastic/ml-ui src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql +src/platform/packages/shared/deeplinks/ml @elastic/ml-ui src/platform/packages/shared/kbn-doc-links @elastic/docs 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-osquery-io-ts-types @elastic/security-asset-management src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management @@ -794,46 +797,6 @@ x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations x-pack/packages/kbn-slo-schema @elastic/obs-ux-management-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/ml/agg_utils @elastic/ml-ui -x-pack/packages/ml/aiops_change_point_detection @elastic/ml-ui -x-pack/packages/ml/aiops_common @elastic/ml-ui -x-pack/packages/ml/aiops_components @elastic/ml-ui -x-pack/packages/ml/aiops_log_pattern_analysis @elastic/ml-ui -x-pack/packages/ml/aiops_log_rate_analysis @elastic/ml-ui -x-pack/packages/ml/aiops_test_utils @elastic/ml-ui -x-pack/packages/ml/anomaly_utils @elastic/ml-ui -x-pack/packages/ml/cancellable_search @elastic/ml-ui -x-pack/packages/ml/category_validator @elastic/ml-ui -x-pack/packages/ml/chi2test @elastic/ml-ui -x-pack/packages/ml/creation_wizard_utils @elastic/ml-ui -x-pack/packages/ml/data_frame_analytics_utils @elastic/ml-ui -x-pack/packages/ml/data_grid @elastic/ml-ui -x-pack/packages/ml/data_view_utils @elastic/ml-ui -x-pack/packages/ml/date_picker @elastic/ml-ui -x-pack/packages/ml/date_utils @elastic/ml-ui -x-pack/packages/ml/error_utils @elastic/ml-ui -x-pack/packages/ml/field_stats_flyout @elastic/ml-ui -x-pack/packages/ml/in_memory_table @elastic/ml-ui -x-pack/packages/ml/inference_integration_flyout @elastic/ml-ui -x-pack/packages/ml/is_defined @elastic/ml-ui -x-pack/packages/ml/is_populated_object @elastic/ml-ui -x-pack/packages/ml/json_schemas @elastic/ml-ui -x-pack/packages/ml/kibana_theme @elastic/ml-ui -x-pack/packages/ml/local_storage @elastic/ml-ui -x-pack/packages/ml/nested_property @elastic/ml-ui -x-pack/packages/ml/number_utils @elastic/ml-ui -x-pack/packages/ml/parse_interval @elastic/ml-ui -x-pack/packages/ml/query_utils @elastic/ml-ui -x-pack/packages/ml/random_sampler_utils @elastic/ml-ui -x-pack/packages/ml/response_stream @elastic/ml-ui -x-pack/packages/ml/route_utils @elastic/ml-ui -x-pack/packages/ml/runtime_field_utils @elastic/ml-ui -x-pack/packages/ml/string_hash @elastic/ml-ui -x-pack/packages/ml/time_buckets @elastic/ml-ui -x-pack/packages/ml/trained_models_utils @elastic/ml-ui -x-pack/packages/ml/ui_actions @elastic/ml-ui -x-pack/packages/ml/url_state @elastic/ml-ui -x-pack/packages/ml/validators @elastic/ml-ui x-pack/packages/observability/alert_details @elastic/obs-ux-management-team x-pack/packages/observability/alerting_rule_utils @elastic/obs-ux-management-team x-pack/packages/observability/alerting_test_data @elastic/obs-ux-management-team @@ -863,12 +826,55 @@ 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/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 +x-pack/platform/packages/private/ml/aiops_test_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/cancellable_search @elastic/ml-ui +x-pack/platform/packages/private/ml/category_validator @elastic/ml-ui +x-pack/platform/packages/private/ml/creation_wizard_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/data_frame_analytics_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/data_grid @elastic/ml-ui +x-pack/platform/packages/private/ml/data_view_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/date_picker @elastic/ml-ui +x-pack/platform/packages/private/ml/date_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/field_stats_flyout @elastic/ml-ui +x-pack/platform/packages/private/ml/in_memory_table @elastic/ml-ui +x-pack/platform/packages/private/ml/inference_integration_flyout @elastic/ml-ui +x-pack/platform/packages/private/ml/is_defined @elastic/ml-ui +x-pack/platform/packages/private/ml/is_populated_object @elastic/ml-ui +x-pack/platform/packages/private/ml/json_schemas @elastic/ml-ui +x-pack/platform/packages/private/ml/kibana_theme @elastic/ml-ui +x-pack/platform/packages/private/ml/local_storage @elastic/ml-ui +x-pack/platform/packages/private/ml/nested_property @elastic/ml-ui +x-pack/platform/packages/private/ml/number_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/parse_interval @elastic/ml-ui +x-pack/platform/packages/private/ml/query_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/route_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/string_hash @elastic/ml-ui +x-pack/platform/packages/private/ml/time_buckets @elastic/ml-ui +x-pack/platform/packages/private/ml/ui_actions @elastic/ml-ui +x-pack/platform/packages/private/ml/url_state @elastic/ml-ui +x-pack/platform/packages/private/ml/validators @elastic/ml-ui x-pack/platform/packages/shared/kbn-entities-schema @elastic/obs-entities +x-pack/platform/packages/shared/ml/aiops_common @elastic/ml-ui +x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis @elastic/ml-ui +x-pack/platform/packages/shared/ml/aiops_log_rate_analysis @elastic/ml-ui +x-pack/platform/packages/shared/ml/anomaly_utils @elastic/ml-ui +x-pack/platform/packages/shared/ml/chi2test @elastic/ml-ui +x-pack/platform/packages/shared/ml/error_utils @elastic/ml-ui +x-pack/platform/packages/shared/ml/random_sampler_utils @elastic/ml-ui +x-pack/platform/packages/shared/ml/response_stream @elastic/ml-ui +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/plugins/private/data_visualizer @elastic/ml-ui +x-pack/platform/plugins/private/transform @elastic/ml-ui +x-pack/platform/plugins/shared/aiops @elastic/ml-ui x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities +x-pack/platform/plugins/shared/ml @elastic/ml-ui x-pack/plugins/actions @elastic/response-ops x-pack/plugins/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/plugins/ai_infra/product_doc_base @elastic/appex-ai-infra -x-pack/plugins/aiops @elastic/ml-ui x-pack/plugins/alerting @elastic/response-ops x-pack/plugins/asset_inventory @elastic/kibana-cloud-security-posture x-pack/plugins/banners @elastic/appex-sharedux @@ -887,7 +893,6 @@ x-pack/plugins/custom_branding @elastic/appex-sharedux x-pack/plugins/dashboard_enhanced @elastic/kibana-presentation x-pack/plugins/data_quality @elastic/obs-ux-logs-team x-pack/plugins/data_usage @elastic/obs-ai-assistant @elastic/security-solution -x-pack/plugins/data_visualizer @elastic/ml-ui x-pack/plugins/discover_enhanced @elastic/kibana-data-discovery x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux x-pack/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore @@ -918,7 +923,6 @@ x-pack/plugins/licensing @elastic/kibana-core x-pack/plugins/lists @elastic/security-detection-engine x-pack/plugins/logstash @elastic/logstash x-pack/plugins/maps @elastic/kibana-presentation -x-pack/plugins/ml @elastic/ml-ui x-pack/plugins/monitoring @elastic/stack-monitoring x-pack/plugins/monitoring_collection @elastic/stack-monitoring x-pack/plugins/notifications @elastic/appex-sharedux @@ -987,7 +991,6 @@ x-pack/plugins/task_manager @elastic/response-ops x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core x-pack/plugins/threat_intelligence @elastic/security-threat-hunting-investigations x-pack/plugins/timelines @elastic/security-threat-hunting-investigations -x-pack/plugins/transform @elastic/ml-ui x-pack/plugins/translations @elastic/kibana-localization x-pack/plugins/triggers_actions_ui @elastic/response-ops x-pack/plugins/upgrade_assistant @elastic/kibana-management @@ -1090,8 +1093,8 @@ x-pack/test_serverless/api_integration/test_suites/common/platform_security @ela /x-pack/test/api_integration/apis/kibana/kql_telemetry @elastic/kibana-data-discovery @elastic/kibana-visualizations /x-pack/test_serverless/functional/es_archives/pre_calculated_histogram @elastic/kibana-data-discovery /x-pack/test_serverless/functional/es_archives/kibana_sample_data_flights_index_pattern @elastic/kibana-data-discovery -/x-pack/test_serverless/functional/test_suites/security/config.examples.ts @elastic/kibana-data-discovery -/x-pack/test_serverless/functional/test_suites/security/config.context_awareness.ts @elastic/kibana-data-discovery +/x-pack/test_serverless/functional/test_suites/security/config.examples.ts @elastic/kibana-data-discovery +/x-pack/test_serverless/functional/test_suites/security/config.examples.context_awareness.ts @elastic/kibana-data-discovery /test/accessibility/apps/discover.ts @elastic/kibana-data-discovery /test/api_integration/apis/data_views @elastic/kibana-data-discovery /test/api_integration/apis/data_view_field_editor @elastic/kibana-data-discovery @@ -2004,7 +2007,7 @@ x-pack/test/api_integration/apis/management/index_management/inference_endpoints # Management Experience - Deployment Management /test/functional/fixtures/kbn_archiver/management.json @elastic/kibana-management @elastic/kibana-data-discovery # Assigned per 2 uses: test/functional/apps/management/_import_objects.ts && test/functional/apps/management/data_views/_scripted_fields_filter.ts /x-pack/test/functional/fixtures/kbn_archiver/home/feature_controls/security/security.json @elastic/kibana-management -/x-pack/test/functional/es_archives/upgrade_assistant @elastic/kibana-management +/x-pack/test/functional/es_archives/upgrade_assistant @elastic/kibana-core /x-pack/test/functional/services/ace_editor.js @elastic/kibana-management /x-pack/test/functional/page_objects/remote_clusters_page.ts @elastic/kibana-management /x-pack/test/stack_functional_integration/apps/ccs @elastic/kibana-management @@ -2030,7 +2033,7 @@ x-pack/test/api_integration/apis/management/index_management/inference_endpoints /x-pack/test/functional/apps/license_management @elastic/kibana-management /x-pack/test/functional/apps/management @elastic/kibana-management /x-pack/test/functional/apps/remote_clusters @elastic/kibana-management -/x-pack/test/functional/apps/upgrade_assistant @elastic/kibana-management +/x-pack/test/functional/apps/upgrade_assistant @elastic/kibana-core /x-pack/test/functional/apps/dev_tools @elastic/kibana-management /test/plugin_functional/test_suites/management @elastic/kibana-management /x-pack/test/upgrade_assistant_integration @elastic/kibana-management @@ -2054,7 +2057,7 @@ x-pack/test/api_integration/apis/management/index_management/inference_endpoints /x-pack/test/api_integration/services/ingest_pipelines @elastic/kibana-management /x-pack/test/functional/apps/watcher @elastic/kibana-management /x-pack/test/api_integration/apis/watcher @elastic/kibana-management -/x-pack/test/api_integration/apis/upgrade_assistant @elastic/kibana-management +/x-pack/test/api_integration/apis/upgrade_assistant @elastic/kibana-core /x-pack/test/api_integration/apis/searchprofiler @elastic/kibana-management /x-pack/test/api_integration/apis/console @elastic/kibana-management /x-pack/test_serverless/**/test_suites/common/index_management/ @elastic/kibana-management @@ -2087,7 +2090,7 @@ x-pack/test/api_integration/apis/management/index_management/inference_endpoints /x-pack/test/accessibility/apps/group3/license_management.ts @elastic/kibana-management /x-pack/test/accessibility/apps/group3/remote_clusters.ts @elastic/kibana-management /x-pack/test/accessibility/apps/group3/rollup_jobs.ts @elastic/kibana-management -/x-pack/test/accessibility/apps/group3/upgrade_assistant.ts @elastic/kibana-management +/x-pack/test/accessibility/apps/group3/upgrade_assistant.ts @elastic/kibana-core /x-pack/test/accessibility/apps/group3/watcher.ts @elastic/kibana-management #CC# /x-pack/plugins/cross_cluster_replication/ @elastic/kibana-management @@ -2109,6 +2112,7 @@ x-pack/test/api_integration/apis/management/index_management/inference_endpoints x-pack/test_serverless/functional/test_suites/security/config.mki_only.ts @elastic/security-solution @elastic/appex-qa x-pack/test_serverless/functional/test_suites/security/index.mki_only.ts @elastic/security-solution @elastic/appex-qa @elastic/kibana-cloud-security-posture /x-pack/test_serverless/functional/test_suites/security/config.feature_flags.ts @elastic/security-solution @elastic/kibana-cloud-security-posture +/x-pack/test_serverless/functional/test_suites/security/constants.ts @elastic/security-solution /x-pack/test_serverless/api_integration/test_suites/observability/config.feature_flags.ts @elastic/security-solution /x-pack/test_serverless/functional/test_suites/common/spaces/multiple_spaces_enabled.ts @elastic/security-solution /x-pack/test/functional/es_archives/endpoint/ @elastic/security-solution @@ -2242,6 +2246,7 @@ x-pack/test/security_solution_cypress/cypress/tasks/expandable_flyout @elastic/ /x-pack/plugins/security_solution/public/app/home/template_wrapper/timeline @elastic/security-threat-hunting-investigations /x-pack/plugins/security_solution/server/lib/timeline @elastic/security-threat-hunting-investigations +/x-pack/test_serverless/functional/test_suites/security/config.context_awareness.ts @elastic/security-threat-hunting-investigations ## Security Solution Threat Hunting areas - Threat Hunting Explore /x-pack/plugins/security_solution/common/api/tags @elastic/security-threat-hunting-explore diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index d21bd48caf760..e7120dc82fd7d 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -80,7 +80,6 @@ paths-ignore: - x-pack/plugins/fleet/scripts - x-pack/plugins/lists/scripts - x-pack/plugins/lists/server/scripts - - x-pack/plugins/ml/scripts - x-pack/plugins/observability_solution/*/scripts - x-pack/plugins/osquery/scripts - x-pack/plugins/rule_registry/scripts diff --git a/.i18nrc.json b/.i18nrc.json index 12294fb37e5a2..c11b622291838 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -25,7 +25,10 @@ "data": "src/plugins/data", "observabilityAlertDetails": "x-pack/packages/observability/alert_details", "dataViews": "src/plugins/data_views", - "defaultNavigation": "packages/default-nav", + "defaultNavigation": [ + "packages/default-nav", + "src/platform/packages/private/default-nav" + ], "devTools": "src/plugins/dev_tools", "discover": ["src/plugins/discover", "packages/kbn-discover-utils", "packages/kbn-discover-contextual-components"], "savedSearch": "src/plugins/saved_search", diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 3f7481af84f12..e6073f0076059 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-08 +date: 2024-12-10 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 ee6c77672e326..997ee6a63ef41 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-08 +date: 2024-12-10 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 73181a3ed5d69..c4ad90deeffb8 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-08 +date: 2024-12-10 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 b15cfc79bc127..1324a2c42ab89 100644 --- a/api_docs/aiops.devdocs.json +++ b/api_docs/aiops.devdocs.json @@ -23,7 +23,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/aiops/public/shared_lazy_components.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -45,7 +45,7 @@ "text": "ChangePointDetectionAppStateProps" } ], - "path": "x-pack/plugins/aiops/public/shared_lazy_components.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -74,7 +74,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/aiops/public/shared_lazy_components.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -96,7 +96,7 @@ "text": "LogCategorizationAppStateProps" } ], - "path": "x-pack/plugins/aiops/public/shared_lazy_components.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -125,7 +125,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/aiops/public/shared_lazy_components.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -147,7 +147,7 @@ "text": "LogRateAnalysisAppStateProps" } ], - "path": "x-pack/plugins/aiops/public/shared_lazy_components.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -176,7 +176,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/aiops/public/shared_lazy_components.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -198,7 +198,7 @@ "text": "LogRateAnalysisContentWrapperProps" } ], - "path": "x-pack/plugins/aiops/public/shared_lazy_components.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -218,7 +218,7 @@ "description": [ "\nAIOps app context value to be provided via React context." ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -240,7 +240,7 @@ "TelemetryCounter", ">; }" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -262,7 +262,7 @@ "text": "ApplicationStart" } ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -284,7 +284,7 @@ "text": "DataPublicPluginStart" } ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -306,7 +306,7 @@ "text": "ExecutionContextSetup" } ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -331,7 +331,7 @@ "ActiveCursor", "; }" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -363,7 +363,7 @@ }, "; }" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -385,7 +385,7 @@ "text": "HttpSetup" } ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -407,7 +407,7 @@ "text": "NotificationsSetup" } ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -430,7 +430,7 @@ }, "" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -452,7 +452,7 @@ "text": "ThemeServiceSetup" } ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -474,7 +474,7 @@ "text": "IUiSettingsClient" } ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -496,7 +496,7 @@ "text": "UnifiedSearchPublicPluginStart" } ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -519,7 +519,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -542,7 +542,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -564,7 +564,7 @@ "text": "LensPublicStart" } ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -587,7 +587,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -609,7 +609,7 @@ "text": "I18nStart" } ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -651,7 +651,7 @@ }, ">; } | undefined" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -672,7 +672,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -693,7 +693,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -707,7 +707,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -720,7 +720,7 @@ "description": [ "Identifier to indicate the plugin utilizing the component" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false }, @@ -743,7 +743,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, "trackAdoption": false } @@ -759,7 +759,7 @@ "description": [ "\nProps for the ChangePointDetectionAppState component." ], - "path": "x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_root.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -781,7 +781,7 @@ "text": "DataView" } ], - "path": "x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_root.tsx", "deprecated": false, "trackAdoption": false }, @@ -804,7 +804,7 @@ }, " | null" ], - "path": "x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_root.tsx", "deprecated": false, "trackAdoption": false }, @@ -826,7 +826,7 @@ "text": "AiopsAppContextValue" } ], - "path": "x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_root.tsx", "deprecated": false, "trackAdoption": false }, @@ -842,7 +842,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_root.tsx", "deprecated": false, "trackAdoption": false } @@ -858,7 +858,7 @@ "description": [ "\nProps for the LogCategorizationAppState component." ], - "path": "x-pack/plugins/aiops/public/components/log_categorization/log_categorization_app_state.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_app_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -880,7 +880,7 @@ "text": "DataView" } ], - "path": "x-pack/plugins/aiops/public/components/log_categorization/log_categorization_app_state.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_app_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -903,7 +903,7 @@ }, " | null" ], - "path": "x-pack/plugins/aiops/public/components/log_categorization/log_categorization_app_state.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_app_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -925,7 +925,7 @@ "text": "AiopsAppContextValue" } ], - "path": "x-pack/plugins/aiops/public/components/log_categorization/log_categorization_app_state.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_app_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -941,7 +941,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/aiops/public/components/log_categorization/log_categorization_app_state.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_app_state.tsx", "deprecated": false, "trackAdoption": false } @@ -957,7 +957,7 @@ "description": [ "\nProps for the LogRateAnalysisAppState component." ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -979,7 +979,7 @@ "text": "DataView" } ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -1002,7 +1002,7 @@ }, " | null" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -1024,7 +1024,7 @@ "text": "AiopsAppContextValue" } ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -1040,7 +1040,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -1056,7 +1056,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx", "deprecated": false, "trackAdoption": false } @@ -1072,7 +1072,7 @@ "description": [ "\nProps for the LogRateAnalysisContentWrapper component." ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1094,7 +1094,7 @@ "text": "DataView" } ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", "deprecated": false, "trackAdoption": false }, @@ -1116,7 +1116,7 @@ "text": "AiopsAppContextValue" } ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", "deprecated": false, "trackAdoption": false }, @@ -1140,7 +1140,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", "deprecated": false, "trackAdoption": false }, @@ -1156,7 +1156,7 @@ "signature": [ "{ min: moment.Moment; max: moment.Moment; } | undefined" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", "deprecated": false, "trackAdoption": false }, @@ -1173,7 +1173,7 @@ "QueryDslQueryContainer", " | undefined" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", "deprecated": false, "trackAdoption": false }, @@ -1189,7 +1189,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", "deprecated": false, "trackAdoption": false }, @@ -1205,7 +1205,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", "deprecated": false, "trackAdoption": false }, @@ -1229,7 +1229,7 @@ }, ") => void) | undefined" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1251,7 +1251,7 @@ "text": "LogRateAnalysisResultsData" } ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1271,7 +1271,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx", "deprecated": false, "trackAdoption": false } @@ -1287,7 +1287,7 @@ "description": [ "\nInterface for log rate analysis results data." ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1303,7 +1303,7 @@ "signature": [ "\"spike\" | \"dip\"" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx", "deprecated": false, "trackAdoption": false }, @@ -1326,7 +1326,7 @@ }, "[]" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx", "deprecated": false, "trackAdoption": false }, @@ -1349,7 +1349,7 @@ }, "[]" ], - "path": "x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx", + "path": "x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx", "deprecated": false, "trackAdoption": false } @@ -1367,7 +1367,7 @@ "tags": [], "label": "AiopsPluginStart", "description": [], - "path": "x-pack/plugins/aiops/public/types/index.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/types/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1389,7 +1389,7 @@ }, ") => Promise>" ], - "path": "x-pack/plugins/aiops/public/types/index.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/types/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1409,7 +1409,7 @@ "LogCategorizationEmbeddableWrapperProps", ">" ], - "path": "x-pack/plugins/aiops/public/types/index.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/types/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1425,7 +1425,7 @@ "ChangePointDetectionProps", ">" ], - "path": "x-pack/plugins/aiops/public/types/index.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/types/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1474,7 +1474,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/aiops/public/types/index.ts", + "path": "x-pack/platform/plugins/shared/aiops/public/types/index.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -1497,7 +1497,7 @@ "description": [ "\naiops plugin server setup contract" ], - "path": "x-pack/plugins/aiops/server/types.ts", + "path": "x-pack/platform/plugins/shared/aiops/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1513,7 +1513,7 @@ "description": [ "\naiops plugin server start contract" ], - "path": "x-pack/plugins/aiops/server/types.ts", + "path": "x-pack/platform/plugins/shared/aiops/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index a5cadb9af25ee..e6b8e7795ce88 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-08 +date: 2024-12-10 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 3cf6f3f057d70..3ace46ceaf2aa 100644 --- a/api_docs/alerting.devdocs.json +++ b/api_docs/alerting.devdocs.json @@ -110,7 +110,7 @@ "references": [ { "plugin": "ml", - "path": "x-pack/plugins/ml/public/alerting/register_ml_alerts.ts" + "path": "x-pack/platform/plugins/shared/ml/public/alerting/register_ml_alerts.ts" }, { "plugin": "stackAlerts", diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 9558dc77a13f7..ef112becf2f55 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] --- import alertingObj from './alerting.devdocs.json'; diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index f7f749aae8885..e503010b398a5 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-08 +date: 2024-12-10 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 c5aaaa585b48f..14883b4493db7 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apmDataAccess'] --- import apmDataAccessObj from './apm_data_access.devdocs.json'; diff --git a/api_docs/asset_inventory.mdx b/api_docs/asset_inventory.mdx index afed5e1bb072a..819e37b1619c6 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'assetInventory'] --- import assetInventoryObj from './asset_inventory.devdocs.json'; diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index 6cd7348b32ea5..5c291cd78b05b 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] --- import bannersObj from './banners.devdocs.json'; diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index f2866e2af2778..ac5e1f981534b 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github description: API docs for the bfetch plugin -date: 2024-12-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch'] --- import bfetchObj from './bfetch.devdocs.json'; diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index 7d254adef8d54..91afdb4e2bb2d 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] --- import canvasObj from './canvas.devdocs.json'; diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index b25b4a3880531..8499d2f7a715f 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github description: API docs for the cases plugin -date: 2024-12-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] --- import casesObj from './cases.devdocs.json'; diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index 17127d241de67..edee4b592c729 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github description: API docs for the charts plugin -date: 2024-12-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] --- import chartsObj from './charts.devdocs.json'; diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index a22f96691d3fe..7ed607fc34070 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github description: API docs for the cloud plugin -date: 2024-12-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_data_migration.mdx b/api_docs/cloud_data_migration.mdx index 8a2301bccad1f..ee698cda129af 100644 --- a/api_docs/cloud_data_migration.mdx +++ b/api_docs/cloud_data_migration.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDataMigration title: "cloudDataMigration" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDataMigration plugin -date: 2024-12-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDataMigration'] --- import cloudDataMigrationObj from './cloud_data_migration.devdocs.json'; diff --git a/api_docs/cloud_defend.mdx b/api_docs/cloud_defend.mdx index e831994269a70..f34a611a7c225 100644 --- a/api_docs/cloud_defend.mdx +++ b/api_docs/cloud_defend.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDefend title: "cloudDefend" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDefend plugin -date: 2024-12-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDefend'] --- import cloudDefendObj from './cloud_defend.devdocs.json'; diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index 09e84a2d3b7c1..63a2c567ea784 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudSecurityPosture plugin -date: 2024-12-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] --- import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json'; diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 5cd06f2f0477e..72d4a88a1e654 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github description: API docs for the console plugin -date: 2024-12-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] --- import consoleObj from './console.devdocs.json'; diff --git a/api_docs/content_management.mdx b/api_docs/content_management.mdx index ae92cbd502192..8029dbb584f45 100644 --- a/api_docs/content_management.mdx +++ b/api_docs/content_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/contentManagement title: "contentManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the contentManagement plugin -date: 2024-12-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'contentManagement'] --- import contentManagementObj from './content_management.devdocs.json'; diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index aed42d679c101..37e528ee2882a 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index 5091c7c6faad1..abf8aae7443f3 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] --- import customIntegrationsObj from './custom_integrations.devdocs.json'; diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index 08c0aa8c762f9..bca62b080c884 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index db12aa3b81dde..dcae3865b0eff 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-08 +date: 2024-12-10 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 23287ba6c9691..cfb349a3c4ce3 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -11790,31 +11790,31 @@ "references": [ { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx" + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx" + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/top_values.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx" + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx" + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx" + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts" + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts" }, { "plugin": "stackAlerts", diff --git a/api_docs/data.mdx b/api_docs/data.mdx index e6904c7c5de2a..cdf2c82320ff0 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-08 +date: 2024-12-10 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 57ba7e25af2b8..ba1938c7b69d7 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataQuality'] --- import dataQualityObj from './data_quality.devdocs.json'; diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 3cbab1704dd53..0f4e5dde32689 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 609470acbbe3b..5eb53062eff14 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-08 +date: 2024-12-10 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 4cdfc67920b40..6701cddffed8d 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-08 +date: 2024-12-10 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 cc7a051bc69b1..cadeae6860044 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-08 +date: 2024-12-10 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 ef42e057a090e..d11847beba423 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-08 +date: 2024-12-10 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 ba649b6a4718d..7857c22209fa2 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-08 +date: 2024-12-10 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 71fafa3cbdcd7..44f3daa2ba276 100644 --- a/api_docs/data_views.devdocs.json +++ b/api_docs/data_views.devdocs.json @@ -14052,7 +14052,7 @@ }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts" + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts" }, { "plugin": "canvas", @@ -14064,79 +14064,79 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + "path": "x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + "path": "x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + "path": "x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts" + "path": "x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx" + "path": "x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx" + "path": "x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + "path": "x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/rollup.ts" }, { "plugin": "@kbn/ml-data-view-utils", - "path": "x-pack/packages/ml/data_view_utils/actions/data_view_handler.ts" + "path": "x-pack/platform/packages/private/ml/data_view_utils/actions/data_view_handler.ts" }, { "plugin": "enterpriseSearch", @@ -14214,14 +14214,6 @@ "plugin": "timelines", "path": "x-pack/plugins/timelines/server/search_strategy/index_fields/index.ts" }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_data_view_exists.ts" - }, { "plugin": "upgradeAssistant", "path": "x-pack/plugins/upgrade_assistant/public/application/components/es_deprecation_logs/fix_deprecation_logs/external_links.tsx" @@ -14250,10 +14242,6 @@ "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.test.ts" }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" - }, { "plugin": "exploratoryView", "path": "x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/configurations/test_data/sample_attribute.ts" @@ -14288,7 +14276,19 @@ }, { "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + "path": "x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/public/app/hooks/use_data_view_exists.ts" + }, + { + "plugin": "ml", + "path": "x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" }, { "plugin": "dataViewManagement", diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index ace7849ec1462..6515a5af9a5fe 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; diff --git a/api_docs/data_visualizer.devdocs.json b/api_docs/data_visualizer.devdocs.json index 10ecc44843d87..8074ec752d4f6 100644 --- a/api_docs/data_visualizer.devdocs.json +++ b/api_docs/data_visualizer.devdocs.json @@ -11,7 +11,7 @@ "tags": [], "label": "GetAdditionalLinksParams", "description": [], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -22,7 +22,7 @@ "tags": [], "label": "dataViewId", "description": [], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false }, @@ -36,7 +36,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false }, @@ -50,7 +50,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false } @@ -64,7 +64,7 @@ "tags": [], "label": "IndexDataVisualizerViewProps", "description": [], - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -84,7 +84,7 @@ "text": "DataView" } ], - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", "deprecated": false, "trackAdoption": false }, @@ -105,7 +105,7 @@ }, " | null" ], - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", "deprecated": false, "trackAdoption": false }, @@ -119,7 +119,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", "deprecated": false, "trackAdoption": false }, @@ -140,7 +140,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx", "deprecated": false, "trackAdoption": false } @@ -154,7 +154,7 @@ "tags": [], "label": "ResultLink", "description": [], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -165,7 +165,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false }, @@ -179,7 +179,7 @@ "signature": [ "\"index\" | \"file\"" ], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false }, @@ -190,7 +190,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false }, @@ -201,7 +201,7 @@ "tags": [], "label": "icon", "description": [], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false }, @@ -212,7 +212,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false }, @@ -226,7 +226,7 @@ "signature": [ "(params?: any) => Promise" ], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -240,7 +240,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -258,7 +258,7 @@ "signature": [ "(params?: any) => Promise" ], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -272,7 +272,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -290,7 +290,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false } @@ -312,7 +312,7 @@ "DataDriftDetectionAppStateProps", ">" ], - "path": "x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_app_state.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_app_state.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -360,7 +360,7 @@ "Props", ">" ], - "path": "x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -422,7 +422,7 @@ }, "[] | undefined>)[]" ], - "path": "x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -439,7 +439,7 @@ "Props", ">" ], - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx", + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -497,7 +497,7 @@ "FieldStatisticTableEmbeddableProps", " & React.RefAttributes<{}>>; }" ], - "path": "x-pack/plugins/data_visualizer/public/plugin.ts", + "path": "x-pack/platform/plugins/private/data_visualizer/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index 1d865968318df..d25f0a7edcdda 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-08 +date: 2024-12-10 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 a4d28ee81ee74..2ad67db089ee3 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-08 +date: 2024-12-10 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 5005393c40baf..9a20272c7302b 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -17,12 +17,12 @@ 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, fleet, ml, @kbn/ml-data-view-utils, enterpriseSearch, graph, visTypeTimeseries, exploratoryView, stackAlerts, securitySolution, timelines, transform, upgradeAssistant, uptime, ux, maps, dataViewManagement, eventAnnotationListing, inputControlVis, visDefaultEditor, visTypeTimelion, visTypeVega | - | +| | data, @kbn/search-errors, savedObjectsManagement, unifiedSearch, @kbn/unified-field-list, controls, lens, @kbn/lens-embeddable-utils, triggersActionsUi, dataVisualizer, canvas, fleet, ml, @kbn/ml-data-view-utils, enterpriseSearch, graph, visTypeTimeseries, exploratoryView, stackAlerts, securitySolution, timelines, upgradeAssistant, uptime, ux, maps, transform, dataViewManagement, eventAnnotationListing, inputControlVis, visDefaultEditor, visTypeTimelion, visTypeVega | - | | | ml, securitySolution | - | | | actions, savedObjectsTagging, ml, enterpriseSearch | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core, visualizations, aiops, dataVisualizer, ml, dashboardEnhanced, graph, lens, securitySolution, eventAnnotation, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core, embeddable, 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, lens, cases, savedSearch, canvas, fleet, cloudSecurityPosture, ml, graph, lists, maps, visualizations, apmDataAccess, infra, securitySolution, apm, slo, synthetics, uptime, eventAnnotation, links, savedObjectsManagement, @kbn/core-test-helpers-so-type-serializer, @kbn/core-saved-objects-api-server-internal | - | +| | @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, fleet, cloudSecurityPosture, ml, graph, lists, maps, visualizations, apmDataAccess, infra, securitySolution, apm, slo, synthetics, uptime, eventAnnotation, links, savedObjectsManagement, @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 | - | @@ -49,7 +49,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, @kbn/core-saved-objects-browser-mocks, fleet, graph, lists, osquery, securitySolution, alerting | - | | | @kbn/core-saved-objects-common, @kbn/core-saved-objects-server, @kbn/core, @kbn/alerting-types, alerting, actions, savedSearch, canvas, enterpriseSearch, securitySolution, taskManager, @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, savedObjectsTagging, home, canvas, savedObjectsTaggingOss, lists, securitySolution, upgradeAssistant, savedObjectsManagement, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-ui-settings-server-internal | - | -| | @kbn/core-saved-objects-migration-server-internal, dataViews, actions, data, alerting, dashboard, lens, cases, savedSearch, canvas, savedObjectsTagging, graph, lists, maps, visualizations, securitySolution, @kbn/core-test-helpers-so-type-serializer | - | +| | @kbn/core-saved-objects-migration-server-internal, dataViews, actions, data, alerting, dashboard, savedSearch, canvas, lens, cases, savedObjectsTagging, graph, lists, maps, visualizations, securitySolution, @kbn/core-test-helpers-so-type-serializer | - | | | security, securitySolution, cloudLinks, cases | - | | | security, cases, searchPlayground, securitySolution | - | | | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | @@ -66,7 +66,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | securitySolution | - | | | @kbn/monaco, securitySolution | - | | | cloudSecurityPosture, securitySolution | - | -| | alerting, observabilityAIAssistant, fleet, cloudSecurityPosture, entityManager, apm, serverlessSearch, transform, upgradeAssistant, synthetics, security | - | +| | alerting, observabilityAIAssistant, fleet, cloudSecurityPosture, entityManager, apm, serverlessSearch, upgradeAssistant, synthetics, transform, security | - | | | actions, alerting | - | | | 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, canvas, dashboardEnhanced, globalSearchProviders | - | @@ -173,7 +173,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | reporting | - | | | @kbn/reporting-export-types-pdf | - | | | security, aiops, licenseManagement, ml, crossClusterReplication, logstash, painlessLab, searchprofiler, watcher, slo | 8.8.0 | -| | spaces, security, actions, alerting, aiops, remoteClusters, ml, graph, indexLifecycleManagement, osquery, securitySolution, painlessLab, rollup, searchprofiler, snapshotRestore, transform, upgradeAssistant | 8.8.0 | +| | spaces, security, actions, alerting, remoteClusters, ml, graph, indexLifecycleManagement, osquery, securitySolution, painlessLab, rollup, searchprofiler, snapshotRestore, upgradeAssistant, transform, aiops | 8.8.0 | | | fleet, apm, security, securitySolution | 8.8.0 | | | fleet, apm, security, securitySolution | 8.8.0 | | | spaces, @kbn/security-authorization-core, security, alerting, cases, @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 e3e4621101a5d..3f8958aabf462 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -341,7 +341,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [get_esql_with_safe_limit.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts#:~:text=ast), [append_to_query.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-esql-utils/src/utils/append_to_query.ts#:~:text=ast) | - | +| | [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [query_parsing_helpers.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts#:~:text=ast), [get_esql_with_safe_limit.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts#:~:text=ast), [append_to_query.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts#:~:text=ast) | - | @@ -349,7 +349,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [helpers.ts](https://github.com/elastic/kibana/tree/main/packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts#:~:text=quoted) | - | +| | [helpers.ts](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts#:~:text=quoted) | - | @@ -373,7 +373,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [data_view_handler.ts](https://github.com/elastic/kibana/tree/main/x-pack/packages/ml/data_view_utils/actions/data_view_handler.ts#:~:text=title) | - | +| | [data_view_handler.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/packages/private/ml/data_view_utils/actions/data_view_handler.ts#:~:text=title) | - | @@ -506,9 +506,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [plugin.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/aiops/public/plugin.tsx#:~:text=license%24) | 8.8.0 | -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/aiops/server/plugin.ts#:~:text=license%24) | 8.8.0 | -| | [search_utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/aiops/public/application/utils/search_utils.ts#:~:text=SimpleSavedObject), [search_utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/aiops/public/application/utils/search_utils.ts#:~:text=SimpleSavedObject) | - | +| | [plugin.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/aiops/public/plugin.tsx#:~:text=license%24) | 8.8.0 | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/aiops/server/plugin.ts#:~:text=license%24) | 8.8.0 | +| | [search_utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts#:~:text=SimpleSavedObject), [search_utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts#:~:text=SimpleSavedObject) | - | @@ -737,10 +737,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [document_stats.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx#:~:text=fieldFormats), [distinct_values.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx#:~:text=fieldFormats), [top_values.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx#:~:text=fieldFormats), [choropleth_map.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx#:~:text=fieldFormats), [use_data_visualizer_esql_data.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx#:~:text=fieldFormats), [use_data_visualizer_esql_data.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx#:~:text=fieldFormats), [default_value_formatter.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts#:~:text=fieldFormats) | - | -| | [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title) | - | -| | [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=savedObjects) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/common/types/index.ts#:~:text=SimpleSavedObject), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/common/types/index.ts#:~:text=SimpleSavedObject) | - | +| | [document_stats.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx#:~:text=fieldFormats), [distinct_values.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx#:~:text=fieldFormats), [top_values.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/top_values.tsx#:~:text=fieldFormats), [choropleth_map.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx#:~:text=fieldFormats), [use_data_visualizer_esql_data.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx#:~:text=fieldFormats), [use_data_visualizer_esql_data.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx#:~:text=fieldFormats), [default_value_formatter.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts#:~:text=fieldFormats) | - | +| | [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title) | - | +| | [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=savedObjects) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/data_visualizer/common/types/index.ts#:~:text=SimpleSavedObject), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/data_visualizer/common/types/index.ts#:~:text=SimpleSavedObject) | - | @@ -1101,15 +1101,15 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [register_ml_alerts.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/alerting/register_ml_alerts.ts#:~:text=registerNavigation) | - | -| | [job_creator.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts#:~:text=title), [categorization_examples_loader.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts#:~:text=title), [configuration_step_details.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx#:~:text=title), [data_loader.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts#:~:text=title), [use_index_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts#:~:text=title), [use_index_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts#:~:text=title), [use_index_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts#:~:text=title), [use_index_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts#:~:text=title), [configuration_step_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx#:~:text=title), [configuration_step_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx#:~:text=title)+ 9 more | - | -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/plugin.ts#:~:text=license%24) | 8.8.0 | -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/server/plugin.ts#:~:text=license%24) | 8.8.0 | -| | [annotations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/server/routes/annotations.ts#:~:text=authc) | - | -| | [initialization.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/server/saved_objects/initialization/initialization.ts#:~:text=authz), [sync_task.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/server/saved_objects/sync_task.ts#:~:text=authz), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/server/plugin.ts#:~:text=authz), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/server/plugin.ts#:~:text=authz) | - | -| | [kibana.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/types/kibana.ts#:~:text=SimpleSavedObject), [kibana.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/types/kibana.ts#:~:text=SimpleSavedObject) | - | -| | [modules.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/types/modules.ts#:~:text=SavedObjectAttributes), [modules.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/common/types/modules.ts#:~:text=SavedObjectAttributes) | - | -| | [saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/server/saved_objects/saved_objects.ts#:~:text=migrations), [saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/server/saved_objects/saved_objects.ts#:~:text=migrations), [saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/server/saved_objects/saved_objects.ts#:~:text=migrations) | - | +| | [register_ml_alerts.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/alerting/register_ml_alerts.ts#:~:text=registerNavigation) | - | +| | [job_creator.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts#:~:text=title), [categorization_examples_loader.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts#:~:text=title), [configuration_step_details.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx#:~:text=title), [data_loader.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts#:~:text=title), [use_index_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts#:~:text=title), [use_index_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts#:~:text=title), [use_index_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts#:~:text=title), [use_index_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts#:~:text=title), [configuration_step_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx#:~:text=title), [configuration_step_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx#:~:text=title)+ 9 more | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/plugin.ts#:~:text=license%24) | 8.8.0 | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/server/plugin.ts#:~:text=license%24) | 8.8.0 | +| | [annotations.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/server/routes/annotations.ts#:~:text=authc) | - | +| | [initialization.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/initialization.ts#:~:text=authz), [sync_task.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/server/saved_objects/sync_task.ts#:~:text=authz), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/server/plugin.ts#:~:text=authz), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/server/plugin.ts#:~:text=authz) | - | +| | [kibana.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/common/types/kibana.ts#:~:text=SimpleSavedObject), [kibana.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/common/types/kibana.ts#:~:text=SimpleSavedObject) | - | +| | [modules.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/common/types/modules.ts#:~:text=SavedObjectAttributes), [modules.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/common/types/modules.ts#:~:text=SavedObjectAttributes) | - | +| | [saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts#:~:text=migrations), [saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts#:~:text=migrations), [saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts#:~:text=migrations) | - | @@ -1487,11 +1487,11 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [filter_term_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx#:~:text=title), [use_data_view_exists.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/transform/public/app/hooks/use_data_view_exists.ts#:~:text=title), [common.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts#:~:text=title) | - | -| | [license.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/transform/server/services/license.ts#:~:text=license%24) | 8.8.0 | -| | [route_handler_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts#:~:text=authc), [route_handler_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts#:~:text=authc) | - | -| | [mount_management_section.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/transform/public/app/mount_management_section.ts#:~:text=savedObjects) | - | -| | [app_dependencies.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/transform/public/app/app_dependencies.tsx#:~:text=SavedObjectsStart), [app_dependencies.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/transform/public/app/app_dependencies.tsx#:~:text=SavedObjectsStart) | - | +| | [filter_term_form.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx#:~:text=title), [use_data_view_exists.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/transform/public/app/hooks/use_data_view_exists.ts#:~:text=title), [common.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts#:~:text=title) | - | +| | [license.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/transform/server/services/license.ts#:~:text=license%24) | 8.8.0 | +| | [route_handler_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts#:~:text=authc), [route_handler_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts#:~:text=authc) | - | +| | [mount_management_section.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/transform/public/app/mount_management_section.ts#:~:text=savedObjects) | - | +| | [app_dependencies.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx#:~:text=SavedObjectsStart), [app_dependencies.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx#:~:text=SavedObjectsStart) | - | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 4cac449227ff4..9d0be81c71e9a 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -88,8 +88,8 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| ml | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/public/plugin.ts#:~:text=license%24), [plugin.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/aiops/public/plugin.tsx#:~:text=license%24) | 8.8.0 | -| ml | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/ml/server/plugin.ts#:~:text=license%24), [license.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/transform/server/services/license.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/aiops/server/plugin.ts#:~:text=license%24) | 8.8.0 | +| ml | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/public/plugin.ts#:~:text=license%24), [plugin.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/aiops/public/plugin.tsx#:~:text=license%24) | 8.8.0 | +| ml | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/ml/server/plugin.ts#:~:text=license%24), [license.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/transform/server/services/license.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/aiops/server/plugin.ts#:~:text=license%24) | 8.8.0 | diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index a3d2152a9c484..120607e83301d 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] --- import devToolsObj from './dev_tools.devdocs.json'; diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index 2433fb089d56a..65ee06b1e48b5 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-08 +date: 2024-12-10 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 5324c4656a1b4..db1b8f1e5cc3d 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-08 +date: 2024-12-10 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 6dc8e971e6adc..174c8d5113416 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-08 +date: 2024-12-10 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 50b5aee73a8ce..b6eeb24fdb051 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ecsDataQualityDashboard'] --- import ecsDataQualityDashboardObj from './ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/elastic_assistant.mdx b/api_docs/elastic_assistant.mdx index 023faf8657902..6b43f2332caf1 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'elasticAssistant'] --- import elasticAssistantObj from './elastic_assistant.devdocs.json'; diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 49dbd6169352e..322a77db05fd8 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index aa3d5f30bdedc..27b652f7f4eae 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-08 +date: 2024-12-10 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 3b07e09d28037..82b512914871e 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-08 +date: 2024-12-10 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 18ed29a3510a6..f5e294b712406 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-08 +date: 2024-12-10 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 099ae5c27ddfe..4fc0397643c0a 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-08 +date: 2024-12-10 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 d17ab19b080d0..ae6ffb373ccbb 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-08 +date: 2024-12-10 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 d8a1e23530893..c829036ad0276 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/esql.devdocs.json b/api_docs/esql.devdocs.json index f035a2d8d1d8c..4e418dcf36209 100644 --- a/api_docs/esql.devdocs.json +++ b/api_docs/esql.devdocs.json @@ -21,7 +21,7 @@ }, ") => React.JSX.Element" ], - "path": "src/plugins/esql/public/create_editor.tsx", + "path": "src/platform/plugins/shared/esql/public/create_editor.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +41,7 @@ "text": "ESQLEditorProps" } ], - "path": "src/plugins/esql/public/create_editor.tsx", + "path": "src/platform/plugins/shared/esql/public/create_editor.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -59,7 +59,7 @@ "tags": [], "label": "ESQLEditorProps", "description": [], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -75,7 +75,7 @@ "signature": [ "{ esql: string; }" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -99,7 +99,7 @@ }, ") => void" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -119,7 +119,7 @@ "text": "AggregateQuery" } ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -147,7 +147,7 @@ }, " | undefined, abortController?: AbortController | undefined) => Promise" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -168,7 +168,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -183,7 +183,7 @@ "signature": [ "AbortController | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -203,7 +203,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -219,7 +219,7 @@ "signature": [ "Error[] | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -235,7 +235,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -251,7 +251,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -267,7 +267,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -281,7 +281,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -297,7 +297,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -313,7 +313,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -329,7 +329,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -345,7 +345,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -361,7 +361,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -377,7 +377,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -393,7 +393,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -409,7 +409,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -423,7 +423,7 @@ "tags": [], "label": "EsqlPluginStart", "description": [], - "path": "src/plugins/esql/public/types.ts", + "path": "src/platform/plugins/shared/esql/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -453,7 +453,7 @@ }, ">" ], - "path": "src/plugins/esql/public/types.ts", + "path": "src/platform/plugins/shared/esql/public/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/esql.mdx b/api_docs/esql.mdx index d1cdce6bc00b8..b4ff3ce93c735 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esql'] --- import esqlObj from './esql.devdocs.json'; diff --git a/api_docs/esql_data_grid.devdocs.json b/api_docs/esql_data_grid.devdocs.json index 9d9dcfee0671f..b1e92b9a6ac4a 100644 --- a/api_docs/esql_data_grid.devdocs.json +++ b/api_docs/esql_data_grid.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "(props: ESQLDataGridProps) => React.JSX.Element" ], - "path": "src/plugins/esql_datagrid/public/create_datagrid.tsx", + "path": "src/platform/plugins/shared/esql_datagrid/public/create_datagrid.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "ESQLDataGridProps" ], - "path": "src/plugins/esql_datagrid/public/create_datagrid.tsx", + "path": "src/platform/plugins/shared/esql_datagrid/public/create_datagrid.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/esql_data_grid.mdx b/api_docs/esql_data_grid.mdx index 821e5eb6fae67..b5060fdb05182 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-08 +date: 2024-12-10 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 1e23b61d6a601..11a33d66f096f 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-08 +date: 2024-12-10 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 88a3d35bffbce..02d5d22af7bc7 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-08 +date: 2024-12-10 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 f966f9fb0cbf3..9aa079d38af36 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] --- import eventLogObj from './event_log.devdocs.json'; diff --git a/api_docs/exploratory_view.mdx b/api_docs/exploratory_view.mdx index 413668784f761..0747f3abccb98 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'exploratoryView'] --- import exploratoryViewObj from './exploratory_view.devdocs.json'; diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 8ffceabfd0b6b..c73e5e84b358b 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-08 +date: 2024-12-10 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 612245dde9db7..c635b5fe388e0 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-08 +date: 2024-12-10 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 8e898fd91f454..b093aa04f77e4 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 8f3a9862d8270..89335338a43bc 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-08 +date: 2024-12-10 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 335d50e101ad5..2e322f6395838 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 092f3bdac5f1a..d7280c0b2816e 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-08 +date: 2024-12-10 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 ae1443a3b7678..9977283084d0b 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-08 +date: 2024-12-10 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 efb0c27d46fdc..312c988229f07 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 436786d78b2ba..4535d413fc816 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index e04ba6f8b1bfa..7d1ab6f4a9a33 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 21f3c68c8a82b..eff56c07d1a14 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-08 +date: 2024-12-10 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 d95ec50428213..734153b77ee31 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-08 +date: 2024-12-10 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 9e8c4c9bca482..fdf09df0f53f1 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] --- import expressionXYObj from './expression_x_y.devdocs.json'; diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 22d4013b2e2c9..8228e88521717 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; diff --git a/api_docs/features.mdx b/api_docs/features.mdx index 1d8d98ce5d09c..c561174f5ce55 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-08 +date: 2024-12-10 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 58e6abcb07de8..768d75caea360 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-08 +date: 2024-12-10 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 0dac616c652c4..55d0837d9cf5a 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldsMetadata'] --- import fieldsMetadataObj from './fields_metadata.devdocs.json'; diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index 6fc07e4b2b78c..612626066ad89 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-08 +date: 2024-12-10 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 8152bfb10a167..7f4e32c22ca35 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-08 +date: 2024-12-10 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 84a1a71ea9c32..0018dee49f984 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'filesManagement'] --- import filesManagementObj from './files_management.devdocs.json'; diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 512e7404a8309..1c16c88a74b2d 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-08 +date: 2024-12-10 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 d58e44536d400..63bfa4db9f189 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-08 +date: 2024-12-10 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 8aa278b4a1e03..d0591ff26bd29 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-08 +date: 2024-12-10 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 4e79db24d5e09..a873a6e0b36a4 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-08 +date: 2024-12-10 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 fa9f4cd52df5f..b013fcc8c6007 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-08 +date: 2024-12-10 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 907a2d275fd85..23b176f4d0756 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] --- import indexLifecycleManagementObj from './index_lifecycle_management.devdocs.json'; diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 21f093749048e..8b38c273afb1a 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/inference.mdx b/api_docs/inference.mdx index e2b49b5462859..1bdc62e7c2b57 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inference'] --- import inferenceObj from './inference.devdocs.json'; diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index ac70d42adae80..6651f313b1ad9 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-08 +date: 2024-12-10 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 1ce3773d0ef7e..fc223c19a423c 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ingestPipelines'] --- import ingestPipelinesObj from './ingest_pipelines.devdocs.json'; diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index f70fab43a7191..a1cd3a60b30b5 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-08 +date: 2024-12-10 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 0dc55b2c8b63b..3f2edb2b3be01 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-08 +date: 2024-12-10 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 902792800f391..973d5a52acacf 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-08 +date: 2024-12-10 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 756df048bf8d9..e13143d804bad 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-08 +date: 2024-12-10 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 20dd8fa6cd53e..1722696878b63 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-08 +date: 2024-12-10 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 8ad0cbed264b9..1a4ba180f6235 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-08 +date: 2024-12-10 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 ab8fe98d821bf..09a37e7f227dc 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-08 +date: 2024-12-10 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 33ef58ac4cb6e..f4e7011843e6d 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-08 +date: 2024-12-10 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 fc86d646478e3..ba42d7599a535 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ai-assistant-common'] --- import kbnAiAssistantCommonObj from './kbn_ai_assistant_common.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.devdocs.json b/api_docs/kbn_aiops_components.devdocs.json index fc526124b270a..4de5d72951d46 100644 --- a/api_docs/kbn_aiops_components.devdocs.json +++ b/api_docs/kbn_aiops_components.devdocs.json @@ -39,7 +39,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -61,7 +61,7 @@ "text": "DocumentCountChartProps" } ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -84,7 +84,7 @@ "signature": [ "React.FunctionComponent" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [ @@ -136,7 +136,7 @@ "signature": [ "(props: DualBrushProps) => React.JSX.Element" ], - "path": "x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -152,7 +152,7 @@ "signature": [ "DualBrushProps" ], - "path": "x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -175,7 +175,7 @@ "signature": [ "(props: BrushAnnotationProps) => React.JSX.Element" ], - "path": "x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -191,7 +191,7 @@ "signature": [ "BrushAnnotationProps" ], - "path": "x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -214,7 +214,7 @@ "signature": [ "(props: React.PropsWithChildren) => React.JSX.Element" ], - "path": "x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/progress_controls.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -230,7 +230,7 @@ "signature": [ "React.PropsWithChildren" ], - "path": "x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/progress_controls.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -252,7 +252,7 @@ "description": [ "\nBrush settings" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -268,7 +268,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -287,7 +287,7 @@ "RectAnnotationStyle", "> | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -303,7 +303,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false } @@ -319,7 +319,7 @@ "description": [ "\nProps for document count chart" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -367,7 +367,7 @@ }, "; }" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -383,7 +383,7 @@ "signature": [ "BrushSelectionUpdateHandler | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -399,7 +399,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -415,7 +415,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -438,7 +438,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -461,7 +461,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -474,7 +474,7 @@ "description": [ "Start time range for the chart" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -487,7 +487,7 @@ "description": [ "Ending time range for the chart" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -500,7 +500,7 @@ "description": [ "Time interval for the document count buckets" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -513,7 +513,7 @@ "description": [ "Label to name the adjustedChartPointsSplit histogram" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -526,7 +526,7 @@ "description": [ "Whether or not brush has been reset" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -542,7 +542,7 @@ "signature": [ "SetAutoRunAnalysisFn | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -566,7 +566,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -583,7 +583,7 @@ "BarStyleAccessor", " | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -599,7 +599,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -615,7 +615,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -638,7 +638,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -661,7 +661,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -677,7 +677,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -700,7 +700,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false }, @@ -716,7 +716,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "path": "x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index 3da6cbfb4130a..e4559025356e7 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_aiops_log_pattern_analysis.devdocs.json index 1c7cb281a8095..cd69797121188 100644 --- a/api_docs/kbn_aiops_log_pattern_analysis.devdocs.json +++ b/api_docs/kbn_aiops_log_pattern_analysis.devdocs.json @@ -34,7 +34,7 @@ "signature": [ "{ readonly query?: any; readonly intervalMs?: number | undefined; readonly index: string; readonly field: string; readonly from: number; readonly to: number; readonly timeField: string; }" ], - "path": "x-pack/packages/ml/aiops_log_pattern_analysis/schema.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -116,7 +116,7 @@ }, "; }>" ], - "path": "x-pack/packages/ml/aiops_log_pattern_analysis/schema.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/schema.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_aiops_log_pattern_analysis.mdx b/api_docs/kbn_aiops_log_pattern_analysis.mdx index 5e6b76ae6f782..f3a4465f2a03c 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_aiops_log_rate_analysis.devdocs.json index a21725ead2b9a..3641f3fe35847 100644 --- a/api_docs/kbn_aiops_log_rate_analysis.devdocs.json +++ b/api_docs/kbn_aiops_log_rate_analysis.devdocs.json @@ -39,7 +39,7 @@ }, ", baselineBuckets: number, deviationBuckets: number, docCount: number, bgCount: number) => { baselineBucketRate: number; deviationBucketRate: number; }" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -61,7 +61,7 @@ "text": "LogRateAnalysisType" } ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -78,7 +78,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -95,7 +95,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -112,7 +112,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -129,7 +129,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -152,7 +152,7 @@ "signature": [ "(buckets: Record, changePointTs: number) => { startTs: number; endTs: number; }" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_extended_change_point.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_extended_change_point.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -168,7 +168,7 @@ "signature": [ "Record" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_extended_change_point.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_extended_change_point.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -185,7 +185,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_extended_change_point.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_extended_change_point.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -231,7 +231,7 @@ "text": "LogRateAnalysisType" } ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -254,7 +254,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -277,7 +277,7 @@ "text": "WindowParameters" } ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -308,7 +308,7 @@ }, ", baselineBucketRate: number, deviationBucketRate: number) => { message: string; factor?: number | undefined; }" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -330,7 +330,7 @@ "text": "LogRateAnalysisType" } ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -347,7 +347,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -364,7 +364,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -387,7 +387,7 @@ "signature": [ "(timeRangeEarliest: number, timeRangeLatest: number, interval: number) => number[]" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -403,7 +403,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -420,7 +420,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -437,7 +437,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -475,7 +475,7 @@ "text": "WindowParameters" } ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -497,7 +497,7 @@ "text": "WindowParameters" } ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -514,7 +514,7 @@ "signature": [ "number[]" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -552,7 +552,7 @@ "text": "WindowParameters" } ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -574,7 +574,7 @@ "text": "WindowParameters" } ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -604,7 +604,7 @@ "text": "WindowParameters" } ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -620,7 +620,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -637,7 +637,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -654,7 +654,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -671,7 +671,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -688,7 +688,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -734,7 +734,7 @@ "text": "WindowParameters" } ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -757,7 +757,7 @@ "text": "WindowParameters" } ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -774,7 +774,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -791,7 +791,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -808,7 +808,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -832,7 +832,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -854,7 +854,7 @@ "description": [ "\nRepresents the document count statistics for a given time range." ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -870,7 +870,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -886,7 +886,7 @@ "signature": [ "{ [key: string]: number; } | undefined" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -909,7 +909,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -925,7 +925,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -941,7 +941,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -954,7 +954,7 @@ "description": [ "The total document count." ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -970,7 +970,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false } @@ -986,7 +986,7 @@ "description": [ "\nRepresents a change point in document count statistics,\nidentifying a significant change over time." ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -999,7 +999,7 @@ "description": [ "Key is the timestamp of the change point." ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1012,7 +1012,7 @@ "description": [ "The start timestamp of the change point period." ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1025,7 +1025,7 @@ "description": [ "The end timestamp of the change point period." ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1038,7 +1038,7 @@ "description": [ "The type of change point." ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false } @@ -1054,7 +1054,7 @@ "description": [ "\nRepresents the overall document stats." ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1067,7 +1067,7 @@ "description": [ "The probability of sampling." ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1080,7 +1080,7 @@ "description": [ "The total document count." ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1103,7 +1103,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1126,7 +1126,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/types.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts", "deprecated": false, "trackAdoption": false } @@ -1142,7 +1142,7 @@ "description": [ "\nLog rate histogram item" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1155,7 +1155,7 @@ "description": [ "\nTime of bucket" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts", "deprecated": false, "trackAdoption": false }, @@ -1168,7 +1168,7 @@ "description": [ "\nNumber of doc count for that time bucket" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts", "deprecated": false, "trackAdoption": false } @@ -1188,7 +1188,7 @@ "description": [ "\nTime range definition for baseline and deviation to be used by log rate analysis.\n" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/window_parameters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1201,7 +1201,7 @@ "description": [ "Baseline minimum value" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/window_parameters.ts", "deprecated": false, "trackAdoption": false }, @@ -1214,7 +1214,7 @@ "description": [ "Baseline maximum value" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/window_parameters.ts", "deprecated": false, "trackAdoption": false }, @@ -1227,7 +1227,7 @@ "description": [ "Deviation minimum value" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/window_parameters.ts", "deprecated": false, "trackAdoption": false }, @@ -1240,7 +1240,7 @@ "description": [ "Deviation maximum value" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/window_parameters.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/window_parameters.ts", "deprecated": false, "trackAdoption": false } @@ -1262,7 +1262,7 @@ "signature": [ "\"orange\"" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/constants.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1279,7 +1279,7 @@ "signature": [ "\"spike\" | \"dip\"" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1298,7 +1298,7 @@ "signature": [ "{ readonly SPIKE: \"spike\"; readonly DIP: \"dip\"; }" ], - "path": "x-pack/packages/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts", + "path": "x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_aiops_log_rate_analysis.mdx b/api_docs/kbn_aiops_log_rate_analysis.mdx index 951c96c15bcee..7a17dac1060bc 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-08 +date: 2024-12-10 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 be6a7cc61a83e..0f3fbae34a79b 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-08 +date: 2024-12-10 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 57ecde56c8938..a186f4a576fae 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-08 +date: 2024-12-10 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 57dda7ba07f6c..cb3b8816f8a49 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-08 +date: 2024-12-10 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 fa2d5bb75c49c..92ecf2e3507c0 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-08 +date: 2024-12-10 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 4d71b1a977373..84733e8b9c25f 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-08 +date: 2024-12-10 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 a8a0000cc5f32..c97880560776c 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_alerts_ui_shared.mdx index 43d585279d0e5..736438c8c985b 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-08 +date: 2024-12-10 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 6914c6b49a4c2..f303e5da39e0a 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-08 +date: 2024-12-10 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 b44f97f228131..c60e928a8b72a 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-08 +date: 2024-12-10 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 964e085cb4a89..5263e6c4b593c 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-08 +date: 2024-12-10 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 6f5b62298e061..30dcd84e6b1be 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-08 +date: 2024-12-10 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 8a7a87f46c90d..8459cbb3a487d 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_apm_synthtrace_client.mdx index 81790c677d89a..f8ea0e05eec1b 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-08 +date: 2024-12-10 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 72f12a223efc9..361888d87985c 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-08 +date: 2024-12-10 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 8f31856dce8e4..c24f24b655be2 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-08 +date: 2024-12-10 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 182ed64cf7695..3a4e80771680f 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-08 +date: 2024-12-10 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 94e6512a04311..de53c7e0ab5ac 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_bfetch_error.mdx b/api_docs/kbn_bfetch_error.mdx index d3f091d16d1d9..bfb2cb98b9771 100644 --- a/api_docs/kbn_bfetch_error.mdx +++ b/api_docs/kbn_bfetch_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-bfetch-error title: "@kbn/bfetch-error" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/bfetch-error plugin -date: 2024-12-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/bfetch-error'] --- import kbnBfetchErrorObj from './kbn_bfetch_error.devdocs.json'; diff --git a/api_docs/kbn_calculate_auto.mdx b/api_docs/kbn_calculate_auto.mdx index a42edf9b0abb0..5d60df594b8f6 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-08 +date: 2024-12-10 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 a5153f65241d9..aaea3f4b78ac1 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-08 +date: 2024-12-10 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 aede1dbc18f6c..9d3b9443409d6 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-08 +date: 2024-12-10 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 e42d7c344160a..4cb2f4c237720 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-08 +date: 2024-12-10 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 2211f95dee3ef..7d00616784a6d 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-08 +date: 2024-12-10 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 3e875c321cd02..d9163287fa9c3 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-08 +date: 2024-12-10 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 5ec805e003502..1731b12caba48 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index 1b03cf337f06f..207061dbb6b12 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-08 +date: 2024-12-10 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 9256e83acc540..05bf5103fe6d7 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-08 +date: 2024-12-10 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 8967d6e5b55ce..3cd2545713d53 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-08 +date: 2024-12-10 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 7599db76101f9..ca530b7a61383 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-08 +date: 2024-12-10 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 f956f050f554e..cf5bcab952a02 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-08 +date: 2024-12-10 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 a3d4384f8d301..229bbd63114a0 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_cloud_security_posture_graph.mdx index 73d220f48f7ed..84e189f3d758a 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cloud-security-posture-graph'] --- import kbnCloudSecurityPostureGraphObj from './kbn_cloud_security_posture_graph.devdocs.json'; diff --git a/api_docs/kbn_code_editor.mdx b/api_docs/kbn_code_editor.mdx index 12b3f77259df9..468b5f6efd416 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-08 +date: 2024-12-10 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 bfcf7b50dd61c..8d330b5352d7f 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_code_owners.mdx index b234bd6f61604..86b94b9825f56 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-owners'] --- import kbnCodeOwnersObj from './kbn_code_owners.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index 3ef117dfce4c1..1495e93f55355 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-08 +date: 2024-12-10 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 0a79de6c65a01..4495a9d666e32 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-08 +date: 2024-12-10 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 52de739d7398b..52dc8a5302807 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-08 +date: 2024-12-10 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 233a3d1de9a0f..8d6f34dec6a17 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-08 +date: 2024-12-10 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 7cffaae059519..1e141bcb1989d 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-08 +date: 2024-12-10 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 071d01245f7d4..f27aed576d940 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-08 +date: 2024-12-10 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 44e2e8873f2e6..4c87ff91d8cdb 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-08 +date: 2024-12-10 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 dd8e4ca42e633..b520a79a5bd4f 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-08 +date: 2024-12-10 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 308cf3dc209e9..6c4acde0a5d14 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-08 +date: 2024-12-10 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 a62866086e2fd..3aedb8d008ab7 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-08 +date: 2024-12-10 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 b5dbe73a5b68c..8414c4c621aa8 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-08 +date: 2024-12-10 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 15f61526fcc01..381897e6a3e5c 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-08 +date: 2024-12-10 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 f94dea39e8d47..dd1dc03266130 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-08 +date: 2024-12-10 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 9f4fccb71c9cd..ed02b594ff00a 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-08 +date: 2024-12-10 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 650281072fb02..2b422b7c4fe14 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-08 +date: 2024-12-10 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 a264ab81d8ce2..bc0eace880eea 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_analytics_browser.mdx index fa0259a16259c..5268cf635993e 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index 28f30bdf43038..a5006de5b1484 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] --- import kbnCoreAnalyticsBrowserInternalObj from './kbn_core_analytics_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index 1f7cdcef1b03e..6ccf946f3472d 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_analytics_server.mdx index 2983ea59ae5c4..8fd7a6c7db4f6 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index a4ddef2e49bf9..f32edcf1c90f0 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index 0fc85585b3a30..e13bfd11f70d8 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_application_browser.mdx index fae73a4baf36f..7a220a921f5c0 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_application_browser_internal.mdx index 9519c0cb6117f..ef5aed04efdee 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-internal'] --- import kbnCoreApplicationBrowserInternalObj from './kbn_core_application_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_mocks.mdx b/api_docs/kbn_core_application_browser_mocks.mdx index f766af22d62ba..5992dbbfd4286 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_application_common.mdx index 4a54f62a22f5b..0f05b5dba4f7d 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_apps_browser_internal.mdx index 057c060087c7f..0a92b458e618a 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-08 +date: 2024-12-10 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 fae83adf4b13f..1829d5574b6ff 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_apps_server_internal.mdx index a2bc06c0c4e55..1c52009f749fb 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-server-internal'] --- import kbnCoreAppsServerInternalObj from './kbn_core_apps_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index f9fab55935a01..0c94ffc318014 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_base_common.mdx index 8a47fa9c83319..1bf883e34cf34 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-08 +date: 2024-12-10 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 9c94b566511c1..54dca2606eecd 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-08 +date: 2024-12-10 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 f2e897e07ac98..b62bf102300c2 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-08 +date: 2024-12-10 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 d77d324b0f083..a4778701fe075 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-08 +date: 2024-12-10 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 01b6220b4de15..0bb412893d351 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-08 +date: 2024-12-10 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 3fe0adf3ff78d..6bafdc9098db7 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-08 +date: 2024-12-10 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 b9018c3aaeb50..f94a07a92fa02 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-08 +date: 2024-12-10 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 d4a707c96cdb1..a3ce26754740d 100644 --- a/api_docs/kbn_core_chrome_browser.devdocs.json +++ b/api_docs/kbn_core_chrome_browser.devdocs.json @@ -3765,7 +3765,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\" | \"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\" | \"searchInferenceEndpoints\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"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\" | \"inventory\" | \"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\" | \"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\" | \"inventory\" | \"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\"" ], "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 6efdc355ca882..3ff5c647421b5 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-08 +date: 2024-12-10 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 116472e89de95..facf6c49d14a9 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-08 +date: 2024-12-10 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 65b5548ed3639..456531968563b 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-08 +date: 2024-12-10 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 bc17a1c252a29..ca9eb8edba744 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-08 +date: 2024-12-10 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 6485bd1ea0559..8f9889ca56aef 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-08 +date: 2024-12-10 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 a9a546bad8002..3e647c5acecdc 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-08 +date: 2024-12-10 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 0439e34279245..425fa315c24b8 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-08 +date: 2024-12-10 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 934883712767f..3160fcad89990 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-08 +date: 2024-12-10 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 72614ce2cbb7c..b131ab29af775 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-08 +date: 2024-12-10 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 1a1ea0f0fc868..08d626b5426e5 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-08 +date: 2024-12-10 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 3920a7170c85e..38a020f2e6b36 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-08 +date: 2024-12-10 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 549c7b4966163..c7e94ae340b18 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-08 +date: 2024-12-10 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 cfc091ece2767..6c719b4ab17db 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-08 +date: 2024-12-10 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 99783d3aad9c0..25eb627f3a029 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-08 +date: 2024-12-10 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 8cd6554fd14e6..5fb5a51b22258 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-08 +date: 2024-12-10 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 4847a2e2507f7..5e5ab6f149601 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-08 +date: 2024-12-10 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 010022c80f186..88dc4dfb3126d 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-08 +date: 2024-12-10 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 7c1581d88f1a7..e519eaee2c944 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-08 +date: 2024-12-10 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 8e528e6c16938..56ed022113504 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-08 +date: 2024-12-10 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 aa9960cfad5c3..bed1728d3ef7d 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-08 +date: 2024-12-10 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 8ae705daf613a..7a57afe9bb727 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-08 +date: 2024-12-10 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 51da5d653fc71..b772e4bf03bea 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-08 +date: 2024-12-10 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 1523181e04d6c..0e2889f354f7f 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-08 +date: 2024-12-10 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 9876063969d20..f800236689dab 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-08 +date: 2024-12-10 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 3eebdfc162514..dac12bb55fb74 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-08 +date: 2024-12-10 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 cb36059ec3810..44695a10fcafc 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-08 +date: 2024-12-10 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 c078e0cbde2b9..92926382d0de3 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-08 +date: 2024-12-10 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 20f6b3fa40b9f..4a9c088e1695b 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-08 +date: 2024-12-10 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 b7f61f11521e8..ba036780ab010 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-08 +date: 2024-12-10 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 e2e4ae686784c..71955a5f6319e 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-08 +date: 2024-12-10 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 b4223fdee29b8..819a5924cc4ed 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-08 +date: 2024-12-10 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 cf9c6463bf38a..163e3cd854d19 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-08 +date: 2024-12-10 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 09d40796c7a17..7c02cf9672d79 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-08 +date: 2024-12-10 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 847d7c47cdbf4..b117a9535574c 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-08 +date: 2024-12-10 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 72404d5c109ad..5c3d77b99ed28 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-08 +date: 2024-12-10 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 f7a02ed0b9cf6..d1515de746e4d 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-08 +date: 2024-12-10 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 e8949d453ae8f..db642ff24ab84 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-08 +date: 2024-12-10 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 0b691e5b2ab80..ddc168e318469 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-08 +date: 2024-12-10 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 b9139efc378f7..67cd7542de7e7 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-08 +date: 2024-12-10 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 d2a5970ae04ca..3174685b34dcc 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-08 +date: 2024-12-10 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 3dec914a81a38..beda8b77721d1 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-08 +date: 2024-12-10 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 3df34cfbf0a29..2b4bfb233f54e 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-08 +date: 2024-12-10 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 2de19468613e4..d8b3e2cf5cb90 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-08 +date: 2024-12-10 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 126d5071aff97..376b09de8c7e0 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-08 +date: 2024-12-10 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 a67da50b44b33..dc43923bfe5a1 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-08 +date: 2024-12-10 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 5707533b948c6..4a67f90d582ea 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-08 +date: 2024-12-10 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 c0db0e1d2d8df..46720ed3b6b03 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-08 +date: 2024-12-10 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 7218abc08e8bb..3c81379f64f70 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-08 +date: 2024-12-10 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 b19701593644d..a8b1b23e8fe00 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-08 +date: 2024-12-10 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 233e27d3614be..d9fc15578ca96 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-08 +date: 2024-12-10 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 c1c95f5e82119..1f6439187e6b7 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-08 +date: 2024-12-10 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 7d0d621f5eb37..6e6c372256735 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-08 +date: 2024-12-10 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 65c921a2ad9ff..3d50d993f4a9d 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-08 +date: 2024-12-10 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 d66a406219449..e2dbfc0121b19 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-08 +date: 2024-12-10 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 293cae2d49b91..8c6fcf6c11a15 100644 --- a/api_docs/kbn_core_http_server.devdocs.json +++ b/api_docs/kbn_core_http_server.devdocs.json @@ -4025,6 +4025,10 @@ "plugin": "ruleRegistry", "path": "x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.ts" }, + { + "plugin": "inference", + "path": "x-pack/plugins/inference/server/routes/connectors.ts" + }, { "plugin": "assetInventory", "path": "x-pack/plugins/asset_inventory/server/routes/index.ts" @@ -4189,10 +4193,6 @@ "plugin": "triggersActionsUi", "path": "x-pack/plugins/triggers_actions_ui/server/routes/config.ts" }, - { - "plugin": "inference", - "path": "x-pack/plugins/inference/server/routes/connectors.ts" - }, { "plugin": "productDocBase", "path": "x-pack/plugins/ai_infra/product_doc_base/server/routes/installation.ts" @@ -4885,6 +4885,10 @@ "plugin": "snapshotRestore", "path": "x-pack/plugins/snapshot_restore/server/routes/api/policy.ts" }, + { + "plugin": "snapshotRestore", + "path": "x-pack/plugins/snapshot_restore/server/routes/api/policy.ts" + }, { "plugin": "stackConnectors", "path": "x-pack/plugins/stack_connectors/server/routes/get_well_known_email_service.ts" @@ -6747,6 +6751,14 @@ "plugin": "ruleRegistry", "path": "x-pack/plugins/rule_registry/server/routes/get_alert_summary.ts" }, + { + "plugin": "inference", + "path": "x-pack/plugins/inference/server/routes/chat_complete.ts" + }, + { + "plugin": "inference", + "path": "x-pack/plugins/inference/server/routes/chat_complete.ts" + }, { "plugin": "savedObjectsTagging", "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/create_tag.ts" @@ -6879,14 +6891,6 @@ "plugin": "triggersActionsUi", "path": "x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts" }, - { - "plugin": "inference", - "path": "x-pack/plugins/inference/server/routes/chat_complete.ts" - }, - { - "plugin": "inference", - "path": "x-pack/plugins/inference/server/routes/chat_complete.ts" - }, { "plugin": "productDocBase", "path": "x-pack/plugins/ai_infra/product_doc_base/server/routes/installation.ts" @@ -15457,10 +15461,6 @@ "plugin": "dataUsage", "path": "x-pack/plugins/data_usage/server/routes/internal/data_streams.ts" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/server/routes.ts" - }, { "plugin": "ecsDataQualityDashboard", "path": "x-pack/plugins/ecs_data_quality_dashboard/server/routes/get_index_mappings.ts" @@ -15483,243 +15483,243 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/notifications.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/notifications.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/notifications.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/notifications.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/calendars.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/calendars.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/calendars.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/calendars.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/datafeeds.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/datafeeds.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/datafeeds.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/datafeeds.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/datafeeds.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/modules.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/modules.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/modules.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/modules.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/modules.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/modules.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/modules.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/modules.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/filters.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/filters.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/filters.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/filters.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/filters.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/filters.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_audit_messages.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_audit_messages.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_audit_messages.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_audit_messages.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/results_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/results_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/model_management.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/model_management.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/model_management.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/model_management.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/system.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/system.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/system.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/system.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/system.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/system.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/management.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/management.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/inference_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/inference_models.ts" }, { "plugin": "elasticAssistant", @@ -16137,6 +16137,10 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/resources/get.ts" }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/get_prebuilt_rules.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/endpoint/routes/metadata/index.ts" @@ -16202,44 +16206,48 @@ "path": "x-pack/plugins/session_view/server/routes/get_total_io_bytes_route.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/audit_messages/register_route.ts" + "plugin": "synthetics", + "path": "x-pack/plugins/observability_solution/synthetics/server/server.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms_nodes/register_route.ts" + "plugin": "uptime", + "path": "x-pack/plugins/observability_solution/uptime/server/legacy_uptime/uptime_server.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms_all/register_route.ts" + "plugin": "dataUsage", + "path": "x-pack/plugins/data_usage/server/routes/internal/data_streams.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms_single/register_route.ts" + "plugin": "dataUsage", + "path": "x-pack/plugins/data_usage/server/routes/internal/data_streams.test.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/platform/plugins/private/data_visualizer/server/routes.ts" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms_stats_all/register_route.ts" + "path": "x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/register_route.ts" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms_stats_single/register_route.ts" + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/register_route.ts" }, { - "plugin": "synthetics", - "path": "x-pack/plugins/observability_solution/synthetics/server/server.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_all/register_route.ts" }, { - "plugin": "uptime", - "path": "x-pack/plugins/observability_solution/uptime/server/legacy_uptime/uptime_server.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_single/register_route.ts" }, { - "plugin": "dataUsage", - "path": "x-pack/plugins/data_usage/server/routes/internal/data_streams.test.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_all/register_route.ts" }, { - "plugin": "dataUsage", - "path": "x-pack/plugins/data_usage/server/routes/internal/data_streams.test.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/register_route.ts" }, { "plugin": "@kbn/core-http-router-server-internal", @@ -16538,47 +16546,47 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/annotations.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/annotations.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/calendars.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/calendars.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/calendars.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/calendars.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/datafeeds.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/filters.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/filters.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/filters.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/filters.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_audit_messages.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_audit_messages.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/inference_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/inference_models.ts" }, { "plugin": "elasticAssistant", @@ -16668,10 +16676,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/retry.ts" }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms_create/register_route.ts" - }, { "plugin": "synthetics", "path": "x-pack/plugins/observability_solution/synthetics/server/server.ts" @@ -16684,6 +16688,10 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/bulk_update_rules/route.ts" }, + { + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/register_route.ts" + }, { "plugin": "@kbn/core-http-router-server-internal", "path": "packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_router.ts" @@ -16907,18 +16915,6 @@ "plugin": "@kbn/core-http-router-server-mocks", "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" }, - { - "plugin": "aiops", - "path": "x-pack/plugins/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts" - }, - { - "plugin": "aiops", - "path": "x-pack/plugins/aiops/server/routes/log_rate_analysis/define_route.ts" - }, - { - "plugin": "aiops", - "path": "x-pack/plugins/aiops/server/routes/categorization_field_validation/define_route.ts" - }, { "plugin": "canvas", "path": "x-pack/plugins/canvas/server/routes/custom_elements/create.ts" @@ -16967,14 +16963,6 @@ "plugin": "dataUsage", "path": "x-pack/plugins/data_usage/server/routes/internal/usage_metrics.ts" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/server/routes.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/server/routes.ts" - }, { "plugin": "ecsDataQualityDashboard", "path": "x-pack/plugins/ecs_data_quality_dashboard/server/routes/get_unallowed_field_values.ts" @@ -16985,299 +16973,299 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/annotations.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/annotations.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/datafeeds.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/datafeeds.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/datafeeds.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/modules.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/modules.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_visualizer.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_visualizer.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/fields_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/fields_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/fields_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/fields_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_validation.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_validation.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_validation.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_validation.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_validation.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_validation.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_validation.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_validation.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_validation.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/job_validation.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/results_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/results_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/results_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/results_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/results_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/results_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/results_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/results_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/results_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/results_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/results_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/results_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/results_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/results_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/results_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/results_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/results_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/results_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/results_service.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/results_service.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/system.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/system.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/system.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/system.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/system.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/system.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/system.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/system.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/alerting.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/alerting.ts" }, { "plugin": "elasticAssistant", @@ -17521,35 +17509,35 @@ }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/perform_rule_upgrade/perform_rule_upgrade_route.ts" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/bulk_actions/route.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/bootstrap_prebuilt_rules/bootstrap_prebuilt_rules.ts" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/create_rule/route.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/api/create_legacy_notification/route.ts" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/export_rules/route.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/bulk_actions/route.ts" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/import_rules/route.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/create_rule/route.ts" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/coverage_overview/route.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/export_rules/route.ts" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/perform_rule_upgrade/perform_rule_upgrade_route.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/import_rules/route.ts" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/bootstrap_prebuilt_rules/bootstrap_prebuilt_rules.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/coverage_overview/route.ts" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions_legacy/api/create_legacy_notification/route.ts" }, { "plugin": "securitySolution", @@ -17748,60 +17736,80 @@ "path": "x-pack/plugins/security_solution/server/endpoint/routes/protection_updates_note/index.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/field_histograms/register_route.ts" + "plugin": "synthetics", + "path": "x-pack/plugins/observability_solution/synthetics/server/server.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms_update/register_route.ts" + "plugin": "dataUsage", + "path": "x-pack/plugins/data_usage/server/routes/internal/usage_metrics.test.ts" + }, + { + "plugin": "dataUsage", + "path": "x-pack/plugins/data_usage/server/routes/internal/usage_metrics.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/bulk_create_rules/route.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/bulk_delete_rules/route.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/platform/plugins/private/data_visualizer/server/routes.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/platform/plugins/private/data_visualizer/server/routes.ts" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/reauthorize_transforms/register_route.ts" + "path": "x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/register_route.ts" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/reset_transforms/register_route.ts" + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_update/register_route.ts" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms_preview/register_route.ts" + "path": "x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/register_route.ts" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/start_transforms/register_route.ts" + "path": "x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/register_route.ts" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/stop_transforms/register_route.ts" + "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_preview/register_route.ts" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/delete_transforms/register_route.ts" + "path": "x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/register_route.ts" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/schedule_now_transforms/register_route.ts" + "path": "x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/register_route.ts" }, { - "plugin": "synthetics", - "path": "x-pack/plugins/observability_solution/synthetics/server/server.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/register_route.ts" }, { - "plugin": "dataUsage", - "path": "x-pack/plugins/data_usage/server/routes/internal/usage_metrics.test.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/register_route.ts" }, { - "plugin": "dataUsage", - "path": "x-pack/plugins/data_usage/server/routes/internal/usage_metrics.test.ts" + "plugin": "aiops", + "path": "x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/bulk_create_rules/route.ts" + "plugin": "aiops", + "path": "x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/define_route.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/bulk_delete_rules/route.ts" + "plugin": "aiops", + "path": "x-pack/platform/plugins/shared/aiops/server/routes/categorization_field_validation/define_route.ts" }, { "plugin": "dataViewFieldEditor", @@ -18175,39 +18183,39 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/trained_models.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/annotations.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/annotations.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/calendars.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/calendars.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/datafeeds.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/data_frame_analytics.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/filters.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/filters.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts" }, { "plugin": "elasticAssistant", diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index df48f5df7d5c4..b1acc091b418b 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-08 +date: 2024-12-10 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 32afb0831307c..2334b6a7f8198 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-08 +date: 2024-12-10 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 9969b9110ccfe..b9b3aba6760dd 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-08 +date: 2024-12-10 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 52445c465116b..351ec41bd0da1 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-08 +date: 2024-12-10 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 5ba2f4dcbe701..000c47c06f11e 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-08 +date: 2024-12-10 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 da3cd9e2510c2..f51782ce75aa5 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-08 +date: 2024-12-10 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 44235a76d20b9..94ac5fc27c3c8 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-08 +date: 2024-12-10 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 dbfb008f15edf..f479d00514093 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-08 +date: 2024-12-10 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 302d26b9bc23c..2f4b11a249567 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-08 +date: 2024-12-10 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 4c941bb38f098..8bddc5cb232c4 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-08 +date: 2024-12-10 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 af7e9720c04f4..b2b12dd060495 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-08 +date: 2024-12-10 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 f96ea419b3e6c..8f05f4294eaf9 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-08 +date: 2024-12-10 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 745022a2696c4..fc4130b7baa12 100644 --- a/api_docs/kbn_core_lifecycle_browser.devdocs.json +++ b/api_docs/kbn_core_lifecycle_browser.devdocs.json @@ -627,7 +627,7 @@ }, { "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/mount_management_section.ts" + "path": "x-pack/platform/plugins/private/transform/public/app/mount_management_section.ts" }, { "plugin": "discover", @@ -647,7 +647,7 @@ }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" } ] }, diff --git a/api_docs/kbn_core_lifecycle_browser.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index 9c552cc9e76bf..98465eeca9168 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_lifecycle_browser_mocks.mdx index d76fcd167591f..68530f37b0796 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-08 +date: 2024-12-10 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 04ab948c0ab81..0de8193218662 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_lifecycle_server_mocks.mdx index eb2f95e273763..766bbc64b06f9 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-08 +date: 2024-12-10 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 a567d7a508e54..7291faa25100f 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-08 +date: 2024-12-10 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 291caf3a7db02..81572a65f7952 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-08 +date: 2024-12-10 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 8db7d7fce6783..0f323c502f4b0 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-08 +date: 2024-12-10 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 90fdc04d6aa78..b76221057d868 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-08 +date: 2024-12-10 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 2c0ee822324ef..2b08e85635d85 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-08 +date: 2024-12-10 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 ed2594af9443f..b96515f47e56e 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-08 +date: 2024-12-10 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 7c584bc43137f..e2eac2c41f700 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-08 +date: 2024-12-10 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 806eabf78fcac..1a5a185d7207d 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-08 +date: 2024-12-10 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 1b04fd7229ebb..fc8307aa40291 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-08 +date: 2024-12-10 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 3268eaa4024b0..3e4acefdb49a8 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-08 +date: 2024-12-10 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 c55f0aa811a5f..2b37f619035cd 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-08 +date: 2024-12-10 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 d2c01f535de63..21b1476a1cd5c 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-08 +date: 2024-12-10 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 6eaa01070f17a..16471f6082d2a 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-08 +date: 2024-12-10 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 3f5d3b48718bb..b8348d5b4e0d0 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-08 +date: 2024-12-10 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 7f834ad28713e..99a19348d6f6e 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-08 +date: 2024-12-10 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 065e5a3a3c5af..a1f82fd6f4204 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-08 +date: 2024-12-10 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 93a6a4cda29bd..498781a110368 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-08 +date: 2024-12-10 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 53515044e8cef..e61fa73f779fd 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-08 +date: 2024-12-10 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 9e1c979a1e8e5..fb97edb750679 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-08 +date: 2024-12-10 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 a9a577ca3cc7b..998ea01939498 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-08 +date: 2024-12-10 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 325503dfb772b..9006f61580752 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-08 +date: 2024-12-10 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 cd276a67e2ed9..26c6cca6859d1 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-08 +date: 2024-12-10 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 bd1f575c691b9..6773f689157a5 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-08 +date: 2024-12-10 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 df1119f18907f..59b5cd14f66ff 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_plugins_server.mdx index bc87511b3db47..00d2daf5e7e29 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-08 +date: 2024-12-10 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 a20bb6d336d3f..087e03ad8fec0 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-08 +date: 2024-12-10 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 c6b8ee5f5a879..05dc9cc0932c6 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-08 +date: 2024-12-10 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 aa61ca85b1390..6278e07552b72 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-08 +date: 2024-12-10 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 ba17249c773db..72720bbe02cfc 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-08 +date: 2024-12-10 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 33cd854e21a2a..014a20a1d146f 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-08 +date: 2024-12-10 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 d8cf2c4305e8f..65ad02a75a9df 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-08 +date: 2024-12-10 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 76aca27d0e143..bfae09edfb668 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-08 +date: 2024-12-10 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 3553dcaf35dda..6d45673e4888e 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-08 +date: 2024-12-10 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 99e9141acff1b..6c099d5f78424 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_browser.devdocs.json @@ -2781,27 +2781,27 @@ }, { "plugin": "aiops", - "path": "x-pack/plugins/aiops/public/application/utils/search_utils.ts" + "path": "x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts" }, { "plugin": "aiops", - "path": "x-pack/plugins/aiops/public/application/utils/search_utils.ts" + "path": "x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/common/types/index.ts" + "path": "x-pack/platform/plugins/private/data_visualizer/common/types/index.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/common/types/index.ts" + "path": "x-pack/platform/plugins/private/data_visualizer/common/types/index.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/common/types/kibana.ts" + "path": "x-pack/platform/plugins/shared/ml/common/types/kibana.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/common/types/kibana.ts" + "path": "x-pack/platform/plugins/shared/ml/common/types/kibana.ts" }, { "plugin": "dashboardEnhanced", diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index 7714dbc7623e6..6c9bcdd0c2ae3 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index 78738fb06725f..0203fbac2f876 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-08 +date: 2024-12-10 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 f9a38a873a689..98d41a1e3380d 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-08 +date: 2024-12-10 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 c2e6d6ed9d52e..8557124bdcda4 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-08 +date: 2024-12-10 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 74f78523a2beb..1a71c86b70763 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-08 +date: 2024-12-10 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 f44ecda0e4b3b..f625e14052421 100644 --- a/api_docs/kbn_core_saved_objects_browser.devdocs.json +++ b/api_docs/kbn_core_saved_objects_browser.devdocs.json @@ -63,11 +63,11 @@ }, { "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/app_dependencies.tsx" + "path": "x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/app_dependencies.tsx" + "path": "x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx" }, { "plugin": "@kbn/core", diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index 3c4fe15f2663c..00436cf886dbf 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_saved_objects_browser_internal.mdx index 2d7778119dede..67e0027d173cf 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-08 +date: 2024-12-10 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 f82d2044d580e..185c5151a73dc 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-08 +date: 2024-12-10 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 18aab13982006..27c7f50f6423b 100644 --- a/api_docs/kbn_core_saved_objects_common.devdocs.json +++ b/api_docs/kbn_core_saved_objects_common.devdocs.json @@ -1701,11 +1701,11 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/common/types/modules.ts" + "path": "x-pack/platform/plugins/shared/ml/common/types/modules.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/common/types/modules.ts" + "path": "x-pack/platform/plugins/shared/ml/common/types/modules.ts" } ], "initialIsOpen": false diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index c91e5768f0239..8a856f1f061b0 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-08 +date: 2024-12-10 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 d1322a2f90992..a6e4abed4ba57 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-08 +date: 2024-12-10 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 ef60bcb741187..5e5163d7f8191 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-08 +date: 2024-12-10 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 662fd38d2f002..68cd1c18dca8e 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-08 +date: 2024-12-10 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 9693720910dc7..4372cddba9070 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-08 +date: 2024-12-10 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 1937cfde7ca9e..144ba6e5eaad2 100644 --- a/api_docs/kbn_core_saved_objects_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_server.devdocs.json @@ -10671,6 +10671,22 @@ "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" + }, { "plugin": "lens", "path": "x-pack/plugins/lens/server/saved_objects.ts" @@ -10695,22 +10711,6 @@ "plugin": "cases", "path": "x-pack/plugins/cases/server/saved_object_types/connector_mappings.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" - }, { "plugin": "fleet", "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" @@ -10737,15 +10737,15 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/saved_objects/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/saved_objects/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/saved_objects/saved_objects.ts" + "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" }, { "plugin": "graph", @@ -11502,6 +11502,18 @@ "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" + }, { "plugin": "lens", "path": "x-pack/plugins/lens/server/saved_objects.ts" @@ -11526,18 +11538,6 @@ "plugin": "cases", "path": "x-pack/plugins/cases/server/saved_object_types/connector_mappings.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": "savedObjectsTagging", "path": "x-pack/plugins/saved_objects_tagging/server/saved_objects/tag.ts" diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index 2d8324dcf9366..6bf2d1e33f8d7 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-08 +date: 2024-12-10 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 135a8b6df453f..739ca5468b704 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-08 +date: 2024-12-10 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 da57a4b2bc697..e6c9a86b32220 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-08 +date: 2024-12-10 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 746da0738aebb..c97c2df724aac 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-08 +date: 2024-12-10 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 afb3844c7088a..b682c8c3f93e8 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-08 +date: 2024-12-10 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 affb054738fa7..5560e404afe26 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-08 +date: 2024-12-10 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 ee74ef38da489..f6e0d4d13add9 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-08 +date: 2024-12-10 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 0cdb36750bea3..4cd19de06ef2a 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-08 +date: 2024-12-10 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 37a7b0ff8b14a..8483bdd8ec7c9 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-08 +date: 2024-12-10 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 603c13858d2a1..ca0e0bc1dfbc0 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-08 +date: 2024-12-10 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 05ef6f82e11e0..af698f43cb8c0 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-08 +date: 2024-12-10 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 0df930f891eee..968ba728ad4f4 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-08 +date: 2024-12-10 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 3342c7a30d92a..e343f288eb9a2 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-08 +date: 2024-12-10 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 b9da9ee2cb3e7..bfb89bf975f5a 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-08 +date: 2024-12-10 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 b392c672ad157..a737b79d3f5ba 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-08 +date: 2024-12-10 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 2a3680f78180e..ae97e67fb0870 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-08 +date: 2024-12-10 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 14ac768280588..8a02a9580c5f2 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-08 +date: 2024-12-10 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 7376a63193649..a2b4375d91f5a 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-08 +date: 2024-12-10 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 8426bcba03675..911958b64f6c9 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-08 +date: 2024-12-10 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 9b574adfdb3aa..9ec25179db891 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-08 +date: 2024-12-10 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 a86310df09ea3..cec40d2fe58a9 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-08 +date: 2024-12-10 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 8668f1ea56e22..65fc9b6ef2294 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-08 +date: 2024-12-10 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 bf644e79f8e01..8015c2037ecd5 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-08 +date: 2024-12-10 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 96d33615122d2..aac24cc2b8797 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-08 +date: 2024-12-10 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 72d8b2b14659d..5a6ef4545f06d 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-08 +date: 2024-12-10 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 9ca6b11d4f611..8af2f1ec3fce1 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_core_ui_settings_common.mdx index f91cd5ea53d29..03f68c1f67911 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-08 +date: 2024-12-10 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 c8c83282edc21..955b7c0888321 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-08 +date: 2024-12-10 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 4fd7d536a49dd..ef649a85cf818 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-08 +date: 2024-12-10 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 abefbfddd4a3e..d302813051089 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-08 +date: 2024-12-10 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 e2907844ac5a5..af698de3ef9b3 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-08 +date: 2024-12-10 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 ca2062bf70383..dd6adadc08ff9 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-08 +date: 2024-12-10 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 f7562d24e580f..ea631910b93bb 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-08 +date: 2024-12-10 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 246b1a7d05720..828142fa1f6e5 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-08 +date: 2024-12-10 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 ce57ff135b6d9..83eded117948e 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-08 +date: 2024-12-10 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 1742aee9fb3f4..3f10d256503f5 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-08 +date: 2024-12-10 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 2c25046106b10..dd8af1cabec67 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-08 +date: 2024-12-10 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 56cd0ceae3188..99c739e8a177b 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-08 +date: 2024-12-10 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 1060830f277c4..791f5e818e5d1 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-08 +date: 2024-12-10 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 ccb57e52b8930..da9ff6c990cbe 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-08 +date: 2024-12-10 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 ccada67b6f473..0b86dd76cf67b 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-08 +date: 2024-12-10 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 0f3cd95dc6666..5f612d4d57144 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-08 +date: 2024-12-10 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 a99bf00ba6e4d..e23337554b692 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-08 +date: 2024-12-10 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 5efb160a23c6d..230823f25eff1 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-08 +date: 2024-12-10 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 c64b6eac69931..1b1780d005298 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-08 +date: 2024-12-10 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 5388c40cfe830..b31685f6774ca 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-08 +date: 2024-12-10 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 e43dc2764ea46..c0be02f585d99 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-08 +date: 2024-12-10 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 2b1da94f03936..2feb4a4bed699 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-08 +date: 2024-12-10 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 6e79ccc5c152b..6f21ad94849af 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_data_stream_adapter.devdocs.json index cf11335f3beeb..66d9f0dbb0c2a 100644 --- a/api_docs/kbn_data_stream_adapter.devdocs.json +++ b/api_docs/kbn_data_stream_adapter.devdocs.json @@ -859,7 +859,7 @@ "label": "EcsFieldMap", "description": [], "signature": [ - "{ [x: string]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", + "{ [x: string]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; fields?: Record | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", { "pluginId": "@kbn/index-adapter", "scope": "server", @@ -882,7 +882,7 @@ "label": "FieldMap", "description": [], "signature": [ - "{ [P in T]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", + "{ [P in T]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; fields?: Record | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", { "pluginId": "@kbn/index-adapter", "scope": "server", @@ -962,7 +962,7 @@ "label": "ecsFieldMap", "description": [], "signature": [ - "{ [x: string]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", + "{ [x: string]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; fields?: Record | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", { "pluginId": "@kbn/index-adapter", "scope": "server", diff --git a/api_docs/kbn_data_stream_adapter.mdx b/api_docs/kbn_data_stream_adapter.mdx index 5d9a4d43e277d..05cfd5ec31920 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-08 +date: 2024-12-10 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 b7208d1f444bd..cb9cccfb17deb 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-08 +date: 2024-12-10 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 36213acf192ef..35014b0edd438 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-08 +date: 2024-12-10 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 331e3b6f2e22c..2e2fce64e82fc 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-08 +date: 2024-12-10 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 0c3a06f25884e..6218b621946d6 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-devtools'] --- import kbnDeeplinksDevtoolsObj from './kbn_deeplinks_devtools.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_fleet.mdx b/api_docs/kbn_deeplinks_fleet.mdx index b6896c397f76a..b24ee1dfcb045 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-08 +date: 2024-12-10 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 03e7caf5d5db6..5bcfb2b802902 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-management'] --- import kbnDeeplinksManagementObj from './kbn_deeplinks_management.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_ml.devdocs.json b/api_docs/kbn_deeplinks_ml.devdocs.json index 62df1cb97552b..e59172d95d808 100644 --- a/api_docs/kbn_deeplinks_ml.devdocs.json +++ b/api_docs/kbn_deeplinks_ml.devdocs.json @@ -32,7 +32,7 @@ "signature": [ "\"ml\"" ], - "path": "packages/deeplinks/ml/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/ml/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -47,7 +47,7 @@ "signature": [ "\"ml\" | \"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\"" ], - "path": "packages/deeplinks/ml/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/ml/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -62,7 +62,7 @@ "signature": [ "\"notifications\" | \"nodes\" | \"overview\" | \"memoryUsage\" | \"settings\" | \"dataVisualizer\" | \"logPatternAnalysis\" | \"logRateAnalysis\" | \"singleMetricViewer\" | \"anomalyDetection\" | \"anomalyExplorer\" | \"dataDrift\" | \"dataFrameAnalytics\" | \"resultExplorer\" | \"analyticsMap\" | \"aiOps\" | \"changePointDetections\" | \"modelManagement\" | \"nodesOverview\" | \"esqlDataVisualizer\" | \"fileUpload\" | \"indexDataVisualizer\" | \"calendarSettings\" | \"filterListsSettings\" | \"suppliedConfigurations\"" ], - "path": "packages/deeplinks/ml/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/ml/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_deeplinks_ml.mdx b/api_docs/kbn_deeplinks_ml.mdx index ffa69a4f4e7fa..af32b698c4d59 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-08 +date: 2024-12-10 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 d5cd27f38a69a..0047fe3a09f97 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-observability'] --- import kbnDeeplinksObservabilityObj from './kbn_deeplinks_observability.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_search.devdocs.json b/api_docs/kbn_deeplinks_search.devdocs.json index 70bce6e571b07..c744fd8c7ab8d 100644 --- a/api_docs/kbn_deeplinks_search.devdocs.json +++ b/api_docs/kbn_deeplinks_search.devdocs.json @@ -30,7 +30,7 @@ "label": "DeepLinkId", "description": [], "signature": [ - "\"appSearch\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"searchInferenceEndpoints\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\"" + "\"appSearch\" | \"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\"" ], "path": "packages/deeplinks/search/deep_links.ts", "deprecated": false, @@ -112,21 +112,6 @@ "trackAdoption": false, "initialIsOpen": false }, - { - "parentPluginId": "@kbn/deeplinks-search", - "id": "def-common.ENTERPRISE_SEARCH_RELEVANCE_APP_ID", - "type": "string", - "tags": [], - "label": "ENTERPRISE_SEARCH_RELEVANCE_APP_ID", - "description": [], - "signature": [ - "\"searchInferenceEndpoints\"" - ], - "path": "packages/deeplinks/search/constants.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, { "parentPluginId": "@kbn/deeplinks-search", "id": "def-common.ENTERPRISE_SEARCH_WORKPLACESEARCH_APP_ID", diff --git a/api_docs/kbn_deeplinks_search.mdx b/api_docs/kbn_deeplinks_search.mdx index 838b33af7415f..b3b2a6acac31f 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-search'] --- import kbnDeeplinksSearchObj from './kbn_deeplinks_search.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-ki | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 22 | 0 | 22 | 0 | +| 21 | 0 | 21 | 0 | ## Common diff --git a/api_docs/kbn_deeplinks_security.mdx b/api_docs/kbn_deeplinks_security.mdx index ee4b76a1a9739..c43fa4a74365a 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-08 +date: 2024-12-10 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 94b36e9ca011c..83acd15dc1054 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-08 +date: 2024-12-10 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 c323059909b68..db7b2f78fd2f0 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-08 +date: 2024-12-10 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 85d811996f75d..55d16c3017982 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-08 +date: 2024-12-10 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 374f4868feb66..6c8b9026a4f9d 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_default_nav_ml.devdocs.json index 2ff964424c0c5..a653b7112193d 100644 --- a/api_docs/kbn_default_nav_ml.devdocs.json +++ b/api_docs/kbn_default_nav_ml.devdocs.json @@ -95,7 +95,7 @@ }, ">[]; }" ], - "path": "packages/default-nav/ml/default_navigation.ts", + "path": "src/platform/packages/private/default-nav/ml/default_navigation.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -110,7 +110,7 @@ "signature": [ "\"data_frame_analytics\" | \"root\" | \"rootNav:ml\" | \"anomaly_detection\" | \"model_management\" | \"data_visualizer\" | \"aiops_labs\"" ], - "path": "packages/default-nav/ml/default_navigation.ts", + "path": "src/platform/packages/private/default-nav/ml/default_navigation.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -124,7 +124,7 @@ "tags": [], "label": "defaultNavigation", "description": [], - "path": "packages/default-nav/ml/default_navigation.ts", + "path": "src/platform/packages/private/default-nav/ml/default_navigation.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -138,7 +138,7 @@ "signature": [ "\"rootNav:ml\"" ], - "path": "packages/default-nav/ml/default_navigation.ts", + "path": "src/platform/packages/private/default-nav/ml/default_navigation.ts", "deprecated": false, "trackAdoption": false }, @@ -149,7 +149,7 @@ "tags": [], "label": "title", "description": [], - "path": "packages/default-nav/ml/default_navigation.ts", + "path": "src/platform/packages/private/default-nav/ml/default_navigation.ts", "deprecated": false, "trackAdoption": false }, @@ -160,7 +160,7 @@ "tags": [], "label": "icon", "description": [], - "path": "packages/default-nav/ml/default_navigation.ts", + "path": "src/platform/packages/private/default-nav/ml/default_navigation.ts", "deprecated": false, "trackAdoption": false }, @@ -186,7 +186,7 @@ "Location", "; prepend: (path: string) => string; }) => boolean; })[]; })[]" ], - "path": "packages/default-nav/ml/default_navigation.ts", + "path": "src/platform/packages/private/default-nav/ml/default_navigation.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_default_nav_ml.mdx b/api_docs/kbn_default_nav_ml.mdx index 422879a3fee74..bdcd160265547 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-08 +date: 2024-12-10 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 27724d76b0630..866e5088336f3 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-08 +date: 2024-12-10 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 741766539ad83..55746584265c7 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-08 +date: 2024-12-10 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 7abd93c43d6ac..184adee02717f 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-08 +date: 2024-12-10 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 a8064f0da46e3..3ad4e255b7699 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-08 +date: 2024-12-10 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 fcf0baca43f6d..17f27301f23ad 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-08 +date: 2024-12-10 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 fb0c16892206f..127098ca2d2e5 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-08 +date: 2024-12-10 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 2b5ba8d1bf904..796964c86f5af 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-08 +date: 2024-12-10 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 3469c946af919..198f7ae9e46c5 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-08 +date: 2024-12-10 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 9cc77f57d2621..f9b7f0f22d2c9 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-08 +date: 2024-12-10 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 ebae2ad023bc1..4cdac1f86fcbf 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-08 +date: 2024-12-10 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 0e6f3f1cd25bb..5438fc2be9b33 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-08 +date: 2024-12-10 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 428ed3d6bf0c0..8b2fb8cef2815 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_elastic_assistant.mdx index 95b06158bccfd..7df32d5195bce 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant'] --- import kbnElasticAssistantObj from './kbn_elastic_assistant.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant_common.mdx b/api_docs/kbn_elastic_assistant_common.mdx index f41a0d59bbf47..638efcb519e5e 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant-common'] --- import kbnElasticAssistantCommonObj from './kbn_elastic_assistant_common.devdocs.json'; diff --git a/api_docs/kbn_entities_schema.mdx b/api_docs/kbn_entities_schema.mdx index 67353de3614ad..44dd0e169a22c 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-08 +date: 2024-12-10 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 72b80dc9503f6..5543f3a6b731e 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-08 +date: 2024-12-10 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 e4c0822387c05..97f4a71795a7d 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-08 +date: 2024-12-10 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 9f91de2293f4c..9d3f70b0ee967 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-08 +date: 2024-12-10 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 30e61b162710a..0262b0586b2ff 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-08 +date: 2024-12-10 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 1299ddad819bb..d9681706b3663 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-08 +date: 2024-12-10 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 47e0c7d069b01..fd86888ec92f7 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_esql_ast.devdocs.json index 7f84ea5cbd325..ff840245529ca 100644 --- a/api_docs/kbn_esql_ast.devdocs.json +++ b/api_docs/kbn_esql_ast.devdocs.json @@ -25,7 +25,7 @@ "tags": [], "label": "BasicPrettyPrinter", "description": [], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55,7 +55,7 @@ }, " | undefined) => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -77,7 +77,7 @@ "text": "ESQLAstQueryExpression" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -99,7 +99,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -137,7 +137,7 @@ }, " | undefined) => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -159,7 +159,7 @@ "text": "ESQLAstQueryExpression" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -183,7 +183,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -219,7 +219,7 @@ }, " | undefined) => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -241,7 +241,7 @@ "text": "ESQLAstCommand" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -263,7 +263,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -293,7 +293,7 @@ }, " | undefined) => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -309,7 +309,7 @@ "signature": [ "ESQLAstExpression" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -331,7 +331,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -351,7 +351,7 @@ "signature": [ "{ multiline: boolean; pipeTab: string; lowercase: boolean; lowercaseCommands: boolean; lowercaseOptions: boolean; lowercaseFunctions: boolean; lowercaseKeywords: boolean; }" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -365,7 +365,7 @@ "signature": [ "any" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -385,7 +385,7 @@ "text": "BasicPrettyPrinterOptions" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -403,7 +403,7 @@ "signature": [ "(word: string) => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -417,7 +417,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -437,7 +437,7 @@ "ESQLAstBaseItem", ", formatted: string) => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -452,7 +452,7 @@ "ESQLAstBaseItem", "" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -467,7 +467,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -487,7 +487,7 @@ "ESQLAstExpression", ", minusCount?: number) => string | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -501,7 +501,7 @@ "signature": [ "ESQLAstExpression" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -516,7 +516,7 @@ "signature": [ "number" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -537,7 +537,7 @@ "SharedData", ">" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -559,7 +559,7 @@ }, ") => any" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -579,7 +579,7 @@ "text": "ESQLAstQueryExpression" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -605,7 +605,7 @@ }, ") => any" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -625,7 +625,7 @@ "text": "ESQLAstCommand" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -645,7 +645,7 @@ "ESQLAstExpression", ") => any" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -659,7 +659,7 @@ "signature": [ "ESQLAstExpression" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -689,7 +689,7 @@ "ErrorListener", "" ], - "path": "packages/kbn-esql-ast/src/parser/esql_error_listener.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -710,7 +710,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/parser/esql_error_listener.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts", "deprecated": false, "trackAdoption": false }, @@ -728,7 +728,7 @@ "RecognitionException", " | undefined) => void" ], - "path": "packages/kbn-esql-ast/src/parser/esql_error_listener.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -743,7 +743,7 @@ "Recognizer", "" ], - "path": "packages/kbn-esql-ast/src/parser/esql_error_listener.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -758,7 +758,7 @@ "signature": [ "any" ], - "path": "packages/kbn-esql-ast/src/parser/esql_error_listener.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -773,7 +773,7 @@ "signature": [ "number" ], - "path": "packages/kbn-esql-ast/src/parser/esql_error_listener.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -788,7 +788,7 @@ "signature": [ "number" ], - "path": "packages/kbn-esql-ast/src/parser/esql_error_listener.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -803,7 +803,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/parser/esql_error_listener.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -819,7 +819,7 @@ "RecognitionException", " | undefined" ], - "path": "packages/kbn-esql-ast/src/parser/esql_error_listener.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -845,7 +845,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/parser/esql_error_listener.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/esql_error_listener.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -863,7 +863,7 @@ "description": [ "\nRepresents a parsed or programmatically created ES|QL query. Keeps track of\nthe AST, source code, and optionally lexer tokens." ], - "path": "packages/kbn-esql-ast/src/query/query.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/query/query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -892,7 +892,7 @@ "text": "EsqlQuery" } ], - "path": "packages/kbn-esql-ast/src/query/query.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/query/query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -906,7 +906,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/query/query.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/query/query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -928,7 +928,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-ast/src/query/query.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/query/query.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -946,7 +946,7 @@ "signature": [ "any" ], - "path": "packages/kbn-esql-ast/src/query/query.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/query/query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -966,7 +966,7 @@ "text": "ESQLAstQueryExpression" } ], - "path": "packages/kbn-esql-ast/src/query/query.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/query/query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -981,7 +981,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/query/query.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/query/query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -997,7 +997,7 @@ "Token", "[]" ], - "path": "packages/kbn-esql-ast/src/query/query.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/query/query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1019,7 +1019,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/query/query.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/query/query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1045,7 +1045,7 @@ }, " | undefined) => string" ], - "path": "packages/kbn-esql-ast/src/query/query.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/query/query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1066,7 +1066,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-ast/src/query/query.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/query/query.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1086,7 +1086,7 @@ "description": [ "\nIterates over all nodes in the AST and calls the appropriate visitor\nfunctions.\n\nAST nodes supported:\n\n- [x] command\n- [x] option\n- [x] mode\n- [x] function\n- [x] source\n- [x] column\n- [x] literal\n- [x] list literal\n- [x] timeInterval\n- [x] inlineCast\n- [x] unknown" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1119,7 +1119,7 @@ "text": "Walker" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1133,7 +1133,7 @@ "signature": [ "WalkerAstNode" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1154,7 +1154,7 @@ "text": "WalkerOptions" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1182,7 +1182,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1198,7 +1198,7 @@ "signature": [ "Node" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1228,7 +1228,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1244,7 +1244,7 @@ "signature": [ "WalkerAstNode" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1270,7 +1270,7 @@ "ESQLProperNode", " | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1286,7 +1286,7 @@ "signature": [ "WalkerAstNode" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1305,7 +1305,7 @@ "ESQLProperNode", ") => boolean" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1333,7 +1333,7 @@ "ESQLProperNode", "[]" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1349,7 +1349,7 @@ "signature": [ "WalkerAstNode" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1368,7 +1368,7 @@ "ESQLProperNode", ") => boolean" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1396,7 +1396,7 @@ "ESQLProperNode", " | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1412,7 +1412,7 @@ "signature": [ "WalkerAstNode" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1429,7 +1429,7 @@ "signature": [ "NodeMatchTemplate" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1457,7 +1457,7 @@ "ESQLProperNode", "[]" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1473,7 +1473,7 @@ "signature": [ "WalkerAstNode" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1490,7 +1490,7 @@ "signature": [ "NodeMatchTemplate" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1534,7 +1534,7 @@ "FunctionSubtype", ", string> | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1550,7 +1550,7 @@ "signature": [ "WalkerAstNode" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1577,7 +1577,7 @@ "FunctionSubtype", ", string>) => boolean" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1615,7 +1615,7 @@ }, "[], name: string) => boolean" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1646,7 +1646,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1663,7 +1663,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1705,7 +1705,7 @@ "ESQLAstNodeFormatting", ") => void) => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1734,7 +1734,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1755,7 +1755,7 @@ "ESQLAstNodeFormatting", ") => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1773,7 +1773,7 @@ "signature": [ "any" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1793,7 +1793,7 @@ "text": "WalkerOptions" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1827,7 +1827,7 @@ }, "[] | undefined) => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1856,7 +1856,7 @@ }, "[] | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1882,7 +1882,7 @@ }, ") => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1902,7 +1902,7 @@ "text": "ESQLAstCommand" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1928,7 +1928,7 @@ }, ") => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1948,7 +1948,7 @@ "text": "ESQLCommandOption" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1974,7 +1974,7 @@ }, ") => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1994,7 +1994,7 @@ "text": "ESQLAstItem" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2020,7 +2020,7 @@ }, ") => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2040,7 +2040,7 @@ "text": "ESQLCommandMode" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2060,7 +2060,7 @@ "ESQLList", ") => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2074,7 +2074,7 @@ "signature": [ "ESQLList" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2100,7 +2100,7 @@ }, ") => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2120,7 +2120,7 @@ "text": "ESQLColumn" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2148,7 +2148,7 @@ }, ">) => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2171,7 +2171,7 @@ }, ">" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2199,7 +2199,7 @@ "FunctionSubtype", ", string>) => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2222,7 +2222,7 @@ "FunctionSubtype", ", string>" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2248,7 +2248,7 @@ }, ") => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2268,7 +2268,7 @@ "text": "ESQLAstQueryExpression" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2288,7 +2288,7 @@ "ESQLAstExpression", ") => void" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2302,7 +2302,7 @@ "signature": [ "ESQLAstExpression" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2320,7 +2320,7 @@ "tags": [], "label": "WrappingPrettyPrinter", "description": [], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2350,7 +2350,7 @@ }, " | undefined) => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2370,7 +2370,7 @@ "text": "ESQLAstQueryExpression" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2392,7 +2392,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2410,7 +2410,7 @@ "signature": [ "{ indent: string; tab: string; pipeTab: string; commandTab: string; multiline: boolean; wrap: number; lowercase: boolean; lowercaseCommands: boolean; lowercaseOptions: boolean; lowercaseFunctions: boolean; lowercaseKeywords: boolean; }" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -2424,7 +2424,7 @@ "signature": [ "any" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2444,7 +2444,7 @@ "text": "WrappingPrettyPrinterOptions" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2462,7 +2462,7 @@ "signature": [ "(word: string) => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2476,7 +2476,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2496,7 +2496,7 @@ "ESQLAstBaseItem", ") => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2510,7 +2510,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2526,7 +2526,7 @@ "ESQLAstBaseItem", "" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2546,7 +2546,7 @@ "ESQLAstBaseItem", ", txt: string, indented?: boolean) => { txt: string; indented: boolean; }" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2560,7 +2560,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2576,7 +2576,7 @@ "ESQLAstBaseItem", "" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2591,7 +2591,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2606,7 +2606,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2627,7 +2627,7 @@ "SharedData", ">" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -2649,7 +2649,7 @@ }, ") => any" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2669,7 +2669,7 @@ "text": "ESQLAstQueryExpression" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2698,7 +2698,7 @@ "default", "; }" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2712,7 +2712,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2736,7 +2736,7 @@ ") => ", "default" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2750,7 +2750,7 @@ "signature": [ "CharStream" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2766,7 +2766,7 @@ "ErrorListener", "" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2797,7 +2797,7 @@ "default", "; }" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2811,7 +2811,7 @@ "signature": [ "CharStream" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2827,7 +2827,7 @@ "ErrorListener", "" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2843,7 +2843,7 @@ "default", " | undefined" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2877,7 +2877,7 @@ "text": "ParseResult" } ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2891,7 +2891,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2912,7 +2912,7 @@ "text": "ParseOptions" } ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2946,7 +2946,7 @@ "text": "ParseResult" } ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2960,7 +2960,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2981,7 +2981,7 @@ "text": "ParseOptions" } ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3008,7 +3008,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3022,7 +3022,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3058,7 +3058,7 @@ "text": "Walker" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3088,7 +3088,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false }, @@ -3108,7 +3108,7 @@ "text": "WalkerOptions" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false } @@ -3124,7 +3124,7 @@ "tags": [], "label": "BasicPrettyPrinterOptions", "description": [], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3140,7 +3140,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -3156,7 +3156,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -3172,7 +3172,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -3188,7 +3188,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -3204,7 +3204,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -3220,7 +3220,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -3236,7 +3236,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false } @@ -3250,7 +3250,7 @@ "tags": [], "label": "EditorError", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3261,7 +3261,7 @@ "tags": [], "label": "startLineNumber", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3272,7 +3272,7 @@ "tags": [], "label": "endLineNumber", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3283,7 +3283,7 @@ "tags": [], "label": "startColumn", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3294,7 +3294,7 @@ "tags": [], "label": "endColumn", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3305,7 +3305,7 @@ "tags": [], "label": "message", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3319,7 +3319,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3333,7 +3333,7 @@ "signature": [ "number | \"error\" | \"warning\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -3365,7 +3365,7 @@ }, "<\"metrics\">" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3386,7 +3386,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3401,7 +3401,7 @@ "ESQLAstField", "[] | undefined" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3416,7 +3416,7 @@ "ESQLAstField", "[] | undefined" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -3442,7 +3442,7 @@ "ESQLAstBaseItem", "<\"\">" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3456,7 +3456,7 @@ "signature": [ "\"query\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3477,7 +3477,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -3503,7 +3503,7 @@ "ESQLAstBaseItem", "" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3517,7 +3517,7 @@ "signature": [ "\"column\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3537,7 +3537,7 @@ "ESQLParam", ")[]" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3553,7 +3553,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3566,13 +3566,13 @@ ], "label": "quoted", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": true, "trackAdoption": false, "references": [ { "plugin": "@kbn/esql-validation-autocomplete", - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts" + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts" } ] } @@ -3598,7 +3598,7 @@ "ESQLAstBaseItem", "" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3612,7 +3612,7 @@ "signature": [ "\"command\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3628,7 +3628,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3649,7 +3649,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -3675,7 +3675,7 @@ "ESQLAstBaseItem", "" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3689,7 +3689,7 @@ "signature": [ "\"mode\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -3715,7 +3715,7 @@ "ESQLAstBaseItem", "" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3729,7 +3729,7 @@ "signature": [ "\"option\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3750,7 +3750,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -3776,7 +3776,7 @@ "ESQLAstBaseItem", "" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3790,7 +3790,7 @@ "signature": [ "\"function\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3806,7 +3806,7 @@ "signature": [ "Subtype | undefined" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3831,7 +3831,7 @@ "ESQLIdentifier", " | undefined" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3852,7 +3852,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -3866,7 +3866,7 @@ "tags": [], "label": "ESQLLocation", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3877,7 +3877,7 @@ "tags": [], "label": "min", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3888,7 +3888,7 @@ "tags": [], "label": "max", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -3902,7 +3902,7 @@ "tags": [], "label": "ESQLMessage", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3916,7 +3916,7 @@ "signature": [ "\"error\" | \"warning\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3927,7 +3927,7 @@ "tags": [], "label": "text", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3947,7 +3947,7 @@ "text": "ESQLLocation" } ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3958,7 +3958,7 @@ "tags": [], "label": "code", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -3984,7 +3984,7 @@ "ESQLAstBaseItem", "" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3998,7 +3998,7 @@ "signature": [ "\"literal\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4012,7 +4012,7 @@ "signature": [ "\"param\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4026,7 +4026,7 @@ "signature": [ "ParamType" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4040,7 +4040,7 @@ "signature": [ "string | number" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -4066,7 +4066,7 @@ "ESQLAstBaseItem", "" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4080,7 +4080,7 @@ "signature": [ "\"source\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4094,7 +4094,7 @@ "signature": [ "\"index\" | \"policy\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4110,7 +4110,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4126,7 +4126,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -4152,7 +4152,7 @@ "ESQLAstBaseItem", "" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4166,7 +4166,7 @@ "signature": [ "\"timeInterval\"" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4177,7 +4177,7 @@ "tags": [], "label": "unit", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4188,7 +4188,7 @@ "tags": [], "label": "quantity", "description": [], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -4202,7 +4202,7 @@ "tags": [], "label": "ParseOptions", "description": [], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4218,7 +4218,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false } @@ -4232,7 +4232,7 @@ "tags": [], "label": "ParseResult", "description": [], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4254,7 +4254,7 @@ "text": "ESQLAstQueryExpression" } ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false }, @@ -4279,41 +4279,41 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": true, "trackAdoption": false, "references": [ { "plugin": "@kbn/esql-utils", - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts" + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts" }, { "plugin": "@kbn/esql-utils", - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts" + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts" }, { "plugin": "@kbn/esql-utils", - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts" + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts" }, { "plugin": "@kbn/esql-utils", - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts" + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts" }, { "plugin": "@kbn/esql-utils", - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts" + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts" }, { "plugin": "@kbn/esql-utils", - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts" + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts" }, { "plugin": "@kbn/esql-utils", - "path": "packages/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts" + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts" }, { "plugin": "@kbn/esql-utils", - "path": "packages/kbn-esql-utils/src/utils/append_to_query.ts" + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts" } ] }, @@ -4330,7 +4330,7 @@ "Token", "[]" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false }, @@ -4353,7 +4353,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/parser/parser.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/parser/parser.ts", "deprecated": false, "trackAdoption": false } @@ -4367,7 +4367,7 @@ "tags": [], "label": "WalkerOptions", "description": [], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4389,7 +4389,7 @@ }, ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4410,7 +4410,7 @@ }, "" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4436,7 +4436,7 @@ }, ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4456,7 +4456,7 @@ "text": "ESQLCommandOption" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4482,7 +4482,7 @@ }, ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4502,7 +4502,7 @@ "text": "ESQLCommandMode" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4524,7 +4524,7 @@ "ESQLAstExpression", ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4538,7 +4538,7 @@ "signature": [ "ESQLAstExpression" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4564,7 +4564,7 @@ }, ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4584,7 +4584,7 @@ "text": "ESQLAstQueryExpression" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4612,7 +4612,7 @@ "FunctionSubtype", ", string>) => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4635,7 +4635,7 @@ "FunctionSubtype", ", string>" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4661,7 +4661,7 @@ }, ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4681,7 +4681,7 @@ "text": "ESQLSource" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4707,7 +4707,7 @@ }, ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4727,7 +4727,7 @@ "text": "ESQLColumn" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4753,7 +4753,7 @@ }, ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4773,7 +4773,7 @@ "text": "ESQLLiteral" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4793,7 +4793,7 @@ "ESQLList", ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4807,7 +4807,7 @@ "signature": [ "ESQLList" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4833,7 +4833,7 @@ }, ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4853,7 +4853,7 @@ "text": "ESQLTimeInterval" } ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4881,7 +4881,7 @@ }, ">) => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4904,7 +4904,7 @@ }, ">" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4924,7 +4924,7 @@ "ESQLUnknownItem", ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4938,7 +4938,7 @@ "signature": [ "ESQLUnknownItem" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4958,7 +4958,7 @@ "ESQLIdentifier", ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4972,7 +4972,7 @@ "signature": [ "ESQLIdentifier" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4994,7 +4994,7 @@ "ESQLProperNode", ") => void) | undefined" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5010,7 +5010,7 @@ "signature": [ "ESQLProperNode" ], - "path": "packages/kbn-esql-ast/src/walker/walker.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/walker/walker.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5045,7 +5045,7 @@ "text": "BasicPrettyPrinterOptions" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5061,7 +5061,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -5077,7 +5077,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -5093,7 +5093,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -5109,7 +5109,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -5125,7 +5125,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false }, @@ -5141,7 +5141,7 @@ "signature": [ "number | undefined" ], - "path": "packages/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/wrapping_pretty_printer.ts", "deprecated": false, "trackAdoption": false } @@ -5171,7 +5171,7 @@ }, "; incomplete: boolean; }" ], - "path": "packages/kbn-esql-ast/src/builder/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/builder/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5188,7 +5188,7 @@ "signature": [ "Omit & Partial>" ], - "path": "packages/kbn-esql-ast/src/builder/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/builder/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5235,7 +5235,7 @@ }, "[]; }" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -5250,7 +5250,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -5267,7 +5267,7 @@ "signature": [ "{ lowercase?: boolean | undefined; pipeTab?: string | undefined; lowercaseCommands?: boolean | undefined; lowercaseOptions?: boolean | undefined; lowercaseFunctions?: boolean | undefined; lowercaseKeywords?: boolean | undefined; }" ], - "path": "packages/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/basic_pretty_printer.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5289,7 +5289,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5320,7 +5320,7 @@ " | ", "ESQLAstJoinCommand" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5352,7 +5352,7 @@ }, "[]" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5485,7 +5485,7 @@ "text": "ESQLAstQueryExpression" } ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5517,7 +5517,7 @@ }, "" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5606,7 +5606,7 @@ " | ", "ESQLUnknownItem" ], - "path": "packages/kbn-esql-ast/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5630,7 +5630,7 @@ "text": "Builder" } ], - "path": "packages/kbn-esql-ast/src/builder/builder.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/builder/builder.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5644,7 +5644,7 @@ "description": [ "\nPrinter for leaf AST nodes. The printing output of these nodes should\ntypically not depend on word wrapping settings, should always return an\natomic short string." ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5666,7 +5666,7 @@ }, ") => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5686,7 +5686,7 @@ "text": "ESQLSource" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5706,7 +5706,7 @@ "ESQLIdentifier", ") => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5720,7 +5720,7 @@ "signature": [ "ESQLIdentifier" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5746,7 +5746,7 @@ }, ") => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5766,7 +5766,7 @@ "text": "ESQLColumn" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5792,7 +5792,7 @@ }, ") => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5812,7 +5812,7 @@ "text": "ESQLLiteral" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5838,7 +5838,7 @@ }, ") => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5859,7 +5859,7 @@ }, "" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5885,7 +5885,7 @@ }, ") => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5905,7 +5905,7 @@ "text": "ESQLTimeInterval" } ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5925,7 +5925,7 @@ "ESQLAstComment", ") => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5939,7 +5939,7 @@ "signature": [ "ESQLAstComment" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5959,7 +5959,7 @@ "ESQLAstCommentMultiLine", "[]) => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5974,7 +5974,7 @@ "ESQLAstCommentMultiLine", "[]" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5994,7 +5994,7 @@ "ESQLProperNode", ") => string" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6008,7 +6008,7 @@ "signature": [ "ESQLProperNode" ], - "path": "packages/kbn-esql-ast/src/pretty_print/leaf_printer.ts", + "path": "src/platform/packages/shared/kbn-esql-ast/src/pretty_print/leaf_printer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_esql_ast.mdx b/api_docs/kbn_esql_ast.mdx index 463a564c7baec..8ed0263341e48 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-ast'] --- import kbnEsqlAstObj from './kbn_esql_ast.devdocs.json'; diff --git a/api_docs/kbn_esql_editor.devdocs.json b/api_docs/kbn_esql_editor.devdocs.json index 05d3150878aa9..ca2d78c9c89eb 100644 --- a/api_docs/kbn_esql_editor.devdocs.json +++ b/api_docs/kbn_esql_editor.devdocs.json @@ -21,7 +21,7 @@ }, ">" ], - "path": "packages/kbn-esql-editor/src/esql_editor.tsx", + "path": "src/platform/packages/private/kbn-esql-editor/src/esql_editor.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -101,7 +101,7 @@ }, " | undefined>" ], - "path": "packages/kbn-esql-editor/src/fetch_fields_from_esql.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/fetch_fields_from_esql.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -129,7 +129,7 @@ "text": "AggregateQuery" } ], - "path": "packages/kbn-esql-editor/src/fetch_fields_from_esql.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/fetch_fields_from_esql.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -150,7 +150,7 @@ "text": "ExpressionsStart" } ], - "path": "packages/kbn-esql-editor/src/fetch_fields_from_esql.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/fetch_fields_from_esql.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -172,7 +172,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-editor/src/fetch_fields_from_esql.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/fetch_fields_from_esql.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -187,7 +187,7 @@ "signature": [ "AbortController | undefined" ], - "path": "packages/kbn-esql-editor/src/fetch_fields_from_esql.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/fetch_fields_from_esql.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -209,7 +209,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-editor/src/fetch_fields_from_esql.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/fetch_fields_from_esql.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -227,7 +227,7 @@ "tags": [], "label": "ESQLEditorProps", "description": [], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -243,7 +243,7 @@ "signature": [ "{ esql: string; }" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -267,7 +267,7 @@ }, ") => void" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -287,7 +287,7 @@ "text": "AggregateQuery" } ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -315,7 +315,7 @@ }, " | undefined, abortController?: AbortController | undefined) => Promise" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -336,7 +336,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -351,7 +351,7 @@ "signature": [ "AbortController | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -371,7 +371,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -387,7 +387,7 @@ "signature": [ "Error[] | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -403,7 +403,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -419,7 +419,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -435,7 +435,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -449,7 +449,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -465,7 +465,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -481,7 +481,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -497,7 +497,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -513,7 +513,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -529,7 +529,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -545,7 +545,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -561,7 +561,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -577,7 +577,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-editor/src/types.ts", + "path": "src/platform/packages/private/kbn-esql-editor/src/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_esql_editor.mdx b/api_docs/kbn_esql_editor.mdx index 2c1bd43482cce..fe9ce1cc47c81 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-editor'] --- import kbnEsqlEditorObj from './kbn_esql_editor.devdocs.json'; diff --git a/api_docs/kbn_esql_utils.devdocs.json b/api_docs/kbn_esql_utils.devdocs.json index ae2c884b03d6f..d5c4a9977bce9 100644 --- a/api_docs/kbn_esql_utils.devdocs.json +++ b/api_docs/kbn_esql_utils.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "(baseESQLQuery: string, appendedText: string) => string" ], - "path": "packages/kbn-esql-utils/src/utils/append_to_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/append_to_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -58,7 +58,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/append_to_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -77,7 +77,7 @@ "signature": [ "(baseESQLQuery: string, field: string, value: unknown, operation: \"+\" | \"-\" | \"is_not_null\" | \"is_null\", fieldType: string | undefined) => string | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/append_to_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -91,7 +91,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/append_to_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -106,7 +106,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/append_to_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -121,7 +121,7 @@ "signature": [ "unknown" ], - "path": "packages/kbn-esql-utils/src/utils/append_to_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -136,7 +136,7 @@ "signature": [ "\"+\" | \"-\" | \"is_not_null\" | \"is_null\"" ], - "path": "packages/kbn-esql-utils/src/utils/append_to_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -151,7 +151,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/append_to_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/append_to_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -186,7 +186,7 @@ }, "[]" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -207,7 +207,7 @@ }, "[]" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -242,7 +242,7 @@ }, ">" ], - "path": "packages/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -256,7 +256,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -277,7 +277,7 @@ "text": "DataViewsServicePublic" } ], - "path": "packages/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -320,7 +320,7 @@ }, "[]>" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -331,7 +331,7 @@ "tags": [], "label": "{\n esqlQuery,\n search,\n signal,\n timeRange,\n}", "description": [], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -342,7 +342,7 @@ "tags": [], "label": "esqlQuery", "description": [], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false }, @@ -406,7 +406,7 @@ "Observable", "" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -458,7 +458,7 @@ "signature": [ "AbortSignal | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false }, @@ -479,7 +479,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false } @@ -523,7 +523,7 @@ }, "[]>" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -534,7 +534,7 @@ "tags": [], "label": "{\n esqlQuery,\n search,\n signal,\n timeRange,\n}", "description": [], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -545,7 +545,7 @@ "tags": [], "label": "esqlQuery", "description": [], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false }, @@ -609,7 +609,7 @@ "Observable", "" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -661,7 +661,7 @@ "signature": [ "AbortSignal | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false }, @@ -682,7 +682,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false } @@ -734,7 +734,7 @@ }, "; }>" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -745,7 +745,7 @@ "tags": [], "label": "{\n esqlQuery,\n search,\n signal,\n filter,\n dropNullColumns,\n timeRange,\n}", "description": [], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -756,7 +756,7 @@ "tags": [], "label": "esqlQuery", "description": [], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false }, @@ -820,7 +820,7 @@ "Observable", "" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -872,7 +872,7 @@ "signature": [ "AbortSignal | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false }, @@ -886,7 +886,7 @@ "signature": [ "unknown" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false }, @@ -900,7 +900,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false }, @@ -921,7 +921,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false } @@ -941,7 +941,7 @@ "signature": [ "(esql: string, limit: number) => string" ], - "path": "packages/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -955,7 +955,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -970,7 +970,7 @@ "signature": [ "number" ], - "path": "packages/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_with_safe_limit.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -999,7 +999,7 @@ }, "[]>; }; }) => Promise" ], - "path": "packages/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1010,7 +1010,7 @@ "tags": [], "label": "deps", "description": [], - "path": "packages/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1032,7 +1032,7 @@ }, "[]>; }" ], - "path": "packages/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_esql_adhoc_dataview.ts", "deprecated": false, "trackAdoption": false } @@ -1052,7 +1052,7 @@ "signature": [ "(esql: string | undefined) => string" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1066,7 +1066,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1095,7 +1095,7 @@ }, ") => string" ], - "path": "packages/kbn-esql-utils/src/utils/get_initial_esql_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_initial_esql_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1115,7 +1115,7 @@ "text": "DataView" } ], - "path": "packages/kbn-esql-utils/src/utils/get_initial_esql_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/get_initial_esql_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1134,7 +1134,7 @@ "signature": [ "(esql: string) => number" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1148,7 +1148,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1167,7 +1167,7 @@ "signature": [ "(esql: string) => string[]" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1181,7 +1181,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1208,7 +1208,7 @@ }, " | undefined) => ({ _tstart: string; _tend?: undefined; } | { _tend: string; _tstart?: undefined; })[]" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1222,7 +1222,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1244,7 +1244,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1265,7 +1265,7 @@ "signature": [ "(esql: string) => string | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1281,7 +1281,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1302,7 +1302,7 @@ "signature": [ "(query: string) => boolean" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1316,7 +1316,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/run_query.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/run_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1335,7 +1335,7 @@ "signature": [ "(esql: string | undefined) => boolean" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1349,7 +1349,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1378,7 +1378,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-utils/src/utils/esql_fields_utils.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/esql_fields_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1400,7 +1400,7 @@ "text": "DatatableColumn" } ], - "path": "packages/kbn-esql-utils/src/utils/esql_fields_utils.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/esql_fields_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1431,7 +1431,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-utils/src/utils/esql_fields_utils.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/esql_fields_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1453,7 +1453,7 @@ "text": "DatatableColumn" } ], - "path": "packages/kbn-esql-utils/src/utils/esql_fields_utils.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/esql_fields_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1482,7 +1482,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-utils/src/utils/esql_fields_utils.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/esql_fields_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1502,7 +1502,7 @@ "text": "FieldSpec" } ], - "path": "packages/kbn-esql-utils/src/utils/esql_fields_utils.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/esql_fields_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1521,7 +1521,7 @@ "signature": [ "(query: string) => boolean" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1535,7 +1535,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1554,7 +1554,7 @@ "signature": [ "(query: string, isWrapped: boolean) => string" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1568,7 +1568,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1583,7 +1583,7 @@ "signature": [ "boolean" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1620,7 +1620,7 @@ }, " | { [key: string]: any; } | null | undefined) => boolean" ], - "path": "packages/kbn-esql-utils/src/utils/query_cannot_be_sampled.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_cannot_be_sampled.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1649,7 +1649,7 @@ }, " | { [key: string]: any; } | null | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/query_cannot_be_sampled.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_cannot_be_sampled.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1668,7 +1668,7 @@ "signature": [ "(esql: string | undefined) => string" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1682,7 +1682,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1701,7 +1701,7 @@ "signature": [ "(esql: string) => string[]" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1715,7 +1715,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-utils/src/utils/query_parsing_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/utils/query_parsing_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1738,7 +1738,7 @@ "signature": [ "\"enableESQL\"" ], - "path": "packages/kbn-esql-utils/constants.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1753,7 +1753,7 @@ "signature": [ "\"https://ela.st/esql-feedback\"" ], - "path": "packages/kbn-esql-utils/constants.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1765,7 +1765,7 @@ "tags": [], "label": "TextBasedLanguages", "description": [], - "path": "packages/kbn-esql-utils/src/types.ts", + "path": "src/platform/packages/shared/kbn-esql-utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_esql_utils.mdx b/api_docs/kbn_esql_utils.mdx index e73a893c2ffd4..147541982ac31 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_esql_validation_autocomplete.devdocs.json index 837fc82d6a35b..c360268f86d3a 100644 --- a/api_docs/kbn_esql_validation_autocomplete.devdocs.json +++ b/api_docs/kbn_esql_validation_autocomplete.devdocs.json @@ -43,7 +43,7 @@ "ReferenceMaps", ", parentCommand: string | undefined) => boolean | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -63,7 +63,7 @@ "text": "ESQLSingleAstItem" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -80,7 +80,7 @@ "FunctionParameterType", "; optional?: boolean | undefined; supportsWildcard?: boolean | undefined; constantOnly?: boolean | undefined; fieldsOnly?: boolean | undefined; acceptedValues?: string[] | undefined; literalSuggestions?: string[] | undefined; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -95,7 +95,7 @@ "signature": [ "ReferenceMaps" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -110,7 +110,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -153,7 +153,7 @@ }, "[]>" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/variables.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/variables.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -173,7 +173,7 @@ "text": "ESQLAst" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/variables.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/variables.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -196,7 +196,7 @@ }, ">" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/variables.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/variables.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -211,7 +211,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/variables.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/variables.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -272,7 +272,7 @@ }, "[]>" ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -286,7 +286,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -317,7 +317,7 @@ }, ")[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -338,7 +338,7 @@ "text": "AstProviderFn" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -353,7 +353,7 @@ "signature": [ "CodeActionOptions" ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -375,7 +375,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -402,7 +402,7 @@ }, "[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -427,7 +427,7 @@ }, "[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -438,7 +438,7 @@ "tags": [], "label": "options", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -452,7 +452,7 @@ "signature": [ "\"agg\" | \"builtin\" | \"eval\" | (\"agg\" | \"builtin\" | \"eval\")[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false } @@ -984,7 +984,7 @@ }, " | undefined; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/context.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -998,7 +998,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/context.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1019,7 +1019,7 @@ "text": "ESQLAst" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/context.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1034,7 +1034,7 @@ "signature": [ "number" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/context.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1083,7 +1083,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1105,7 +1105,7 @@ " | ", "ESQLIdentifier" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1122,7 +1122,7 @@ "ReferenceMaps", ", \"fields\" | \"variables\">" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1149,7 +1149,7 @@ }, "" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1163,7 +1163,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1190,7 +1190,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1204,7 +1204,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1247,7 +1247,7 @@ }, ">>; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1261,7 +1261,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1283,7 +1283,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1310,7 +1310,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1324,7 +1324,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1353,7 +1353,7 @@ }, ", { withTypes, capitalize }: { withTypes: boolean; capitalize?: boolean | undefined; }) => { declaration: string; }[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1373,7 +1373,7 @@ "text": "FunctionDefinition" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1385,7 +1385,7 @@ "tags": [], "label": "{ withTypes, capitalize }", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1396,7 +1396,7 @@ "tags": [], "label": "withTypes", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/helpers.ts", "deprecated": false, "trackAdoption": false }, @@ -1410,7 +1410,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/helpers.ts", "deprecated": false, "trackAdoption": false } @@ -1438,7 +1438,7 @@ }, " | undefined) => { getPolicies: () => Promise<{ name: string; sourceIndices: string[]; matchField: string; enrichFields: string[]; }[]>; getPolicyMetadata: (policyName: string) => Promise<{ name: string; sourceIndices: string[]; matchField: string; enrichFields: string[]; } | undefined>; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1459,7 +1459,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1478,7 +1478,7 @@ "signature": [ "({ fromCommand, timeField, }: { fromCommand: string; timeField?: string | undefined; }) => { label: string; description: string; queryString: string; }[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1489,7 +1489,7 @@ "tags": [], "label": "{\n fromCommand,\n timeField,\n}", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1500,7 +1500,7 @@ "tags": [], "label": "fromCommand", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts", "deprecated": false, "trackAdoption": false }, @@ -1514,7 +1514,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/recommended_queries/templates.ts", "deprecated": false, "trackAdoption": false } @@ -1544,7 +1544,7 @@ "ESQLSourceResult", "[]>" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1565,7 +1565,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1592,7 +1592,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1612,7 +1612,7 @@ "text": "ESQLAstItem" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1641,7 +1641,7 @@ "FunctionSubtype", ", string> | undefined) => boolean" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1664,7 +1664,7 @@ "FunctionSubtype", ", string> | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1691,7 +1691,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1711,7 +1711,7 @@ "text": "ESQLAstItem" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1738,7 +1738,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1758,7 +1758,7 @@ "text": "ESQLAstItem" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1785,7 +1785,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1805,7 +1805,7 @@ "text": "ESQLAstItem" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1832,7 +1832,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1852,7 +1852,7 @@ "text": "ESQLAstItem" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1879,7 +1879,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1899,7 +1899,7 @@ "text": "ESQLAstItem" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1926,7 +1926,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1946,7 +1946,7 @@ "text": "ESQLAstItem" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1973,7 +1973,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1993,7 +1993,7 @@ "text": "ESQLAstItem" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2014,7 +2014,7 @@ "ReasonTypes", " | undefined; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2028,7 +2028,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2043,7 +2043,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2058,7 +2058,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2085,7 +2085,7 @@ }, ") => boolean" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2105,7 +2105,7 @@ "text": "ESQLAstItem" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2134,7 +2134,7 @@ "FunctionSubtype", ", string>) => string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2157,7 +2157,7 @@ "FunctionSubtype", ", string>" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2176,7 +2176,7 @@ "signature": [ "(text: string, { dashSupported }: { dashSupported?: boolean | undefined; }) => boolean" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2190,7 +2190,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2202,7 +2202,7 @@ "tags": [], "label": "{ dashSupported }", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2216,7 +2216,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/helpers.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/helpers.ts", "deprecated": false, "trackAdoption": false } @@ -2262,7 +2262,7 @@ }, "[]>" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2276,7 +2276,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2291,7 +2291,7 @@ "signature": [ "number" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2306,7 +2306,7 @@ "signature": [ "EditorContext" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2327,7 +2327,7 @@ "text": "AstProviderFn" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2349,7 +2349,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2390,7 +2390,7 @@ "ValidationResult", ">" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/validation.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2404,7 +2404,7 @@ "signature": [ "string" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/validation.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2425,7 +2425,7 @@ "text": "AstProviderFn" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/validation.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2440,7 +2440,7 @@ "signature": [ "ValidationOptions" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/validation.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2462,7 +2462,7 @@ }, " | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/validation.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/validation.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2505,7 +2505,7 @@ }, "[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/utils.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2519,7 +2519,7 @@ "signature": [ "\"error\" | \"warning\"" ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/utils.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2550,7 +2550,7 @@ }, ")[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/utils.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2568,7 +2568,7 @@ "tags": [], "label": "CodeAction", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2579,7 +2579,7 @@ "tags": [], "label": "title", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2594,7 +2594,7 @@ "EditorError", "[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2608,7 +2608,7 @@ "signature": [ "\"quickfix\"" ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2624,7 +2624,7 @@ "EditorError", "; text: string; }[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/code_actions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/code_actions/types.ts", "deprecated": false, "trackAdoption": false } @@ -2650,7 +2650,7 @@ "CommandBaseDefinition", "" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2664,7 +2664,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2694,7 +2694,7 @@ }, "[]) | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2715,7 +2715,7 @@ }, "" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2733,7 +2733,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2756,7 +2756,7 @@ }, "[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -2785,7 +2785,7 @@ }, "[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": true, "trackAdoption": false, "references": [] @@ -2800,7 +2800,7 @@ "tags": [], "label": "CommandModeDefinition", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2811,7 +2811,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2822,7 +2822,7 @@ "tags": [], "label": "description", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2836,7 +2836,7 @@ "signature": [ "{ name: string; description: string; }[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2850,7 +2850,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false } @@ -2876,7 +2876,7 @@ "CommandBaseDefinition", "" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2890,7 +2890,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2901,7 +2901,7 @@ "tags": [], "label": "optional", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2915,7 +2915,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2953,7 +2953,7 @@ }, "[]) | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2973,7 +2973,7 @@ "text": "ESQLCommandOption" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2995,7 +2995,7 @@ }, "" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3010,7 +3010,7 @@ "signature": [ "unknown" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3028,7 +3028,7 @@ "tags": [], "label": "ESQLCallbacks", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3044,7 +3044,7 @@ "ESQLSourceResult", "> | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3066,7 +3066,7 @@ }, "> | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3080,7 +3080,7 @@ "signature": [ "CallbackFn<{}, { name: string; sourceIndices: string[]; matchField: string; enrichFields: string[]; }> | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3094,7 +3094,7 @@ "signature": [ "(() => Promise<{ histogramBarTarget: number; }>) | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3112,7 +3112,7 @@ "PartialFieldsMetadataClient", "> | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false } @@ -3126,7 +3126,7 @@ "tags": [], "label": "ESQLPolicy", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3137,7 +3137,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3151,7 +3151,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3162,7 +3162,7 @@ "tags": [], "label": "matchField", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3176,7 +3176,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false } @@ -3190,7 +3190,7 @@ "tags": [], "label": "ESQLRealField", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3201,7 +3201,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3215,7 +3215,7 @@ "signature": [ "\"boolean\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"keyword\" | \"text\" | \"date\" | \"date_nanos\" | \"version\" | \"integer\" | \"long\" | \"double\" | \"unsigned_long\" | \"unsupported\" | \"cartesian_point\" | \"cartesian_shape\" | \"counter_integer\" | \"counter_long\" | \"counter_double\"" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3229,7 +3229,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3243,7 +3243,7 @@ "signature": [ "{ description?: string | undefined; } | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false } @@ -3257,7 +3257,7 @@ "tags": [], "label": "ESQLVariable", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3268,7 +3268,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3282,7 +3282,7 @@ "signature": [ "\"boolean\" | \"unknown\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"keyword\" | \"text\" | \"date\" | \"date_nanos\" | \"version\" | \"integer\" | \"long\" | \"double\" | \"unsigned_long\" | \"unsupported\" | \"null\" | \"cartesian_point\" | \"cartesian_shape\" | \"counter_integer\" | \"counter_long\" | \"counter_double\" | \"time_literal\" | \"time_duration\" | \"date_period\"" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3302,7 +3302,7 @@ "text": "ESQLLocation" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false } @@ -3316,7 +3316,7 @@ "tags": [], "label": "FunctionDefinition", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3330,7 +3330,7 @@ "signature": [ "\"agg\" | \"builtin\" | \"eval\"" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3344,7 +3344,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3358,7 +3358,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3369,7 +3369,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3383,7 +3383,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3394,7 +3394,7 @@ "tags": [], "label": "description", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3408,7 +3408,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3422,7 +3422,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3440,7 +3440,7 @@ "FunctionReturnType", "; }[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3454,7 +3454,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3486,7 +3486,7 @@ }, "[]) | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3509,7 +3509,7 @@ "FunctionSubtype", ", string>" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3527,7 +3527,7 @@ "tags": [], "label": "Literals", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3538,7 +3538,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3549,7 +3549,7 @@ "tags": [], "label": "description", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/types.ts", "deprecated": false, "trackAdoption": false } @@ -3563,7 +3563,7 @@ "tags": [], "label": "SuggestionRawDefinition", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3574,7 +3574,7 @@ "tags": [], "label": "label", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3585,7 +3585,7 @@ "tags": [], "label": "text", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3599,7 +3599,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3615,7 +3615,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3631,7 +3631,7 @@ "signature": [ "\"Value\" | \"Text\" | \"Operator\" | \"Field\" | \"Method\" | \"Function\" | \"Variable\" | \"Class\" | \"Constant\" | \"Keyword\" | \"Reference\" | \"Snippet\" | \"Issue\"" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3644,7 +3644,7 @@ "description": [ "\nA very short description for the suggestion entry that can be shown on the UI next to the label" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3660,7 +3660,7 @@ "signature": [ "{ value: string; } | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3676,7 +3676,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3692,7 +3692,7 @@ "signature": [ "{ title: string; id: string; } | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3708,7 +3708,7 @@ "signature": [ "{ start: number; end: number; } | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false } @@ -3722,7 +3722,7 @@ "tags": [], "label": "ValidationErrors", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3736,7 +3736,7 @@ "signature": [ "{ message: string; type: { name: string; argType: string; value: string | number | Date; givenType: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3750,7 +3750,7 @@ "signature": [ "{ message: string; type: { fn: string; numArgs: number; passedArgs: number; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3764,7 +3764,7 @@ "signature": [ "{ message: string; type: { fn: string; numArgs: number; passedArgs: number; extraArgs: number; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3778,7 +3778,7 @@ "signature": [ "{ message: string; type: { fn: string; numArgs: number; passedArgs: number; missingArgs: number; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3792,7 +3792,7 @@ "signature": [ "{ message: string; type: { name: string | number; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3806,7 +3806,7 @@ "signature": [ "{ message: string; type: { name: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3820,7 +3820,7 @@ "signature": [ "{ message: string; type: { name: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3834,7 +3834,7 @@ "signature": [ "{ message: string; type: { name: string; argType: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3848,7 +3848,7 @@ "signature": [ "{ message: string; type: { name: string; command: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3862,7 +3862,7 @@ "signature": [ "{ message: string; type: { name: string; command: string; option: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3876,7 +3876,7 @@ "signature": [ "{ message: string; type: { name: string; value: string; supportedOptions: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3890,7 +3890,7 @@ "signature": [ "{ message: string; type: { field: string; fieldType: string; newType: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3904,7 +3904,7 @@ "signature": [ "{ message: string; type: { command: string; type: string; typeCount: number; givenType: string; column: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3918,7 +3918,7 @@ "signature": [ "{ message: string; type: { command: string; option: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3932,7 +3932,7 @@ "signature": [ "{ message: string; type: { command: string; option: string; type: string; givenValue: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3946,7 +3946,7 @@ "signature": [ "{ message: string; type: { value: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3960,7 +3960,7 @@ "signature": [ "{ message: string; type: { command: string; value: string; type: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3974,7 +3974,7 @@ "signature": [ "{ message: string; type: { name: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3988,7 +3988,7 @@ "signature": [ "{ message: string; type: { type: string; value: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4002,7 +4002,7 @@ "signature": [ "{ message: string; type: { command: string; value: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4016,7 +4016,7 @@ "signature": [ "{ message: string; type: { name: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4030,7 +4030,7 @@ "signature": [ "{ message: string; type: { field: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4044,7 +4044,7 @@ "signature": [ "{ message: string; type: { setting: string; expected: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4058,7 +4058,7 @@ "signature": [ "{ message: string; type: { command: string; value: string; expected: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4072,7 +4072,7 @@ "signature": [ "{ message: string; type: { function: string; command: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4086,7 +4086,7 @@ "signature": [ "{ message: string; type: { fn: string; given: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4100,7 +4100,7 @@ "signature": [ "{ message: string; type: {}; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4114,7 +4114,7 @@ "signature": [ "{ message: string; type: { value: string; availableFields: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4128,7 +4128,7 @@ "signature": [ "{ message: string; type: { value: string | number; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4142,7 +4142,7 @@ "signature": [ "{ message: string; type: { commandName: string; expression: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4156,7 +4156,7 @@ "signature": [ "{ message: string; type: { commandName: string; expression: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4170,7 +4170,7 @@ "signature": [ "{ message: string; type: { nestedAgg: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false }, @@ -4184,7 +4184,7 @@ "signature": [ "{ message: string; type: { fn: string; }; }" ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false } @@ -4211,7 +4211,7 @@ "text": "ValidationErrors" } ], - "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4226,7 +4226,7 @@ "signature": [ "\"Value\" | \"Text\" | \"Operator\" | \"Field\" | \"Method\" | \"Function\" | \"Variable\" | \"Class\" | \"Constant\" | \"Keyword\" | \"Reference\" | \"Snippet\" | \"Issue\"" ], - "path": "packages/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/autocomplete/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4240,7 +4240,7 @@ "tags": [], "label": "ENRICH_MODES", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/settings.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4251,7 +4251,7 @@ "tags": [], "label": "name", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/settings.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/settings.ts", "deprecated": false, "trackAdoption": false }, @@ -4262,7 +4262,7 @@ "tags": [], "label": "description", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/settings.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/settings.ts", "deprecated": false, "trackAdoption": false }, @@ -4273,7 +4273,7 @@ "tags": [], "label": "prefix", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/settings.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/settings.ts", "deprecated": false, "trackAdoption": false }, @@ -4287,7 +4287,7 @@ "signature": [ "{ name: string; description: string; }[]" ], - "path": "packages/kbn-esql-validation-autocomplete/src/definitions/settings.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/definitions/settings.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_esql_validation_autocomplete.mdx b/api_docs/kbn_esql_validation_autocomplete.mdx index 3bf17b3c34754..0a9ac9b139b28 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-08 +date: 2024-12-10 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 671b21cbfa0a1..135919de21d39 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-08 +date: 2024-12-10 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 9d985d20bb771..d16d03113ce27 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-08 +date: 2024-12-10 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 d8b0408faf6e4..67c2c53ceb4d0 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-08 +date: 2024-12-10 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 fbcd51692aa34..9796938facfbb 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-08 +date: 2024-12-10 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 bd3a39bf18d89..8e5483df68d9f 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-08 +date: 2024-12-10 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 8159d6972487e..589fa07000ee9 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-08 +date: 2024-12-10 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 0f2af18133972..05ff409798bae 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-08 +date: 2024-12-10 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 e2de0a89cd1bf..a601c6945befa 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-08 +date: 2024-12-10 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 335cb06ffaa46..41a1ed2e9cf6e 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-08 +date: 2024-12-10 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 33e71e69f8679..ebc94ef881e85 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-08 +date: 2024-12-10 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 385360046777e..2e84064392c76 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-08 +date: 2024-12-10 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 932d13da30cf7..7c7da8e893bb9 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-08 +date: 2024-12-10 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 a721c8d5ba523..1ba4e75358a94 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-08 +date: 2024-12-10 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 03d2ddc9309e9..3abfaaebaaa51 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-08 +date: 2024-12-10 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 5d726eceffc72..e4933bb1ff4a2 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-08 +date: 2024-12-10 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 c77d340f417c8..bbc027ad2c3c7 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-08 +date: 2024-12-10 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 df0c705dd63f4..638ba0efb44a1 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-08 +date: 2024-12-10 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 7f22d94080cb7..d19a016a5d9f6 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-08 +date: 2024-12-10 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 ca5689a02994b..36325139bd057 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-08 +date: 2024-12-10 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 f2c28323ea386..227d38b14298a 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-08 +date: 2024-12-10 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 0df08e839ec3a..21cb65455ca07 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-08 +date: 2024-12-10 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 eb2ba03eb133f..b7a54c71affa3 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-08 +date: 2024-12-10 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 9b7a67b6ae154..de7ebf0e5ea50 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-08 +date: 2024-12-10 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 39a50d92589b1..ae94fc2a4d033 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_index_adapter.devdocs.json b/api_docs/kbn_index_adapter.devdocs.json index d87eeacf45bab..ac852981ef207 100644 --- a/api_docs/kbn_index_adapter.devdocs.json +++ b/api_docs/kbn_index_adapter.devdocs.json @@ -1306,7 +1306,7 @@ "label": "EcsFieldMap", "description": [], "signature": [ - "{ [x: string]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", + "{ [x: string]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; fields?: Record | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", { "pluginId": "@kbn/index-adapter", "scope": "server", @@ -1329,7 +1329,7 @@ "label": "FieldMap", "description": [], "signature": [ - "{ [P in T]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", + "{ [P in T]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; fields?: Record | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", { "pluginId": "@kbn/index-adapter", "scope": "server", @@ -1438,7 +1438,7 @@ "label": "ecsFieldMap", "description": [], "signature": [ - "{ [x: string]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", + "{ [x: string]: { type: string; required: boolean; array?: boolean | undefined; doc_values?: boolean | undefined; enabled?: boolean | undefined; fields?: Record | undefined; format?: string | undefined; ignore_above?: number | undefined; multi_fields?: ", { "pluginId": "@kbn/index-adapter", "scope": "server", diff --git a/api_docs/kbn_index_adapter.mdx b/api_docs/kbn_index_adapter.mdx index 7ae8c3d4b7421..18930da423ca8 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-08 +date: 2024-12-10 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 74a95171e8d88..261488413d7a3 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_index_management_shared_types.mdx index 26b931622b0d1..8bb71f78d7ec5 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_inference_common.mdx index c1ab2ab60cfd6..ae7b81e2ecca6 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/inference-common'] --- import kbnInferenceCommonObj from './kbn_inference_common.devdocs.json'; diff --git a/api_docs/kbn_inference_integration_flyout.devdocs.json b/api_docs/kbn_inference_integration_flyout.devdocs.json index 2ad03937be3cd..badf786077e8f 100644 --- a/api_docs/kbn_inference_integration_flyout.devdocs.json +++ b/api_docs/kbn_inference_integration_flyout.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "({ supportedNlpModels, nlpImportModel }: { supportedNlpModels: string; nlpImportModel: string; }) => React.JSX.Element" ], - "path": "x-pack/packages/ml/inference_integration_flyout/components/eland_python_client.tsx", + "path": "x-pack/platform/packages/private/ml/inference_integration_flyout/components/eland_python_client.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "{ supportedNlpModels: string; nlpImportModel: string; }" ], - "path": "x-pack/packages/ml/inference_integration_flyout/components/eland_python_client.tsx", + "path": "x-pack/platform/packages/private/ml/inference_integration_flyout/components/eland_python_client.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -64,7 +64,7 @@ "InferenceFlyoutProps", ") => React.JSX.Element" ], - "path": "x-pack/packages/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx", + "path": "x-pack/platform/packages/private/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -78,7 +78,7 @@ "signature": [ "InferenceFlyoutProps" ], - "path": "x-pack/packages/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx", + "path": "x-pack/platform/packages/private/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -96,7 +96,7 @@ "tags": [], "label": "ModelConfig", "description": [], - "path": "x-pack/packages/ml/inference_integration_flyout/types.ts", + "path": "x-pack/platform/packages/private/ml/inference_integration_flyout/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -107,7 +107,7 @@ "tags": [], "label": "service", "description": [], - "path": "x-pack/packages/ml/inference_integration_flyout/types.ts", + "path": "x-pack/platform/packages/private/ml/inference_integration_flyout/types.ts", "deprecated": false, "trackAdoption": false }, @@ -121,7 +121,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/inference_integration_flyout/types.ts", + "path": "x-pack/platform/packages/private/ml/inference_integration_flyout/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_inference_integration_flyout.mdx b/api_docs/kbn_inference_integration_flyout.mdx index 13e1c22c38f64..835d28fa31cbd 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-08 +date: 2024-12-10 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 fcad510e1f762..1da04c3ca95de 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-08 +date: 2024-12-10 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 46e84a40bf7f8..6f7eb31206d9a 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-08 +date: 2024-12-10 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 eaa08d527ec11..a3d2e84dae6ef 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-08 +date: 2024-12-10 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 ec6f39f46cacc..db2a188e33c6a 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-08 +date: 2024-12-10 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 79ac1e2620e93..901e82a929989 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-08 +date: 2024-12-10 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 0cf2a86a379ea..6a6ffb8478cb0 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-08 +date: 2024-12-10 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 7817286a036ab..7c0a7ae507c34 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-08 +date: 2024-12-10 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 db2876feef882..8a0a6c7fddd10 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-08 +date: 2024-12-10 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 853344235ce9e..7ed7865c98c88 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/json-ast'] --- import kbnJsonAstObj from './kbn_json_ast.devdocs.json'; diff --git a/api_docs/kbn_json_schemas.devdocs.json b/api_docs/kbn_json_schemas.devdocs.json index d4f3ececc9f35..b77d31be9dfd5 100644 --- a/api_docs/kbn_json_schemas.devdocs.json +++ b/api_docs/kbn_json_schemas.devdocs.json @@ -27,7 +27,7 @@ "description": [ "\n" ], - "path": "x-pack/packages/ml/json_schemas/src/json_schema_service.ts", + "path": "x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +41,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/json_schemas/src/json_schema_service.ts", + "path": "x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55,7 +55,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/json_schemas/src/json_schema_service.ts", + "path": "x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -73,7 +73,7 @@ "signature": [ "(path: \"/_ml/anomaly_detectors/{job_id}\" | \"/_ml/datafeeds/{datafeed_id}\" | \"/_transform/{transform_id}\" | \"/_ml/data_frame/analytics/{id}\", method: string, props?: string[] | undefined, schema?: object | undefined) => Promise" ], - "path": "x-pack/packages/ml/json_schemas/src/json_schema_service.ts", + "path": "x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -87,7 +87,7 @@ "signature": [ "\"/_ml/anomaly_detectors/{job_id}\" | \"/_ml/datafeeds/{datafeed_id}\" | \"/_transform/{transform_id}\" | \"/_ml/data_frame/analytics/{id}\"" ], - "path": "x-pack/packages/ml/json_schemas/src/json_schema_service.ts", + "path": "x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -102,7 +102,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/json_schemas/src/json_schema_service.ts", + "path": "x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -117,7 +117,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/packages/ml/json_schemas/src/json_schema_service.ts", + "path": "x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -132,7 +132,7 @@ "signature": [ "object | undefined" ], - "path": "x-pack/packages/ml/json_schemas/src/json_schema_service.ts", + "path": "x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -152,7 +152,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/packages/ml/json_schemas/src/json_schema_service.ts", + "path": "x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/kbn_json_schemas.mdx b/api_docs/kbn_json_schemas.mdx index be844e5dd0b76..4435f176abf77 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-08 +date: 2024-12-10 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 907297767bcd1..8f7927fb7441a 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_language_documentation.devdocs.json index 1d5cee18e66d3..2c8b9e6a70967 100644 --- a/api_docs/kbn_language_documentation.devdocs.json +++ b/api_docs/kbn_language_documentation.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "React.NamedExoticComponent & { readonly type: ({ searchInDescription, linkToDocumentation, isHelpMenuOpen, onHelpMenuVisibilityChange, }: DocumentationFlyoutProps) => React.JSX.Element; }" ], - "path": "packages/kbn-language-documentation/src/components/as_flyout/index.tsx", + "path": "src/platform/packages/private/kbn-language-documentation/src/components/as_flyout/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -61,7 +61,7 @@ "signature": [ "React.NamedExoticComponent & { readonly type: ({ searchInDescription, height }: DocumentationInlineProps) => React.JSX.Element; }" ], - "path": "packages/kbn-language-documentation/src/components/as_inline/index.tsx", + "path": "src/platform/packages/private/kbn-language-documentation/src/components/as_inline/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -93,7 +93,7 @@ "signature": [ "React.NamedExoticComponent & { readonly type: ({ language, sections, buttonProps, searchInDescription, linkToDocumentation, isHelpMenuOpen, onHelpMenuVisibilityChange, }: DocumentationPopoverProps) => React.JSX.Element; }" ], - "path": "packages/kbn-language-documentation/src/components/as_popover/index.tsx", + "path": "src/platform/packages/private/kbn-language-documentation/src/components/as_popover/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -125,7 +125,7 @@ "signature": [ "React.NamedExoticComponent & { readonly type: ({ language, sections, searchInDescription, linkToDocumentation, }: DocumentationProps) => React.JSX.Element; }" ], - "path": "packages/kbn-language-documentation/src/components/as_popover/popover_content.tsx", + "path": "src/platform/packages/private/kbn-language-documentation/src/components/as_popover/popover_content.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -156,7 +156,7 @@ "tags": [], "label": "LanguageDocumentationSections", "description": [], - "path": "packages/kbn-language-documentation/src/types.ts", + "path": "src/platform/packages/private/kbn-language-documentation/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -170,7 +170,7 @@ "signature": [ "{ label: string; description?: string | undefined; items: { label: string; description?: JSX.Element | undefined; }[]; }[]" ], - "path": "packages/kbn-language-documentation/src/types.ts", + "path": "src/platform/packages/private/kbn-language-documentation/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -184,7 +184,7 @@ "signature": [ "JSX.Element" ], - "path": "packages/kbn-language-documentation/src/types.ts", + "path": "src/platform/packages/private/kbn-language-documentation/src/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_language_documentation.mdx b/api_docs/kbn_language_documentation.mdx index 763b5f164d8fa..b5ee3a53170b7 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-08 +date: 2024-12-10 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 6020fd79fd2f5..3de194aa8dd62 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-08 +date: 2024-12-10 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 1fbaa90bd326f..2e10d60a23927 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-08 +date: 2024-12-10 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 6883e1d1dca42..b12d106b4540b 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-08 +date: 2024-12-10 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 82e819e8c710a..fabf0158d77f7 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-08 +date: 2024-12-10 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 6c6502340cf90..975c1366844ac 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-08 +date: 2024-12-10 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 e2c540a3cec8f..20f5993d3784e 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-08 +date: 2024-12-10 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 39ae693ced7ed..0fef8c4259ef7 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-08 +date: 2024-12-10 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 fefefe4c8e1cf..4c180b669e6ef 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-08 +date: 2024-12-10 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 a7d2050d15a4d..cb28f1307bdc5 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-08 +date: 2024-12-10 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 638a6cc9e2523..74afbf9357178 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-08 +date: 2024-12-10 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 903e3b65fd8fc..4986de7fed647 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-08 +date: 2024-12-10 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 4055adebdd8a3..d67e63f9fd578 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-08 +date: 2024-12-10 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 b01b1b5458cd9..af5f139fae409 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-08 +date: 2024-12-10 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 921360662339f..d3881d109ada5 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-08 +date: 2024-12-10 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 60ff882f3a953..a1d50b9c81982 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-08 +date: 2024-12-10 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 909350353b2c9..9adad01d8feb8 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-08 +date: 2024-12-10 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 530e405f64c37..331cb1ceddeac 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-08 +date: 2024-12-10 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 d95db1f3995d4..ce8a3fd26d1b2 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-08 +date: 2024-12-10 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 0bd7950c25e11..64218575a83a2 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/manifest'] --- import kbnManifestObj from './kbn_manifest.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index 0c3726dea5743..0e365ab6aebdf 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_maps_vector_tile_utils.mdx index f140aa071e3a6..e0b147e3efe0f 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-08 +date: 2024-12-10 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 8b6e1af49d539..ebfc86245c21e 100644 --- a/api_docs/kbn_ml_agg_utils.devdocs.json +++ b/api_docs/kbn_ml_agg_utils.devdocs.json @@ -33,7 +33,7 @@ "AggregationsAggregationContainer", ">" ], - "path": "x-pack/packages/ml/agg_utils/src/build_sampler_aggregation.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/build_sampler_aggregation.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -49,7 +49,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/agg_utils/src/build_sampler_aggregation.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/build_sampler_aggregation.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -66,7 +66,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/agg_utils/src/build_sampler_aggregation.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/build_sampler_aggregation.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -105,7 +105,7 @@ }, ">" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_agg_intervals.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_agg_intervals.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -127,7 +127,7 @@ "text": "FetchAggIntervalsParams" } ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_agg_intervals.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_agg_intervals.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -158,7 +158,7 @@ }, " | OrdinalChartData | UnsupportedChartData)[]>" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -174,7 +174,7 @@ "signature": [ "FetchHistogramsForFieldsParams" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -197,7 +197,7 @@ "signature": [ "(samplerShardSize: number) => string[]" ], - "path": "x-pack/packages/ml/agg_utils/src/get_sampler_aggregations_response_path.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/get_sampler_aggregations_response_path.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -213,7 +213,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/agg_utils/src/get_sampler_aggregations_response_path.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/get_sampler_aggregations_response_path.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -244,7 +244,7 @@ }, " | undefined) => boolean" ], - "path": "x-pack/packages/ml/agg_utils/src/time_series_metric_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/time_series_metric_fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -267,7 +267,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/agg_utils/src/time_series_metric_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/time_series_metric_fields.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -298,7 +298,7 @@ }, " | undefined) => boolean" ], - "path": "x-pack/packages/ml/agg_utils/src/time_series_metric_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/time_series_metric_fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -321,7 +321,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/agg_utils/src/time_series_metric_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/time_series_metric_fields.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -348,7 +348,7 @@ "AggregationsMultiBucketAggregateBase", "" ], - "path": "x-pack/packages/ml/agg_utils/src/is_multi_bucket_aggregate.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/is_multi_bucket_aggregate.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -364,7 +364,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/agg_utils/src/is_multi_bucket_aggregate.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/is_multi_bucket_aggregate.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -385,7 +385,7 @@ "signature": [ "(arg: unknown) => boolean" ], - "path": "x-pack/packages/ml/agg_utils/src/type_guards.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/type_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -401,7 +401,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/agg_utils/src/type_guards.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/type_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -424,7 +424,7 @@ "signature": [ "(arg: unknown) => boolean" ], - "path": "x-pack/packages/ml/agg_utils/src/type_guards.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/type_guards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -440,7 +440,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/agg_utils/src/type_guards.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/type_guards.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -473,7 +473,7 @@ }, " | null) & _.MemoizedFunction" ], - "path": "x-pack/packages/ml/agg_utils/src/validate_number.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/validate_number.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -489,7 +489,7 @@ "signature": [ "NumberValidatorConditions | undefined" ], - "path": "x-pack/packages/ml/agg_utils/src/validate_number.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/validate_number.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -513,7 +513,7 @@ "description": [ "\nInterface for cardinality aggregation." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -529,7 +529,7 @@ "signature": [ "FieldAggCardinality | ScriptAggCardinality" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -545,7 +545,7 @@ "description": [ "\nInterface for the parameters required to fetch aggregation intervals." ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_agg_intervals.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_agg_intervals.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1815,7 +1815,7 @@ "default", "; }" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_agg_intervals.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_agg_intervals.ts", "deprecated": false, "trackAdoption": false }, @@ -1831,7 +1831,7 @@ "signature": [ "AbortSignal | undefined" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_agg_intervals.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_agg_intervals.ts", "deprecated": false, "trackAdoption": false }, @@ -1859,7 +1859,7 @@ "MappingRuntimeFields", " | undefined; randomSamplerProbability?: number | undefined; randomSamplerSeed?: number | undefined; }" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_agg_intervals.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_agg_intervals.ts", "deprecated": false, "trackAdoption": false } @@ -1875,7 +1875,7 @@ "description": [ "\nField/value pair definition." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1888,7 +1888,7 @@ "description": [ "The field name." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1904,7 +1904,7 @@ "signature": [ "string | number" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1922,7 +1922,7 @@ "description": [ "\nRepresents parameters used to identify which histogram data needs to be generated for a field." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1935,7 +1935,7 @@ "description": [ "\nThe name of the field for which histogram data is generated." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1957,7 +1957,7 @@ "text": "KBN_FIELD_TYPES" } ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1973,7 +1973,7 @@ "description": [ "\nRepresents an item set returned from `frequent_item_sets` augmented\nwith some metadata related to log rate analysis." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1996,7 +1996,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2009,7 +2009,7 @@ "description": [ "The size of the item set." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2022,7 +2022,7 @@ "description": [ "The maximum p-value associated with the item set." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2035,7 +2035,7 @@ "description": [ "The document count of the item set." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2048,7 +2048,7 @@ "description": [ "The support value of the item set." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2061,7 +2061,7 @@ "description": [ "The total document count." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -2079,7 +2079,7 @@ "description": [ "\nInterface describing the data structure returned for numeric-based charts." ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2102,7 +2102,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false }, @@ -2115,7 +2115,7 @@ "description": [ "\nThe identifier for the data set." ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false }, @@ -2128,7 +2128,7 @@ "description": [ "\nThe interval value for the data." ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false }, @@ -2144,7 +2144,7 @@ "signature": [ "[number, number]" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false }, @@ -2160,7 +2160,7 @@ "signature": [ "\"numeric\"" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false } @@ -2178,7 +2178,7 @@ "description": [ "\nInterface describing attributes used for numeric histograms." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2191,7 +2191,7 @@ "description": [ "The interval value for the histogram." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2204,7 +2204,7 @@ "description": [ "The minimum value in the histogram." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2217,7 +2217,7 @@ "description": [ "The maximum value in the histogram." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -2235,7 +2235,7 @@ "description": [ "\nRepresents an item in numeric data." ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2248,7 +2248,7 @@ "description": [ "\nThe numeric key." ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false }, @@ -2264,7 +2264,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false }, @@ -2277,7 +2277,7 @@ "description": [ "\nThe document count associated with the key." ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false } @@ -2310,7 +2310,7 @@ "text": "HistogramField" } ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2341,7 +2341,7 @@ }, ".NUMBER" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false } @@ -2377,7 +2377,7 @@ "text": "FieldValuePair" } ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2390,7 +2390,7 @@ "description": [ "The key associated with the significant item." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2406,7 +2406,7 @@ "signature": [ "\"keyword\" | \"log_pattern\"" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2419,7 +2419,7 @@ "description": [ "The document count for the significant item." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2432,7 +2432,7 @@ "description": [ "The background count for the significant item." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2445,7 +2445,7 @@ "description": [ "The total document count for all items." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2458,7 +2458,7 @@ "description": [ "The total background count for all items." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2471,7 +2471,7 @@ "description": [ "The score associated with the significant item." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2487,7 +2487,7 @@ "signature": [ "number | null" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2500,7 +2500,7 @@ "description": [ "The normalized score for the significant item." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2523,7 +2523,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2539,7 +2539,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2555,7 +2555,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -2573,7 +2573,7 @@ "description": [ "\nRepresents a significant item group." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2586,7 +2586,7 @@ "description": [ "The identifier for the item." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2609,7 +2609,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2622,7 +2622,7 @@ "description": [ "The document count associated with this item." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2638,7 +2638,7 @@ "signature": [ "number | null" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2661,7 +2661,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -2679,7 +2679,7 @@ "description": [ "\nRepresents histogram data for a group of field/value pairs." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2692,7 +2692,7 @@ "description": [ "The identifier for the group." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2715,7 +2715,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -2750,7 +2750,7 @@ "text": "FieldValuePair" } ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2763,7 +2763,7 @@ "description": [ "The key associated with the significant item." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2779,7 +2779,7 @@ "signature": [ "\"keyword\" | \"log_pattern\"" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2792,7 +2792,7 @@ "description": [ "The document count associated with this item." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2808,7 +2808,7 @@ "signature": [ "number | null" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2824,7 +2824,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -2859,7 +2859,7 @@ "text": "FieldValuePair" } ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2882,7 +2882,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -2908,7 +2908,7 @@ }, " extends SignificantItemHistogramItemBase" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2921,7 +2921,7 @@ "description": [ "The document count for this histogram item in the significant item context." ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -2939,7 +2939,7 @@ "description": [ "\nAll available types for time series metric fields" ], - "path": "x-pack/packages/ml/agg_utils/src/time_series_metric_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/time_series_metric_fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2958,7 +2958,7 @@ "signature": [ "5000" ], - "path": "x-pack/packages/ml/agg_utils/src/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/field_histograms.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2983,7 +2983,7 @@ }, " | NumericHistogramFieldWithColumnStats | OrdinalHistogramField | UnsupportedHistogramField)[]" ], - "path": "x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3002,7 +3002,7 @@ "signature": [ "{ [key: string]: boolean; } & { min?: boolean | undefined; max?: boolean | undefined; integerOnly?: boolean | undefined; }" ], - "path": "x-pack/packages/ml/agg_utils/src/validate_number.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/validate_number.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3027,7 +3027,7 @@ }, "; }" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3044,7 +3044,7 @@ "signature": [ "\"keyword\" | \"log_pattern\"" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3063,7 +3063,7 @@ "signature": [ "{ readonly KEYWORD: \"keyword\"; readonly LOG_PATTERN: \"log_pattern\"; }" ], - "path": "x-pack/packages/ml/agg_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/agg_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index db6fb1841b56b..ff0fc16114bba 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_anomaly_utils.devdocs.json index 90796eb0b5e84..dd9541f3a9705 100644 --- a/api_docs/kbn_ml_anomaly_utils.devdocs.json +++ b/api_docs/kbn_ml_anomaly_utils.devdocs.json @@ -31,7 +31,7 @@ "signature": [ "(score: number) => number" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47,7 +47,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -86,7 +86,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -108,7 +108,7 @@ "text": "MlAnomalyRecordDoc" } ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -137,7 +137,7 @@ }, ") => string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -159,7 +159,7 @@ "text": "MlAnomalyRecordDoc" } ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -188,7 +188,7 @@ }, ") => string | number | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -210,7 +210,7 @@ "text": "MlAnomalyRecordDoc" } ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -231,7 +231,7 @@ "signature": [ "(score: number) => string" ], - "path": "x-pack/packages/ml/anomaly_utils/get_formatted_severity_score.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/get_formatted_severity_score.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -247,7 +247,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/anomaly_utils/get_formatted_severity_score.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/get_formatted_severity_score.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -275,7 +275,7 @@ "text": "MlSeverityType" } ], - "path": "x-pack/packages/ml/anomaly_utils/get_severity.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/get_severity.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -291,7 +291,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/anomaly_utils/get_severity.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/get_severity.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -312,7 +312,7 @@ "signature": [ "(normalizedScore: number) => string" ], - "path": "x-pack/packages/ml/anomaly_utils/get_severity_color.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_color.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -328,7 +328,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/anomaly_utils/get_severity_color.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_color.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -356,7 +356,7 @@ "text": "ML_ANOMALY_SEVERITY" } ], - "path": "x-pack/packages/ml/anomaly_utils/get_severity_type.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -372,7 +372,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/anomaly_utils/get_severity_type.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -400,7 +400,7 @@ "text": "MlSeverityType" } ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -416,7 +416,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -445,7 +445,7 @@ }, ") => boolean" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -467,7 +467,7 @@ "text": "MlAnomaliesTableRecord" } ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -488,7 +488,7 @@ "signature": [ "(arg: unknown) => boolean" ], - "path": "x-pack/packages/ml/anomaly_utils/custom_urls.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -504,7 +504,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/anomaly_utils/custom_urls.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -535,7 +535,7 @@ }, ") => boolean" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -557,7 +557,7 @@ "text": "MlAnomalyRecordDoc" } ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -586,7 +586,7 @@ }, ") => boolean" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -608,7 +608,7 @@ "text": "MlAnomalyRecordDoc" } ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -629,7 +629,7 @@ "signature": [ "(functionDescription: string) => boolean" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -645,7 +645,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -666,7 +666,7 @@ "signature": [ "(functionDescription: string) => boolean" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -682,7 +682,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -702,7 +702,7 @@ "description": [ "\nDefinition for a pair of aggregation and field name." ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -715,7 +715,7 @@ "description": [ "\nThe aggregation definition." ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -728,7 +728,7 @@ "description": [ "\nThe field name" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -744,7 +744,7 @@ "signature": [ "{ field: string | null; value: string | null; } | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -760,7 +760,7 @@ "signature": [ "{ field: string | null; value: string | null; } | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -776,7 +776,7 @@ "signature": [ "{ field: string | null; value: string | null; } | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -792,7 +792,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false } @@ -808,7 +808,7 @@ "description": [ "\nDefinition for a pair of aggregation and field." ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -830,7 +830,7 @@ "text": "Aggregation" } ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -852,7 +852,7 @@ "text": "Field" } ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -876,7 +876,7 @@ }, "; value: string | null; } | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -900,7 +900,7 @@ }, "; value: string | null; } | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -924,7 +924,7 @@ }, "; value: string | null; } | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -940,7 +940,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false } @@ -956,7 +956,7 @@ "description": [ "\nAggregation definition." ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -978,7 +978,7 @@ "text": "ML_JOB_AGGREGATION" } ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -991,7 +991,7 @@ "description": [ "\nThe aggregation title." ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1014,7 +1014,7 @@ }, " | null" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1037,7 +1037,7 @@ }, " | null" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1053,7 +1053,7 @@ "signature": [ "\"metrics\"" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1069,7 +1069,7 @@ "signature": [ "{ min: string; max: string; }" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1085,7 +1085,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1108,7 +1108,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false } @@ -1124,7 +1124,7 @@ "description": [ "\nField definition" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1137,7 +1137,7 @@ "description": [ "\nThe field id" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1150,7 +1150,7 @@ "description": [ "\nThe field name" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1172,7 +1172,7 @@ "text": "ES_FIELD_TYPES" } ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1185,7 +1185,7 @@ "description": [ "\nFlag whether the field is aggregatable." ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1198,7 +1198,7 @@ "description": [ "\nFlag for counter." ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1221,7 +1221,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1244,7 +1244,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -1261,7 +1261,7 @@ "MappingRuntimeField", " | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false } @@ -1277,7 +1277,7 @@ "description": [ "\nAnomaly table record, representing the fields shown in the ML UI anomalies table." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1290,7 +1290,7 @@ "description": [ "\nThe start time of the interval for which the anomaly data in the table is being aggregated.\nAnomalies in the table are commonly aggregated by day, hour, or at the bucket span of the job." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1312,7 +1312,7 @@ "text": "MlAnomalyRecordDoc" } ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1325,7 +1325,7 @@ "description": [ "\nUnique identifier for the table row." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1338,7 +1338,7 @@ "description": [ "\nIdentifier for the anomaly detection job." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1351,7 +1351,7 @@ "description": [ "\nA unique identifier for the detector.\nThis identifier is based on the order of the detectors in the analysis configuration, starting at zero." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1364,7 +1364,7 @@ "description": [ "\nSeverity of the anomaly displaying the anomaly record_score, a normalized score between 0-100,\nwhich is based on the probability of the anomalousness of this record." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1380,7 +1380,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1396,7 +1396,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1412,7 +1412,7 @@ "signature": [ "{ [key: string]: any; }[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1428,7 +1428,7 @@ "signature": [ "number[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1444,7 +1444,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1460,7 +1460,7 @@ "signature": [ "number[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1476,7 +1476,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1492,7 +1492,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1515,7 +1515,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1531,7 +1531,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1547,7 +1547,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1563,7 +1563,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false } @@ -1596,7 +1596,7 @@ "text": "MlAnomaliesTableRecord" } ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1609,7 +1609,7 @@ "description": [ "\nThe detector name." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1625,7 +1625,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false } @@ -1641,7 +1641,7 @@ "description": [ "\nAnomaly record document for categorizer stats." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1657,7 +1657,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1670,7 +1670,7 @@ "description": [ "\nThe identifier for the anomaly detection job." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1686,7 +1686,7 @@ "signature": [ "\"categorizer_stats\"" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1702,7 +1702,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1718,7 +1718,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1731,7 +1731,7 @@ "description": [ "\nThe number of documents." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1744,7 +1744,7 @@ "description": [ "\nThe total number of categories." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1757,7 +1757,7 @@ "description": [ "\nThe number of frequent categories." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1770,7 +1770,7 @@ "description": [ "\nThe number of rare categories." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1783,7 +1783,7 @@ "description": [ "\nThe number of dead categories." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1796,7 +1796,7 @@ "description": [ "\nThe number of failed categories." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1812,7 +1812,7 @@ "signature": [ "\"ok\" | \"warn\"" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1825,7 +1825,7 @@ "description": [ "\nThe log time." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1838,7 +1838,7 @@ "description": [ "\nThe start time of the bucket for which these results were calculated." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false } @@ -1854,7 +1854,7 @@ "description": [ "\nAnomaly record document. Records contain the detailed analytical results.\nThey describe the anomalous activity that has been identified in the input data based on the detector configuration." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1870,7 +1870,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1883,7 +1883,7 @@ "description": [ "\nThe identifier for the anomaly detection job." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1896,7 +1896,7 @@ "description": [ "\nThe type of the result document, which is 'record' for record level results." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1909,7 +1909,7 @@ "description": [ "\nThe probability of the individual anomaly occurring, in the range 0 to 1.\nThis value can be held to a high precision of over 300 decimal places,\nso the record_score is provided as a human-readable and friendly interpretation of this." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1922,7 +1922,7 @@ "description": [ "\nA normalized score between 0-100, which is based on the probability of the anomalousness of this record.\nUnlike initial_record_score, this value will be updated by a re-normalization process as new data is analyzed." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1935,7 +1935,7 @@ "description": [ "\nA normalized score between 0-100, which is based on the probability of the anomalousness of this record.\nThis is the initial value that was calculated at the time the bucket was processed." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1948,7 +1948,7 @@ "description": [ "\nThe length of the bucket in seconds. This value matches the bucket_span that is specified in the job." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1961,7 +1961,7 @@ "description": [ "\nA unique identifier for the detector. This identifier is based on the order of the detectors\nin the analysis configuration, starting at zero." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1974,7 +1974,7 @@ "description": [ "\nIf true, this is an interim result. In other words, the results are calculated based on partial input data." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1987,7 +1987,7 @@ "description": [ "\nThe start time of the bucket for which these results were calculated." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2003,7 +2003,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2019,7 +2019,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2032,7 +2032,7 @@ "description": [ "\nThe function in which the anomaly occurs, as specified in the detector configuration. For example, max." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2045,7 +2045,7 @@ "description": [ "\nThe description of the function in which the anomaly occurs, as specified in the detector configuration." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2061,7 +2061,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2077,7 +2077,7 @@ "signature": [ "number[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2093,7 +2093,7 @@ "signature": [ "number[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2116,7 +2116,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2132,7 +2132,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2148,7 +2148,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2164,7 +2164,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2180,7 +2180,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2196,7 +2196,7 @@ "signature": [ "{ function: string; function_description: string; probability: number; actual: number[]; typical: number[]; field_name?: string | undefined; over_field_name?: string | undefined; over_field_value?: string | undefined; by_field_name?: string | undefined; by_field_value?: string | undefined; partition_field_name?: string | undefined; partition_field_value?: string | number | undefined; }[] | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2212,7 +2212,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2228,7 +2228,7 @@ "signature": [ "{ anomaly_type?: \"spike\" | \"dip\" | undefined; anomaly_length?: number | undefined; single_bucket_impact?: number | undefined; multi_bucket_impact?: number | undefined; anomaly_characteristics_impact?: number | undefined; lower_confidence_bound?: number | undefined; typical_value?: number | undefined; upper_confidence_bound?: number | undefined; high_variance_penalty?: boolean | undefined; incomplete_bucket_penalty?: boolean | undefined; multimodal_distribution?: boolean | undefined; } | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false } @@ -2261,7 +2261,7 @@ "text": "MlAnomalyRecordDoc" } ], - "path": "x-pack/packages/ml/anomaly_utils/custom_urls.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2274,7 +2274,7 @@ "description": [ "\nThe `earliest` timestamp." ], - "path": "x-pack/packages/ml/anomaly_utils/custom_urls.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts", "deprecated": false, "trackAdoption": false }, @@ -2287,7 +2287,7 @@ "description": [ "\nThe `latest` timestamp." ], - "path": "x-pack/packages/ml/anomaly_utils/custom_urls.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts", "deprecated": false, "trackAdoption": false } @@ -2303,7 +2303,7 @@ "description": [ "\nInterface of an entity field" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2316,7 +2316,7 @@ "description": [ "\nThe field name" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false }, @@ -2332,7 +2332,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false }, @@ -2355,7 +2355,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false }, @@ -2378,7 +2378,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false }, @@ -2394,7 +2394,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false } @@ -2410,7 +2410,7 @@ "description": [ "\nInfluencers are the entities that have contributed to, or are to blame for, the anomalies.\nInfluencer results are available only if an influencer_field_name is specified in the job configuration." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2423,7 +2423,7 @@ "description": [ "\nThe field name of the influencer." ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2439,7 +2439,7 @@ "signature": [ "string[]" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false } @@ -2465,7 +2465,7 @@ }, " extends BaseUrlConfig" ], - "path": "x-pack/packages/ml/anomaly_utils/custom_urls.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2481,7 +2481,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/custom_urls.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts", "deprecated": false, "trackAdoption": false }, @@ -2495,7 +2495,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/anomaly_utils/custom_urls.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts", "deprecated": false, "trackAdoption": false } @@ -2511,7 +2511,7 @@ "description": [ "\nInterface for severity types to be used in ML_ANOMALY_SEVERITY_TYPES." ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_severity.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2533,7 +2533,7 @@ "text": "ML_ANOMALY_SEVERITY" } ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_severity.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity.ts", "deprecated": false, "trackAdoption": false }, @@ -2546,7 +2546,7 @@ "description": [ "\nTranslated ML_ANOMALY_SEVERITY" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_severity.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity.ts", "deprecated": false, "trackAdoption": false } @@ -2562,7 +2562,7 @@ "description": [ "\nJob caps for a new job." ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2585,7 +2585,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -2608,7 +2608,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false } @@ -2624,7 +2624,7 @@ "description": [ "\nJob caps response for a new job." ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2647,7 +2647,7 @@ "text": "NewJobCaps" } ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false } @@ -2665,7 +2665,7 @@ "description": [ "\nEnum for ES aggregatins." ], - "path": "x-pack/packages/ml/anomaly_utils/aggregation_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2679,7 +2679,7 @@ "description": [ "\nEnum for Kibana aggregations." ], - "path": "x-pack/packages/ml/anomaly_utils/aggregation_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2693,7 +2693,7 @@ "description": [ "\nLabels displayed in the ML UI to indicate the severity of the anomaly according\nto the normalized anomaly score." ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_severity.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2707,7 +2707,7 @@ "description": [ "\nAnomaly score numeric thresholds to indicate the severity of the anomaly." ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_threshold.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_threshold.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2721,7 +2721,7 @@ "description": [ "\nEnum ML_DETECTOR_RULE_ACTION" ], - "path": "x-pack/packages/ml/anomaly_utils/detector_rule.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/detector_rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2735,7 +2735,7 @@ "description": [ "\nEnum ML_DETECTOR_RULE_APPLIES_TO" ], - "path": "x-pack/packages/ml/anomaly_utils/detector_rule.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/detector_rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2749,7 +2749,7 @@ "description": [ "\nEnum ML_DETECTOR_RULE_FILTER_TYPE" ], - "path": "x-pack/packages/ml/anomaly_utils/detector_rule.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/detector_rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2763,7 +2763,7 @@ "description": [ "\nEnum ML_DETECTOR_RULE_OPERATOR" ], - "path": "x-pack/packages/ml/anomaly_utils/detector_rule.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/detector_rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2777,7 +2777,7 @@ "description": [ "\nEnum of entity field types" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2791,7 +2791,7 @@ "description": [ "\nEnum for ML job aggregations." ], - "path": "x-pack/packages/ml/anomaly_utils/aggregation_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2810,7 +2810,7 @@ "signature": [ "\"_doc_count\"" ], - "path": "x-pack/packages/ml/anomaly_utils/field_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/field_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2833,7 +2833,7 @@ "text": "ML_JOB_AGGREGATION" } ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2850,7 +2850,7 @@ "signature": [ "\"doc_count\"" ], - "path": "x-pack/packages/ml/anomaly_utils/field_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/field_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2867,7 +2867,7 @@ "signature": [ "\"__ml_event_rate_count__\"" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2884,7 +2884,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2901,7 +2901,7 @@ "signature": [ "QueryDslQueryContainer" ], - "path": "x-pack/packages/ml/anomaly_utils/es_client.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/es_client.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2918,7 +2918,7 @@ "signature": [ "\"metrics\"" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2935,7 +2935,7 @@ "signature": [ "string[]" ], - "path": "x-pack/packages/ml/anomaly_utils/detector_rule.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/detector_rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2949,7 +2949,7 @@ "description": [ "\nEnum ML_DETECTOR_RULE_PARAMS" ], - "path": "x-pack/packages/ml/anomaly_utils/detector_rule.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/detector_rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2963,7 +2963,7 @@ "description": [ "\nEnum ML_DETECTOR_RULE_PARAMS_FORCE_TIME_SHIFT" ], - "path": "x-pack/packages/ml/anomaly_utils/detector_rule.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/detector_rule.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2980,7 +2980,7 @@ "signature": [ "\"job_id\"" ], - "path": "x-pack/packages/ml/anomaly_utils/constants.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2997,7 +2997,7 @@ "signature": [ "\"partition_field_value\"" ], - "path": "x-pack/packages/ml/anomaly_utils/constants.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3022,7 +3022,7 @@ }, "; color: string; }[]" ], - "path": "x-pack/packages/ml/anomaly_utils/constants.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3045,7 +3045,7 @@ "text": "MlAnomalyRecordDoc" } ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3062,7 +3062,7 @@ "signature": [ "\"bucket\" | \"record\" | \"influencer\"" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3079,7 +3079,7 @@ "signature": [ "\"mlcategory\"" ], - "path": "x-pack/packages/ml/anomaly_utils/field_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/field_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3096,7 +3096,7 @@ "signature": [ "\"+\" | \"-\"" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3113,7 +3113,7 @@ "signature": [ "\"partition_field\" | \"over_field\" | \"by_field\"" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3137,7 +3137,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/anomaly_utils/aggregation_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3161,7 +3161,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/anomaly_utils/aggregation_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3178,7 +3178,7 @@ "signature": [ "\"number\" | \"boolean\" | \"unknown\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"keyword\" | \"text\" | \"date\"" ], - "path": "x-pack/packages/ml/anomaly_utils/field_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/field_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3195,7 +3195,7 @@ "signature": [ "\"partition_field\" | \"over_field\" | \"by_field\"" ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3218,7 +3218,7 @@ "text": "MlAnomalyRecordDoc" } ], - "path": "x-pack/packages/ml/anomaly_utils/types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3242,7 +3242,7 @@ }, " | BaseUrlConfig" ], - "path": "x-pack/packages/ml/anomaly_utils/custom_urls.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3259,7 +3259,7 @@ "signature": [ "string[]" ], - "path": "x-pack/packages/ml/anomaly_utils/field_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/field_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3284,7 +3284,7 @@ }, ">]; }" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3348,7 +3348,7 @@ }, ".LOW_NON_NULL_SUM" ], - "path": "x-pack/packages/ml/anomaly_utils/aggregation_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3372,7 +3372,7 @@ }, " | null" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3388,7 +3388,7 @@ "description": [ "\nTwo functions for converting aggregation type names.\nML and ES use different names for the same function.\nPossible values for ML aggregation type are (defined in lib/model/CAnomalyDetector.cc):\n count\n distinct_count\n rare\n info_content\n mean\n median\n min\n max\n varp\n sum\n lat_long\n time\nThe input to toES and the output from toML correspond to the value of the\nfunction_description field of anomaly records." ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3404,7 +3404,7 @@ "signature": [ "(oldAggType: string) => string" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3420,7 +3420,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3440,7 +3440,7 @@ "signature": [ "(oldAggType: string) => string" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3456,7 +3456,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3479,7 +3479,7 @@ "signature": [ "{ readonly BUCKET: \"bucket\"; readonly RECORD: \"record\"; readonly INFLUENCER: \"influencer\"; }" ], - "path": "x-pack/packages/ml/anomaly_utils/constants.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3496,7 +3496,7 @@ "signature": [ "{ readonly ADD: \"+\"; readonly REMOVE: \"-\"; }" ], - "path": "x-pack/packages/ml/anomaly_utils/anomaly_utils.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3513,7 +3513,7 @@ "signature": [ "{ readonly BOOLEAN: \"boolean\"; readonly DATE: \"date\"; readonly GEO_POINT: \"geo_point\"; readonly GEO_SHAPE: \"geo_shape\"; readonly IP: \"ip\"; readonly KEYWORD: \"keyword\"; readonly NUMBER: \"number\"; readonly TEXT: \"text\"; readonly UNKNOWN: \"unknown\"; }" ], - "path": "x-pack/packages/ml/anomaly_utils/field_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/field_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3530,7 +3530,7 @@ "signature": [ "readonly [\"partition_field\", \"over_field\", \"by_field\"]" ], - "path": "x-pack/packages/ml/anomaly_utils/constants.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3544,7 +3544,7 @@ "description": [ "\nRGB hex codes used to indicate the severity of an anomaly according to its anomaly score." ], - "path": "x-pack/packages/ml/anomaly_utils/severity_colors.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/severity_colors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3557,7 +3557,7 @@ "description": [ "/**\n * Color used in the UI to indicate a critical anomaly, with a score greater than or equal to 75.\n */" ], - "path": "x-pack/packages/ml/anomaly_utils/severity_colors.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/severity_colors.ts", "deprecated": false, "trackAdoption": false }, @@ -3570,7 +3570,7 @@ "description": [ "/**\n * Color used in the UI to indicate a major anomaly, with a score greater than or equal to 50 and less than 75 .\n */" ], - "path": "x-pack/packages/ml/anomaly_utils/severity_colors.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/severity_colors.ts", "deprecated": false, "trackAdoption": false }, @@ -3583,7 +3583,7 @@ "description": [ "/**\n * Color used in the UI to indicate a minor anomaly, with a score greater than or equal to 25 and less than 50.\n */" ], - "path": "x-pack/packages/ml/anomaly_utils/severity_colors.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/severity_colors.ts", "deprecated": false, "trackAdoption": false }, @@ -3596,7 +3596,7 @@ "description": [ "/**\n * Color used in the UI to indicate a warning anomaly, with a score greater than or equal to 3 and less than 25.\n * Note in some parts of the UI, warning severity is used when the score is greater than or equal to 0.\n */" ], - "path": "x-pack/packages/ml/anomaly_utils/severity_colors.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/severity_colors.ts", "deprecated": false, "trackAdoption": false }, @@ -3609,7 +3609,7 @@ "description": [ "/**\n * Color used in some parts of the UI to indicate a low severity anomaly, with a score greater than or equal to 0 and less than 3.\n */" ], - "path": "x-pack/packages/ml/anomaly_utils/severity_colors.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/severity_colors.ts", "deprecated": false, "trackAdoption": false }, @@ -3622,7 +3622,7 @@ "description": [ "/**\n * Color used in the UI to indicate an anomaly for which the score is unknown.\n */" ], - "path": "x-pack/packages/ml/anomaly_utils/severity_colors.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/severity_colors.ts", "deprecated": false, "trackAdoption": false } @@ -3638,7 +3638,7 @@ "description": [ "\nDefinition for an ml category." ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3651,7 +3651,7 @@ "description": [ "/**\n * id `mlcategory` id\n */" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -3664,7 +3664,7 @@ "description": [ "/**\n * name `mlcategory`\n */" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -3687,7 +3687,7 @@ }, ".KEYWORD" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -3703,7 +3703,7 @@ "signature": [ "false" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false }, @@ -3719,7 +3719,7 @@ "signature": [ "false" ], - "path": "x-pack/packages/ml/anomaly_utils/fields.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts", "deprecated": false, "trackAdoption": false } @@ -3786,7 +3786,7 @@ }, ".LOW_NON_NULL_SUM]" ], - "path": "x-pack/packages/ml/anomaly_utils/aggregation_types.ts", + "path": "x-pack/platform/packages/shared/ml/anomaly_utils/aggregation_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_anomaly_utils.mdx b/api_docs/kbn_ml_anomaly_utils.mdx index 1e1c9a6434285..4db52f230beba 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_cancellable_search.devdocs.json index 0cb4441ffc548..583e489c63547 100644 --- a/api_docs/kbn_ml_cancellable_search.devdocs.json +++ b/api_docs/kbn_ml_cancellable_search.devdocs.json @@ -53,7 +53,7 @@ }, ">(requestBody: RequestBody, options?: {}) => Promise; cancelRequest: () => void; isLoading: boolean; }" ], - "path": "x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts", + "path": "x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -73,7 +73,7 @@ "text": "DataPublicPluginStart" } ], - "path": "x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts", + "path": "x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -91,7 +91,7 @@ "tags": [], "label": "UseCancellableSearch", "description": [], - "path": "x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts", + "path": "x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -121,7 +121,7 @@ }, ">(requestBody: RequestBody, options?: object | undefined) => Promise" ], - "path": "x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts", + "path": "x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -135,7 +135,7 @@ "signature": [ "RequestBody" ], - "path": "x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts", + "path": "x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -150,7 +150,7 @@ "signature": [ "object | undefined" ], - "path": "x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts", + "path": "x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -168,7 +168,7 @@ "signature": [ "() => void" ], - "path": "x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts", + "path": "x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -181,7 +181,7 @@ "tags": [], "label": "isLoading", "description": [], - "path": "x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts", + "path": "x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_ml_cancellable_search.mdx b/api_docs/kbn_ml_cancellable_search.mdx index 6ab3d1cbc0505..8f2d2ccdf2544 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_category_validator.devdocs.json index 701517ae7cecc..6d3bdd64b51dc 100644 --- a/api_docs/kbn_ml_category_validator.devdocs.json +++ b/api_docs/kbn_ml_category_validator.devdocs.json @@ -95,7 +95,7 @@ }, "[]; }[]; }>; }" ], - "path": "x-pack/packages/ml/category_validator/src/examples.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/src/examples.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -117,7 +117,7 @@ "text": "IScopedClusterClient" } ], - "path": "x-pack/packages/ml/category_validator/src/examples.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/src/examples.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -137,7 +137,7 @@ "description": [ "\nField example for a category." ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -150,7 +150,7 @@ "description": [ "\nThe text of the field example." ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false }, @@ -173,7 +173,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false } @@ -189,7 +189,7 @@ "description": [ "\nResult of a field example check." ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -211,7 +211,7 @@ "text": "VALIDATION_RESULT" } ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false }, @@ -233,7 +233,7 @@ "text": "CATEGORY_EXAMPLES_VALIDATION_STATUS" } ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false }, @@ -246,7 +246,7 @@ "description": [ "\nThe message associated with the validation result." ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false } @@ -262,7 +262,7 @@ "description": [ "\nValidation results for a specific field." ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -287,7 +287,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false }, @@ -302,7 +302,7 @@ "description": [ "\nThe total number of examples used for validation." ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false }, @@ -326,7 +326,7 @@ "text": "CATEGORY_EXAMPLES_VALIDATION_STATUS" } ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false }, @@ -351,7 +351,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false } @@ -367,7 +367,7 @@ "description": [ "\nToken" ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -380,7 +380,7 @@ "description": [ "\nThe token string." ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false }, @@ -393,7 +393,7 @@ "description": [ "\nThe starting offset of the token." ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false }, @@ -406,7 +406,7 @@ "description": [ "\nThe ending offset of the token." ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false }, @@ -419,7 +419,7 @@ "description": [ "\nThe type of the token." ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false }, @@ -432,7 +432,7 @@ "description": [ "\nThe position of the token." ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false } @@ -450,7 +450,7 @@ "description": [ "\nEnum representing the validation status of category examples." ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -464,7 +464,7 @@ "description": [ "\nEnum representing the validation results for field examples." ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -484,7 +484,7 @@ "MlCategorizationAnalyzerDefinition", " & { analyzer?: string | undefined; }" ], - "path": "x-pack/packages/ml/category_validator/common/types/categories.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -501,7 +501,7 @@ "signature": [ "0.02" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -518,7 +518,7 @@ "signature": [ "1000" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -535,7 +535,7 @@ "signature": [ "0.75" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -552,7 +552,7 @@ "signature": [ "400" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -569,7 +569,7 @@ "signature": [ "0.75" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -586,7 +586,7 @@ "signature": [ "3" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -602,7 +602,7 @@ "description": [ "\nDescription for each validation result." ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -615,7 +615,7 @@ "description": [ "/**\n * Examples were successfully loaded.\n */" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false }, @@ -628,7 +628,7 @@ "description": [ "/**\n * The loaded examples were tokenized successfully.\n */" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false }, @@ -641,7 +641,7 @@ "description": [ "/**\n * More than {tokenCount} tokens per example were found in over {percentage}% of the loaded examples.\n */" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false }, @@ -654,7 +654,7 @@ "description": [ "/**\n * The median line length of the loaded examples was less than {medianCharCount} characters.\n */" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false }, @@ -667,7 +667,7 @@ "description": [ "/**\n * Less than {percentage}% of the loaded examples were null.\n */" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false }, @@ -680,7 +680,7 @@ "description": [ "/**\n * Less than 10000 tokens were found in total in the loaded examples.\n */" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false }, @@ -693,7 +693,7 @@ "description": [ "/**\n * The user has sufficient privileges to perform the checks.\n */" ], - "path": "x-pack/packages/ml/category_validator/common/constants/categorization.ts", + "path": "x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_ml_category_validator.mdx b/api_docs/kbn_ml_category_validator.mdx index 9254930ffca25..57f44e3457aa2 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_chi2test.devdocs.json index d5adcc897813f..80dcaa156ee1d 100644 --- a/api_docs/kbn_ml_chi2test.devdocs.json +++ b/api_docs/kbn_ml_chi2test.devdocs.json @@ -47,7 +47,7 @@ }, "[]) => number" ], - "path": "x-pack/packages/ml/chi2test/compute_chi_2_pvalue.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/compute_chi_2_pvalue.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -70,7 +70,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/chi2test/compute_chi_2_pvalue.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/compute_chi_2_pvalue.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -94,7 +94,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/chi2test/compute_chi_2_pvalue.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/compute_chi_2_pvalue.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -119,7 +119,7 @@ "signature": [ "(chi2Statistic: number, df: number) => number" ], - "path": "x-pack/packages/ml/chi2test/critical_table_lookup.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/critical_table_lookup.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -135,7 +135,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/chi2test/critical_table_lookup.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/critical_table_lookup.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -152,7 +152,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/chi2test/critical_table_lookup.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/critical_table_lookup.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -174,7 +174,7 @@ "description": [ "\nInterface for the Histogram type used by computeChi2PValue." ], - "path": "x-pack/packages/ml/chi2test/types.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -187,7 +187,7 @@ "description": [ "\nThe doc count." ], - "path": "x-pack/packages/ml/chi2test/types.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/types.ts", "deprecated": false, "trackAdoption": false }, @@ -203,7 +203,7 @@ "signature": [ "string | number" ], - "path": "x-pack/packages/ml/chi2test/types.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/types.ts", "deprecated": false, "trackAdoption": false }, @@ -219,7 +219,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/chi2test/types.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/types.ts", "deprecated": false, "trackAdoption": false } @@ -241,7 +241,7 @@ "signature": [ "number[][]" ], - "path": "x-pack/packages/ml/chi2test/constants.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -258,7 +258,7 @@ "signature": [ "number[]" ], - "path": "x-pack/packages/ml/chi2test/constants.ts", + "path": "x-pack/platform/packages/shared/ml/chi2test/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_chi2test.mdx b/api_docs/kbn_ml_chi2test.mdx index 133915f875ab9..f5ccbecdde615 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_data_frame_analytics_utils.devdocs.json index f4789fd7cf81b..df92540b4065d 100644 --- a/api_docs/kbn_ml_data_frame_analytics_utils.devdocs.json +++ b/api_docs/kbn_ml_data_frame_analytics_utils.devdocs.json @@ -40,7 +40,7 @@ "text": "DataFrameAnalysisConfigType" } ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -56,7 +56,7 @@ "signature": [ "MlDataframeAnalysisContainer" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -79,7 +79,7 @@ "MlDataframeAnalysisContainer", ") => string" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -95,7 +95,7 @@ "signature": [ "MlDataframeAnalysisContainer" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -118,7 +118,7 @@ "MlDataframeAnalysisContainer", ") => string" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -134,7 +134,7 @@ "signature": [ "MlDataframeAnalysisContainer" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -157,7 +157,7 @@ "MlDataframeAnalysisContainer", ") => number | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_classes.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_classes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -173,7 +173,7 @@ "signature": [ "MlDataframeAnalysisContainer" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_classes.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_classes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -196,7 +196,7 @@ "MlDataframeAnalysisContainer", ") => number | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -212,7 +212,7 @@ "signature": [ "MlDataframeAnalysisContainer" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -235,7 +235,7 @@ "MlDataframeAnalysisContainer", ") => string | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -251,7 +251,7 @@ "signature": [ "MlDataframeAnalysisContainer" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -274,7 +274,7 @@ "MlDataframeAnalysisContainer", ") => number | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -290,7 +290,7 @@ "signature": [ "MlDataframeAnalysisContainer" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -318,7 +318,7 @@ "text": "ClassificationAnalysis" } ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -334,7 +334,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -355,7 +355,7 @@ "signature": [ "(arg: unknown) => boolean" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -371,7 +371,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -392,7 +392,7 @@ "signature": [ "(arg: unknown) => boolean" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -408,7 +408,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -429,7 +429,7 @@ "signature": [ "(arg: unknown) => boolean" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -445,7 +445,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -473,7 +473,7 @@ "text": "OutlierAnalysis" } ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -489,7 +489,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -517,7 +517,7 @@ "text": "RegressionAnalysis" } ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -533,7 +533,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -554,7 +554,7 @@ "signature": [ "(arg: unknown) => boolean" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -570,7 +570,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -591,7 +591,7 @@ "signature": [ "(arg: unknown) => boolean" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -607,7 +607,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -636,7 +636,7 @@ }, ") => number" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -652,7 +652,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -669,7 +669,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -692,7 +692,7 @@ "text": "DataFrameAnalyticsConfig" } ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -712,7 +712,7 @@ "description": [ "\nInterface for an edge element for the map view" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -728,7 +728,7 @@ "signature": [ "{ id: string; source: string; target: string; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -744,7 +744,7 @@ "description": [ "\nInterface for a node element for the map view" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -760,7 +760,7 @@ "signature": [ "{ id: string; label: string; type: string; analysisType?: string | undefined; isRoot?: boolean | undefined; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -776,7 +776,7 @@ "description": [ "\nInterface for DFA map return type" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -799,7 +799,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -815,7 +815,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -831,7 +831,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -847,7 +847,7 @@ "description": [ "\nES result class feature importance" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -863,7 +863,7 @@ "signature": [ "string | number | boolean" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false }, @@ -876,7 +876,7 @@ "description": [ "\nThe importance" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false } @@ -892,7 +892,7 @@ "description": [ "\nES result for class feature importance summary" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -908,7 +908,7 @@ "signature": [ "string | number | boolean" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false }, @@ -924,7 +924,7 @@ "signature": [ "{ max: number; min: number; mean_magnitude: number; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false } @@ -940,7 +940,7 @@ "description": [ "\nInterface for classification job configuation" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -956,7 +956,7 @@ "signature": [ "[key: string]: Classification" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -972,7 +972,7 @@ "signature": [ "Classification" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -988,7 +988,7 @@ "description": [ "\nInterface for classification evaluate response" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1020,7 +1020,7 @@ }, "[] | undefined; value: number; } | undefined; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1036,7 +1036,7 @@ "description": [ "\nBaseline interface for ES result classification feature importance" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1059,7 +1059,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false } @@ -1075,7 +1075,7 @@ "description": [ "\nES result classification total feature importance" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1088,7 +1088,7 @@ "description": [ "\nThe feature name" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false }, @@ -1111,7 +1111,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false } @@ -1127,7 +1127,7 @@ "description": [ "\nInterface for confusion matrix" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1140,7 +1140,7 @@ "description": [ "\nActual class" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1153,7 +1153,7 @@ "description": [ "\nActual class doc count" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1176,7 +1176,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1189,7 +1189,7 @@ "description": [ "\nDoc count of other predicted classes" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1217,7 +1217,7 @@ "MlDataframeAnalyticsSummary", ", \"analyzed_fields\">" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1234,7 +1234,7 @@ "MlDataframeAnalysisAnalyzedFields", " | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1257,7 +1257,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1273,7 +1273,7 @@ "description": [ "\nMeta data for a DFA job" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1296,7 +1296,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1312,7 +1312,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1340,7 +1340,7 @@ "MlDataframeAnalytics", ", \"state\">" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1356,7 +1356,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1373,7 +1373,7 @@ "\"analyzing\" | \"reindexing\" | ", "MlDataframeState" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1389,7 +1389,7 @@ "description": [ "\nInterface for DFA API response for deletion status" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1402,7 +1402,7 @@ "description": [ "\nSuccess" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1421,7 +1421,7 @@ "Boom", " | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1437,7 +1437,7 @@ "description": [ "\nInterface for evalute metrics" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1453,7 +1453,7 @@ "signature": [ "{ accuracy?: object | undefined; recall?: object | undefined; multiclass_confusion_matrix?: object | undefined; auc_roc?: { include_curve: boolean; class_name: string; } | undefined; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1469,7 +1469,7 @@ "signature": [ "{ r_squared: object; mse: object; msle: object; huber: object; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1485,7 +1485,7 @@ "description": [ "\nES result feature importance interface\nTODO We should separate the interface because classes/importance\nisn't both optional but either/or." ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1498,7 +1498,7 @@ "description": [ "\nThe feature name" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false }, @@ -1521,7 +1521,7 @@ }, "[] | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false }, @@ -1537,7 +1537,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false } @@ -1553,7 +1553,7 @@ "description": [ "\nBaseline interface for ES result feature importance class" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1569,7 +1569,7 @@ "signature": [ "string | number | boolean" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false }, @@ -1582,7 +1582,7 @@ "description": [ "\nBaseline" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false } @@ -1610,7 +1610,7 @@ "MlDataframeAnalyticsFieldSelection", ", \"mapping_types\">" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1628,7 +1628,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1644,7 +1644,7 @@ "description": [ "\nInterface for outlier analysis job configuation" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1660,7 +1660,7 @@ "signature": [ "[key: string]: {}" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1676,7 +1676,7 @@ "signature": [ "{ compute_feature_influence?: boolean | undefined; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1692,7 +1692,7 @@ "description": [ "\nInterface for predicted class" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1705,7 +1705,7 @@ "description": [ "\nPredicted class" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1718,7 +1718,7 @@ "description": [ "\nCount" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1734,7 +1734,7 @@ "description": [ "\nInterface for regression analysis job configuation" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1750,7 +1750,7 @@ "signature": [ "[key: string]: Regression" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1766,7 +1766,7 @@ "signature": [ "Regression" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1782,7 +1782,7 @@ "description": [ "\nBaseline interface for ES result regression feature importance" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1795,7 +1795,7 @@ "description": [ "\nBaseline" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false } @@ -1811,7 +1811,7 @@ "description": [ "\nES result regression feature importance summary" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1824,7 +1824,7 @@ "description": [ "\nMax feature importance" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false }, @@ -1837,7 +1837,7 @@ "description": [ "\nMin feature importance" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false }, @@ -1850,7 +1850,7 @@ "description": [ "\nMean magnitude" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false } @@ -1866,7 +1866,7 @@ "description": [ "\nES result for regression total feature importance" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1879,7 +1879,7 @@ "description": [ "\nFeature name" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false }, @@ -1901,7 +1901,7 @@ "text": "RegressionFeatureImportanceSummary" } ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false } @@ -1917,7 +1917,7 @@ "description": [ "\nData item for ROC curve" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1930,7 +1930,7 @@ "description": [ "\nFPR" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1943,7 +1943,7 @@ "description": [ "\nThreshold" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1956,7 +1956,7 @@ "description": [ "\nTPR" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -1972,7 +1972,7 @@ "description": [ "\nES result top class interface" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1988,7 +1988,7 @@ "signature": [ "string | number | boolean" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false }, @@ -2001,7 +2001,7 @@ "description": [ "\nThe class probability" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false }, @@ -2014,7 +2014,7 @@ "description": [ "\nThe class score" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false } @@ -2030,7 +2030,7 @@ "description": [ "\nInterface for a search response's track total hits option" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2046,7 +2046,7 @@ "signature": [ "{ total: { value: number; relation: string; }; hits: any[]; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -2062,7 +2062,7 @@ "description": [ "\nInterface for a requect object to update a DFA job" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2078,7 +2078,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2094,7 +2094,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2110,7 +2110,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2126,7 +2126,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2149,7 +2149,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -2167,7 +2167,7 @@ "description": [ "\nEnum for a DFA configuration's advanced fields" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2181,7 +2181,7 @@ "description": [ "\nEnum for a DFA configuration's outlier analysis method" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2200,7 +2200,7 @@ "signature": [ "MlDataframeAnalysisContainer" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2217,7 +2217,7 @@ "signature": [ "\"outlier_detection\" | \"regression\" | \"classification\"" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2234,7 +2234,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2252,7 +2252,7 @@ "\"analyzing\" | \"reindexing\" | ", "MlDataframeState" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2269,7 +2269,7 @@ "signature": [ "8" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2286,7 +2286,7 @@ "signature": [ "\"ml\"" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2303,7 +2303,7 @@ "signature": [ "MlExplainDataFrameAnalyticsResponse" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2320,7 +2320,7 @@ "signature": [ "\"feature_importance\"" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2337,7 +2337,7 @@ "signature": [ "\"feature_influence\"" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2368,7 +2368,7 @@ "text": "RegressionFeatureImportanceBaseline" } ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2385,7 +2385,7 @@ "signature": [ "string | number | boolean" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2402,7 +2402,7 @@ "signature": [ "MlDataframeAnalysisFeatureProcessor" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2419,7 +2419,7 @@ "signature": [ "\"index\" | \"transform\" | \"analytics\" | \"analytics-job-missing\" | \"trainedModel\" | \"ingestPipeline\"" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2450,7 +2450,7 @@ "text": "AnalyticsMapNodeElement" } ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2467,7 +2467,7 @@ "signature": [ "\"ml__id_copy\"" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2484,7 +2484,7 @@ "signature": [ "\"ml__incremental_id\"" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2501,7 +2501,7 @@ "signature": [ "0" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2518,7 +2518,7 @@ "signature": [ "\"outlier_score\"" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2535,7 +2535,7 @@ "signature": [ "\"top_classes\"" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2559,7 +2559,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2590,7 +2590,7 @@ "text": "RegressionTotalFeatureImportance" } ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2607,7 +2607,7 @@ "signature": [ "100" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2624,7 +2624,7 @@ "signature": [ "1" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2643,7 +2643,7 @@ "signature": [ "{ readonly OUTLIER_DETECTION: \"outlier_detection\"; readonly REGRESSION: \"regression\"; readonly CLASSIFICATION: \"classification\"; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2668,7 +2668,7 @@ }, ">" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2685,7 +2685,7 @@ "signature": [ "{ readonly ANALYZING: \"analyzing\"; readonly FAILED: \"failed\"; readonly REINDEXING: \"reindexing\"; readonly STARTED: \"started\"; readonly STARTING: \"starting\"; readonly STOPPED: \"stopped\"; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2710,7 +2710,7 @@ }, ">" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2727,7 +2727,7 @@ "signature": [ "{ readonly FILE_DATA_VISUALIZER: \"file-data-visualizer\"; readonly DATA_FRAME_ANALYTICS: \"data-frame-analytics\"; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2744,7 +2744,7 @@ "signature": [ "{ readonly ANALYTICS: \"analytics\"; readonly ANALYTICS_JOB_MISSING: \"analytics-job-missing\"; readonly TRANSFORM: \"transform\"; readonly INDEX: \"index\"; readonly TRAINED_MODEL: \"trainedModel\"; readonly INGEST_PIPELINE: \"ingestPipeline\"; }" ], - "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", + "path": "x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_data_frame_analytics_utils.mdx b/api_docs/kbn_ml_data_frame_analytics_utils.mdx index 6439f3f35f132..b0c26c2b62916 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_data_grid.devdocs.json index 4d91bcddd3971..fdbaeb1925ba6 100644 --- a/api_docs/kbn_ml_data_grid.devdocs.json +++ b/api_docs/kbn_ml_data_grid.devdocs.json @@ -31,7 +31,7 @@ "signature": [ "React.FunctionComponent" ], - "path": "x-pack/packages/ml/data_grid/components/data_grid.tsx", + "path": "x-pack/platform/packages/private/ml/data_grid/components/data_grid.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -89,7 +89,7 @@ "MappingRuntimeFieldType", " | undefined) => string | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -115,7 +115,7 @@ "MappingRuntimeFieldType", " | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -146,7 +146,7 @@ }, " | undefined) => string | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -169,7 +169,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -200,7 +200,7 @@ }, ", resultsField: string) => { id: string; schema: string | undefined; isSortable: boolean; }[]" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -222,7 +222,7 @@ "text": "FieldTypes" } ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -239,7 +239,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -278,7 +278,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -300,7 +300,7 @@ "text": "DataGridItem" } ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -317,7 +317,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -334,7 +334,7 @@ "signature": [ "boolean" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -365,7 +365,7 @@ }, ") => string[]" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -387,7 +387,7 @@ "text": "DataView" } ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -418,7 +418,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/data_grid/hooks/use_column_chart.tsx", + "path": "x-pack/platform/packages/private/ml/data_grid/hooks/use_column_chart.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -434,7 +434,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/data_grid/hooks/use_column_chart.tsx", + "path": "x-pack/platform/packages/private/ml/data_grid/hooks/use_column_chart.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -455,7 +455,7 @@ "signature": [ "(obj: unknown, sortId: string) => any" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -471,7 +471,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -488,7 +488,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -509,7 +509,7 @@ "signature": [ "(originalObj: object, omitBy?: ((key: string) => boolean) | undefined) => { [key: string]: any; }" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -525,7 +525,7 @@ "signature": [ "object" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -542,7 +542,7 @@ "signature": [ "((key: string) => boolean) | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -580,7 +580,7 @@ "text": "TopClasses" } ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -602,7 +602,7 @@ "text": "DataGridItem" } ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -619,7 +619,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -649,7 +649,7 @@ "text": "NumericChartData" } ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -665,7 +665,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -693,7 +693,7 @@ "text": "OrdinalChartData" } ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -709,7 +709,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -737,7 +737,7 @@ "text": "UnsupportedChartData" } ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -753,7 +753,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -782,7 +782,7 @@ }, "[]) => (a: any, b: any, sortingColumnIndex?: number) => number" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -805,7 +805,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -836,7 +836,7 @@ }, ") => void" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -852,7 +852,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -875,7 +875,7 @@ "text": "IToasts" } ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -905,7 +905,7 @@ "text": "UseDataGridReturnType" } ], - "path": "x-pack/packages/ml/data_grid/hooks/use_data_grid.tsx", + "path": "x-pack/platform/packages/private/ml/data_grid/hooks/use_data_grid.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -922,7 +922,7 @@ "EuiDataGridColumn", "[]" ], - "path": "x-pack/packages/ml/data_grid/hooks/use_data_grid.tsx", + "path": "x-pack/platform/packages/private/ml/data_grid/hooks/use_data_grid.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -939,7 +939,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/data_grid/hooks/use_data_grid.tsx", + "path": "x-pack/platform/packages/private/ml/data_grid/hooks/use_data_grid.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -956,7 +956,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/data_grid/hooks/use_data_grid.tsx", + "path": "x-pack/platform/packages/private/ml/data_grid/hooks/use_data_grid.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -973,7 +973,7 @@ "signature": [ "((id: string) => boolean) | undefined" ], - "path": "x-pack/packages/ml/data_grid/hooks/use_data_grid.tsx", + "path": "x-pack/platform/packages/private/ml/data_grid/hooks/use_data_grid.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1029,7 +1029,7 @@ "text": "RenderCellValue" } ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1052,7 +1052,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1071,7 +1071,7 @@ "EuiDataGridPaginationProps", ", \"pageSize\" | \"pageIndex\">>" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1095,7 +1095,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1112,7 +1112,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1139,7 +1139,7 @@ "EuiDataGridSetCellProps", ") => void) => void) | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1161,7 +1161,7 @@ "description": [ "\nRecord of ES field types." ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1182,7 +1182,7 @@ "text": "ES_FIELD_TYPES" } ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false } @@ -1198,7 +1198,7 @@ "description": [ "\nInterface definition for multi column sorter" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1211,7 +1211,7 @@ "description": [ "\nThe id." ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false }, @@ -1227,7 +1227,7 @@ "signature": [ "\"asc\" | \"desc\"" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false }, @@ -1240,7 +1240,7 @@ "description": [ "\nThe type of the sorter." ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false } @@ -1256,7 +1256,7 @@ "description": [ "\nRepresents numeric chart data." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1279,7 +1279,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1292,7 +1292,7 @@ "description": [ "\nIdentifier of the chart." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1305,7 +1305,7 @@ "description": [ "\nInterval value." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1321,7 +1321,7 @@ "signature": [ "[number, number]" ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1337,7 +1337,7 @@ "signature": [ "\"numeric\"" ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false } @@ -1353,7 +1353,7 @@ "description": [ "\nRepresents a numeric data item." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1366,7 +1366,7 @@ "description": [ "\nNumeric key." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1382,7 +1382,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1395,7 +1395,7 @@ "description": [ "\nNumber of documents." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false } @@ -1411,7 +1411,7 @@ "description": [ "\nRepresents ordinal chart data." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1424,7 +1424,7 @@ "description": [ "\nCardinality value." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1447,7 +1447,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1460,7 +1460,7 @@ "description": [ "\nIdentifier of the chart." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1476,7 +1476,7 @@ "signature": [ "\"boolean\" | \"ordinal\"" ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false } @@ -1492,7 +1492,7 @@ "description": [ "\nRepresents an ordinal data item." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1505,7 +1505,7 @@ "description": [ "\nKey." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1521,7 +1521,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1534,7 +1534,7 @@ "description": [ "\nNumber of documents." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false } @@ -1550,7 +1550,7 @@ "description": [ "\nInformation about the row count." ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1563,7 +1563,7 @@ "description": [ "\nRow count." ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1580,7 +1580,7 @@ "SearchTotalHitsRelation", " | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false } @@ -1596,7 +1596,7 @@ "description": [ "\nRepresents unsupported chart data." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1609,7 +1609,7 @@ "description": [ "\nIdentifier of the chart." ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false }, @@ -1625,7 +1625,7 @@ "signature": [ "\"unsupported\"" ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false } @@ -1641,7 +1641,7 @@ "description": [ "\nReturn type of the `useDataGrid` custom hook." ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1654,7 +1654,7 @@ "description": [ "\nBoolean flag for CCS warning." ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1670,7 +1670,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1683,7 +1683,7 @@ "description": [ "\nBoolean flag for charts button visibily." ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1700,7 +1700,7 @@ "EuiDataGridColumn", "[]" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1713,7 +1713,7 @@ "description": [ "\nError message." ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1729,7 +1729,7 @@ "signature": [ "string[]" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1742,7 +1742,7 @@ "description": [ "\nNo data message." ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1758,7 +1758,7 @@ "signature": [ "(pageSize: number) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1770,7 +1770,7 @@ "tags": [], "label": "pageSize", "description": [], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false } @@ -1788,7 +1788,7 @@ "signature": [ "(pageIndex: number) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1800,7 +1800,7 @@ "tags": [], "label": "pageIndex", "description": [], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false } @@ -1818,7 +1818,7 @@ "signature": [ "(sortSettings: SortSettings) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1833,7 +1833,7 @@ "signature": [ "{ id: string; direction: \"asc\" | \"desc\"; }[]" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false } @@ -1851,7 +1851,7 @@ "signature": [ "{ pageSize: number; pageIndex: number; }" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1867,7 +1867,7 @@ "signature": [ "() => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1882,7 +1882,7 @@ "description": [ "\nRow count." ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1899,7 +1899,7 @@ "SearchTotalHitsRelation", " | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1915,7 +1915,7 @@ "signature": [ "(value: React.SetStateAction) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1956,7 +1956,7 @@ }, "[]>) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1989,7 +1989,7 @@ "signature": [ "(value: React.SetStateAction) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2022,7 +2022,7 @@ "signature": [ "(value: React.SetStateAction) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2057,7 +2057,7 @@ "EuiDataGridPaginationProps", ", \"pageSize\" | \"pageIndex\">>>) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2098,7 +2098,7 @@ }, ") => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2118,7 +2118,7 @@ "text": "RowCountInfo" } ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2140,7 +2140,7 @@ "EuiDataGridColumnSortingConfig", "[]>) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2181,7 +2181,7 @@ }, ">) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2222,7 +2222,7 @@ }, "[]>) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2255,7 +2255,7 @@ "signature": [ "(value: React.SetStateAction) => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2289,7 +2289,7 @@ "EuiDataGridColumnSortingConfig", "[]" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2311,7 +2311,7 @@ "text": "INDEX_STATUS" } ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2334,7 +2334,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2350,7 +2350,7 @@ "signature": [ "() => void" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2368,7 +2368,7 @@ "signature": [ "string[]" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2391,7 +2391,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2407,7 +2407,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2423,7 +2423,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false } @@ -2457,7 +2457,7 @@ }, ", \"status\" | \"ccsWarning\" | \"rowCount\" | \"errorMessage\" | \"baseline\" | \"pagination\" | \"chartsVisible\" | \"chartsButtonVisible\" | \"columnsWithCharts\" | \"invalidSortingColumnns\" | \"noDataMessage\" | \"onChangeItemsPerPage\" | \"onChangePage\" | \"onSort\" | \"setPagination\" | \"setVisibleColumns\" | \"rowCountRelation\" | \"sortingColumns\" | \"tableItems\" | \"toggleChartVisibility\" | \"visibleColumns\" | \"predictionFieldName\" | \"resultsField\">" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2473,7 +2473,7 @@ "signature": [ "(options: CellValue) => any" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2488,7 +2488,7 @@ "signature": [ "CellValue" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false } @@ -2506,7 +2506,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2529,7 +2529,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false } @@ -2547,7 +2547,7 @@ "description": [ "\nEnum for index status" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2588,7 +2588,7 @@ "text": "UnsupportedChartData" } ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2619,7 +2619,7 @@ "text": "OrdinalDataItem" } ], - "path": "x-pack/packages/ml/data_grid/lib/field_histograms.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2636,7 +2636,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2653,7 +2653,7 @@ "signature": [ "Dictionary<{ order: \"asc\" | \"desc\"; }>" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2670,7 +2670,7 @@ "signature": [ "{ pageSize: number; pageIndex: number; }" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2687,7 +2687,7 @@ "signature": [ "10" ], - "path": "x-pack/packages/ml/data_grid/lib/common.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/common.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2704,7 +2704,7 @@ "signature": [ "(options: CellValue) => any" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2721,7 +2721,7 @@ "signature": [ "CellValue" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false } @@ -2741,7 +2741,7 @@ "SearchTotalHitsRelation", " | undefined" ], - "path": "x-pack/packages/ml/data_grid/lib/types.ts", + "path": "x-pack/platform/packages/private/ml/data_grid/lib/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_data_grid.mdx b/api_docs/kbn_ml_data_grid.mdx index 0d290df831643..dcd567834c179 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_date_picker.devdocs.json index d43a34799b5ba..299b01cd41d79 100644 --- a/api_docs/kbn_ml_date_picker.devdocs.json +++ b/api_docs/kbn_ml_date_picker.devdocs.json @@ -25,7 +25,7 @@ }, ">) => React.JSX.Element" ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -49,7 +49,7 @@ }, ">" ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -74,7 +74,7 @@ "signature": [ "(props: DatePickerWrapperProps) => React.JSX.Element | null" ], - "path": "x-pack/packages/ml/date_picker/src/components/date_picker_wrapper.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -90,7 +90,7 @@ "signature": [ "DatePickerWrapperProps" ], - "path": "x-pack/packages/ml/date_picker/src/components/date_picker_wrapper.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -123,7 +123,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -145,7 +145,7 @@ "text": "FullTimeRangeSelectorProps" } ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -176,7 +176,7 @@ }, ">" ], - "path": "x-pack/packages/ml/date_picker/src/services/time_field_range.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/time_field_range.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -192,7 +192,7 @@ "signature": [ "GetTimeFieldRangeOptions" ], - "path": "x-pack/packages/ml/date_picker/src/services/time_field_range.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/time_field_range.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -230,7 +230,7 @@ "text": "TimeRange" } ], - "path": "x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -252,7 +252,7 @@ "text": "TimefilterContract" } ], - "path": "x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -283,7 +283,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_timefilter.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -309,7 +309,7 @@ "text": "RefreshInterval" } ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_timefilter.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -337,7 +337,7 @@ "text": "TimefilterContract" } ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_timefilter.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -353,7 +353,7 @@ "signature": [ "UseTimefilterOptions" ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_timefilter.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -383,7 +383,7 @@ "text": "TimeRange" } ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_timefilter.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -399,7 +399,7 @@ "signature": [ "boolean" ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_timefilter.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -421,7 +421,7 @@ "description": [ "\nDate Picker Dependencies to be passed on via `DatePickerContextProvider`." ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -443,7 +443,7 @@ "text": "DataPublicPluginStart" } ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx", "deprecated": false, "trackAdoption": false }, @@ -465,7 +465,7 @@ "text": "HttpSetup" } ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx", "deprecated": false, "trackAdoption": false }, @@ -487,7 +487,7 @@ "text": "NotificationsSetup" } ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx", "deprecated": false, "trackAdoption": false }, @@ -509,7 +509,7 @@ "text": "ThemeServiceSetup" } ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx", "deprecated": false, "trackAdoption": false }, @@ -531,7 +531,7 @@ "text": "IUiSettingsClient" } ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx", "deprecated": false, "trackAdoption": false }, @@ -547,7 +547,7 @@ "signature": [ "{ readonly META_FIELDS: \"metaFields\"; readonly DOC_HIGHLIGHT: \"doc_table:highlight\"; readonly QUERY_STRING_OPTIONS: \"query:queryString:options\"; readonly QUERY_ALLOW_LEADING_WILDCARDS: \"query:allowLeadingWildcards\"; readonly SEARCH_QUERY_LANGUAGE: \"search:queryLanguage\"; readonly SORT_OPTIONS: \"sort:options\"; readonly COURIER_IGNORE_FILTER_IF_FIELD_NOT_IN_INDEX: \"courier:ignoreFilterIfFieldNotInIndex\"; readonly COURIER_SET_REQUEST_PREFERENCE: \"courier:setRequestPreference\"; readonly COURIER_CUSTOM_REQUEST_PREFERENCE: \"courier:customRequestPreference\"; readonly COURIER_MAX_CONCURRENT_SHARD_REQUESTS: \"courier:maxConcurrentShardRequests\"; readonly SEARCH_INCLUDE_FROZEN: \"search:includeFrozen\"; readonly SEARCH_TIMEOUT: \"search:timeout\"; readonly HISTOGRAM_BAR_TARGET: \"histogram:barTarget\"; readonly HISTOGRAM_MAX_BARS: \"histogram:maxBars\"; readonly HISTORY_LIMIT: \"history:limit\"; readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: \"timepicker:refreshIntervalDefaults\"; readonly TIMEPICKER_QUICK_RANGES: \"timepicker:quickRanges\"; readonly TIMEPICKER_TIME_DEFAULTS: \"timepicker:timeDefaults\"; readonly FILTERS_PINNED_BY_DEFAULT: \"filters:pinnedByDefault\"; readonly FILTERS_EDITOR_SUGGEST_VALUES: \"filterEditor:suggestValues\"; readonly AUTOCOMPLETE_USE_TIMERANGE: \"autocomplete:useTimeRange\"; readonly AUTOCOMPLETE_VALUE_SUGGESTION_METHOD: \"autocomplete:valueSuggestionMethod\"; readonly DATE_FORMAT: \"dateFormat\"; readonly DATEFORMAT_TZ: \"dateFormat:tz\"; }" ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx", "deprecated": false, "trackAdoption": false }, @@ -569,7 +569,7 @@ "text": "I18nStart" } ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx", "deprecated": false, "trackAdoption": false }, @@ -585,7 +585,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx", "deprecated": false, "trackAdoption": false } @@ -601,7 +601,7 @@ "description": [ "\nFullTimeRangeSelectorProps React Component props interface" ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -617,7 +617,7 @@ "signature": [ "\"exclude-frozen\" | \"include-frozen\"" ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false }, @@ -641,7 +641,7 @@ }, " | undefined) => void" ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -664,7 +664,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -852,7 +852,7 @@ }, "; }" ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false }, @@ -874,7 +874,7 @@ "text": "DataView" } ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false }, @@ -887,7 +887,7 @@ "description": [ "\nBoolean flag to enable/disable the full time range button." ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false }, @@ -904,7 +904,7 @@ "QueryDslQueryContainer", " | undefined" ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false }, @@ -928,7 +928,7 @@ }, ") => void) | undefined" ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -950,7 +950,7 @@ "text": "GetTimeFieldRangeResponse" } ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -977,7 +977,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx", + "path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx", "deprecated": false, "trackAdoption": false } @@ -993,7 +993,7 @@ "description": [ "\nResponse interface for the `setFullTimeRange` function." ], - "path": "x-pack/packages/ml/date_picker/src/services/types.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1006,7 +1006,7 @@ "description": [ "\nSuccess boolean flag." ], - "path": "x-pack/packages/ml/date_picker/src/services/types.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1022,7 +1022,7 @@ "signature": [ "GetTimeFieldRangeResponseTime" ], - "path": "x-pack/packages/ml/date_picker/src/services/types.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1038,7 +1038,7 @@ "signature": [ "GetTimeFieldRangeResponseTime" ], - "path": "x-pack/packages/ml/date_picker/src/services/types.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/types.ts", "deprecated": false, "trackAdoption": false } @@ -1054,7 +1054,7 @@ "description": [ "\nState definition of `mlTimefilterRefresh$` observable." ], - "path": "x-pack/packages/ml/date_picker/src/services/timefilter_refresh_service.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1067,7 +1067,7 @@ "description": [ "\nTimestamp of the last time a refresh got triggered." ], - "path": "x-pack/packages/ml/date_picker/src/services/timefilter_refresh_service.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts", "deprecated": false, "trackAdoption": false }, @@ -1083,7 +1083,7 @@ "signature": [ "{ start: string; end: string; } | undefined" ], - "path": "x-pack/packages/ml/date_picker/src/services/timefilter_refresh_service.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts", "deprecated": false, "trackAdoption": false } @@ -1099,7 +1099,7 @@ "description": [ "\nReturn type for the `getTimeFilterRange` function." ], - "path": "x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1112,7 +1112,7 @@ "description": [ "\nFrom timestamp." ], - "path": "x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts", "deprecated": false, "trackAdoption": false }, @@ -1125,7 +1125,7 @@ "description": [ "\nTo timestamp." ], - "path": "x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts", "deprecated": false, "trackAdoption": false } @@ -1147,7 +1147,7 @@ "signature": [ "\"exclude-frozen\" | \"include-frozen\"" ], - "path": "x-pack/packages/ml/date_picker/src/storage.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/storage.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1164,7 +1164,7 @@ "signature": [ "\"/internal/file_upload/time_field_range\" | \"/internal/ml/fields_service/time_field_range\"" ], - "path": "x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1183,7 +1183,7 @@ "signature": [ "{ readonly EXCLUDE: \"exclude-frozen\"; readonly INCLUDE: \"include-frozen\"; }" ], - "path": "x-pack/packages/ml/date_picker/src/storage.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/storage.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1209,7 +1209,7 @@ }, ">" ], - "path": "x-pack/packages/ml/date_picker/src/services/timefilter_refresh_service.ts", + "path": "x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_date_picker.mdx b/api_docs/kbn_ml_date_picker.mdx index 3ff14ea53e6fe..aa266265b7c5f 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_date_utils.devdocs.json index ec0f00a08fa94..af0b344eb7449 100644 --- a/api_docs/kbn_ml_date_utils.devdocs.json +++ b/api_docs/kbn_ml_date_utils.devdocs.json @@ -31,7 +31,7 @@ "signature": [ "(ts: number) => string" ], - "path": "x-pack/packages/ml/date_utils/src/date_utils.ts", + "path": "x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47,7 +47,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/date_utils/src/date_utils.ts", + "path": "x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -68,7 +68,7 @@ "signature": [ "(ts: number) => string" ], - "path": "x-pack/packages/ml/date_utils/src/date_utils.ts", + "path": "x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -84,7 +84,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/date_utils/src/date_utils.ts", + "path": "x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -105,7 +105,7 @@ "signature": [ "(ts: number) => string" ], - "path": "x-pack/packages/ml/date_utils/src/date_utils.ts", + "path": "x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -121,7 +121,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/date_utils/src/date_utils.ts", + "path": "x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -142,7 +142,7 @@ "signature": [ "(value: number) => string" ], - "path": "x-pack/packages/ml/date_utils/src/date_utils.ts", + "path": "x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -158,7 +158,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/date_utils/src/date_utils.ts", + "path": "x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -187,7 +187,7 @@ }, " | undefined) => boolean" ], - "path": "x-pack/packages/ml/date_utils/src/date_utils.ts", + "path": "x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -210,7 +210,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/date_utils/src/date_utils.ts", + "path": "x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -235,7 +235,7 @@ "signature": [ "\"YYYY-MM-DD HH:mm:ss\"" ], - "path": "x-pack/packages/ml/date_utils/src/time_format.ts", + "path": "x-pack/platform/packages/private/ml/date_utils/src/time_format.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_date_utils.mdx b/api_docs/kbn_ml_date_utils.mdx index 4ea4ffb4b3aab..060ab12936358 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_error_utils.devdocs.json index dc3e72ba8815f..032381b3ef38a 100644 --- a/api_docs/kbn_ml_error_utils.devdocs.json +++ b/api_docs/kbn_ml_error_utils.devdocs.json @@ -42,7 +42,7 @@ }, " extends Error" ], - "path": "x-pack/packages/ml/error_utils/src/request_error.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/request_error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -60,7 +60,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/error_utils/src/request_error.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/request_error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -80,7 +80,7 @@ "text": "MLErrorObject" } ], - "path": "x-pack/packages/ml/error_utils/src/request_error.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/request_error.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -101,7 +101,7 @@ "text": "ErrorType" } ], - "path": "x-pack/packages/ml/error_utils/src/request_error.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/request_error.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -134,7 +134,7 @@ }, ") => string" ], - "path": "x-pack/packages/ml/error_utils/src/process_errors.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/process_errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -154,7 +154,7 @@ "text": "ErrorType" } ], - "path": "x-pack/packages/ml/error_utils/src/process_errors.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/process_errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -190,7 +190,7 @@ "text": "MLErrorObject" } ], - "path": "x-pack/packages/ml/error_utils/src/process_errors.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/process_errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -210,7 +210,7 @@ "text": "ErrorType" } ], - "path": "x-pack/packages/ml/error_utils/src/process_errors.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/process_errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -233,7 +233,7 @@ "signature": [ "(error: any) => boolean" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -247,7 +247,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -270,7 +270,7 @@ "signature": [ "(error: any) => boolean" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -284,7 +284,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -307,7 +307,7 @@ "signature": [ "(error: any) => boolean" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -321,7 +321,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -344,7 +344,7 @@ "signature": [ "(error: any) => boolean" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -358,7 +358,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -382,7 +382,7 @@ "description": [ "\nInterface holding error message" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -397,7 +397,7 @@ "description": [ "\nmessage" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -417,7 +417,7 @@ "description": [ "\nML Error Object" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -435,7 +435,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -450,7 +450,7 @@ "description": [ "\nmessage" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -468,7 +468,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -487,7 +487,7 @@ "ErrorResponseBase", " | undefined" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -527,7 +527,7 @@ }, "" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -545,7 +545,7 @@ "signature": [ "T" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -565,7 +565,7 @@ "description": [ "\nML Response error" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -580,7 +580,7 @@ "description": [ "\nstatusCode" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -595,7 +595,7 @@ "description": [ "\nerror" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -610,7 +610,7 @@ "description": [ "\nmessage" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false }, @@ -630,7 +630,7 @@ "ErrorResponseBase", "; } | undefined" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -663,7 +663,7 @@ "text": "ErrorMessage" } ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -678,7 +678,7 @@ "description": [ "\nquery" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -715,7 +715,7 @@ "Boom", " | undefined" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -734,7 +734,7 @@ "signature": [ "ErrorResponseBase" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -754,7 +754,7 @@ "ErrorCauseKeys", " & { [property: string]: any; }" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -789,7 +789,7 @@ }, ">" ], - "path": "x-pack/packages/ml/error_utils/src/types.ts", + "path": "x-pack/platform/packages/shared/ml/error_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_error_utils.mdx b/api_docs/kbn_ml_error_utils.mdx index 9556c8e0d7988..f88871437f8b5 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_field_stats_flyout.devdocs.json index a8065f70dbbdf..6a36d381c9d49 100644 --- a/api_docs/kbn_ml_field_stats_flyout.devdocs.json +++ b/api_docs/kbn_ml_field_stats_flyout.devdocs.json @@ -23,7 +23,7 @@ }, ") => React.JSX.Element | null" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_content.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_content.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -45,7 +45,7 @@ "text": "FieldStatsFlyoutProps" } ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_content.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_content.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -78,7 +78,7 @@ }, ") => React.JSX.Element | null" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_flyout.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -100,7 +100,7 @@ "text": "FieldStatsFlyoutProps" } ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_flyout.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -131,7 +131,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_flyout_provider.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout_provider.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -153,7 +153,7 @@ "text": "FieldStatsFlyoutProviderProps" } ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_flyout_provider.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout_provider.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -184,7 +184,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -206,7 +206,7 @@ "text": "FieldStatsInfoButtonProps" } ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -225,7 +225,7 @@ "signature": [ "({ options, placeholder, singleSelection, onChange, selectedOptions, fullWidth, isDisabled, isLoading, isClearable, prepend, compressed, \"aria-label\": ariaLabel, \"data-test-subj\": dataTestSubj, }: OptionListWithFieldStatsProps) => React.JSX.Element" ], - "path": "x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -239,7 +239,7 @@ "signature": [ "OptionListWithFieldStatsProps" ], - "path": "x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -260,7 +260,7 @@ "signature": [ "() => MLJobWizardFieldStatsFlyoutProps" ], - "path": "x-pack/packages/ml/field_stats_flyout/use_field_stats_flyout_context.ts", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/use_field_stats_flyout_context.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -291,7 +291,7 @@ "SerializedStyles", "; populatedFields: Set | undefined; }" ], - "path": "x-pack/packages/ml/field_stats_flyout/use_field_stats_trigger.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/use_field_stats_trigger.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -311,7 +311,7 @@ "description": [ "\nRepresents the props for the FieldStatsFlyout component." ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_content.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_content.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -333,7 +333,7 @@ "text": "DataView" } ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_content.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_content.tsx", "deprecated": false, "trackAdoption": false }, @@ -355,7 +355,7 @@ "text": "FieldStatsServices" } ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_content.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_content.tsx", "deprecated": false, "trackAdoption": false }, @@ -378,7 +378,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_content.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_content.tsx", "deprecated": false, "trackAdoption": false }, @@ -394,7 +394,7 @@ "signature": [ "object | undefined" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_content.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_content.tsx", "deprecated": false, "trackAdoption": false } @@ -410,7 +410,7 @@ "description": [ "\nRepresents the props for the FieldStatsInfoButton component." ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -434,7 +434,7 @@ }, "; }" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -447,7 +447,7 @@ "description": [ "\nThe label for the field." ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -471,7 +471,7 @@ }, ") => void) | undefined" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -493,7 +493,7 @@ "text": "FieldForStats" } ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -515,7 +515,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -531,7 +531,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -547,7 +547,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx", "deprecated": false, "trackAdoption": false } @@ -597,7 +597,7 @@ "EuiSelectableOptionBase", ", \"isGroupLabel\"> & React.HTMLAttributes & { isGroupLabel: true; } & BaseOption)" ], - "path": "x-pack/packages/ml/field_stats_flyout/options_list_with_stats/types.ts", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -622,7 +622,7 @@ }, "; }" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -673,7 +673,7 @@ }, " | undefined; dslQuery?: object | undefined; disablePopulatedFields?: boolean | undefined; } & { children?: React.ReactNode; }" ], - "path": "x-pack/packages/ml/field_stats_flyout/field_stats_flyout_provider.tsx", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout_provider.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -692,7 +692,7 @@ "signature": [ "React.Context" ], - "path": "x-pack/packages/ml/field_stats_flyout/use_field_stats_flyout_context.ts", + "path": "x-pack/platform/packages/private/ml/field_stats_flyout/use_field_stats_flyout_context.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_field_stats_flyout.mdx b/api_docs/kbn_ml_field_stats_flyout.mdx index 349d59992fe87..fb9d0ca713611 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_in_memory_table.devdocs.json index 9436302e6e522..013406acd31bb 100644 --- a/api_docs/kbn_ml_in_memory_table.devdocs.json +++ b/api_docs/kbn_ml_in_memory_table.devdocs.json @@ -39,7 +39,7 @@ "Direction", "; }; }; setPageIndex: React.Dispatch>; }" ], - "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "path": "x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -55,7 +55,7 @@ "signature": [ "T[]" ], - "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "path": "x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -72,7 +72,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "path": "x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -89,7 +89,7 @@ "signature": [ "\"asc\" | \"desc\"" ], - "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "path": "x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -106,7 +106,7 @@ "Pagination", "> | undefined" ], - "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "path": "x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -136,7 +136,7 @@ }, "" ], - "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "path": "x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -154,7 +154,7 @@ "Criteria", ") => void" ], - "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "path": "x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -188,7 +188,7 @@ "signature": [ "Pagination" ], - "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "path": "x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts", "deprecated": false, "trackAdoption": false }, @@ -206,7 +206,7 @@ "Direction", "; }; }" ], - "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "path": "x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts", "deprecated": false, "trackAdoption": false }, @@ -222,7 +222,7 @@ "signature": [ "(value: React.SetStateAction) => void" ], - "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "path": "x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], diff --git a/api_docs/kbn_ml_in_memory_table.mdx b/api_docs/kbn_ml_in_memory_table.mdx index 668afa622c871..86aa8bae3a8ef 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_is_defined.devdocs.json index 5b6259da49ef8..b227c5aef520c 100644 --- a/api_docs/kbn_ml_is_defined.devdocs.json +++ b/api_docs/kbn_ml_is_defined.devdocs.json @@ -31,7 +31,7 @@ "signature": [ "(argument: T | null | undefined) => boolean" ], - "path": "x-pack/packages/ml/is_defined/src/is_defined.ts", + "path": "x-pack/platform/packages/private/ml/is_defined/src/is_defined.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47,7 +47,7 @@ "signature": [ "T | null | undefined" ], - "path": "x-pack/packages/ml/is_defined/src/is_defined.ts", + "path": "x-pack/platform/packages/private/ml/is_defined/src/is_defined.ts", "deprecated": false, "trackAdoption": false, "isRequired": false diff --git a/api_docs/kbn_ml_is_defined.mdx b/api_docs/kbn_ml_is_defined.mdx index 56bcdce48e470..69647a59e5d50 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_is_populated_object.devdocs.json index 8e83a7b773f6a..ad9ab7a872204 100644 --- a/api_docs/kbn_ml_is_populated_object.devdocs.json +++ b/api_docs/kbn_ml_is_populated_object.devdocs.json @@ -31,7 +31,7 @@ "signature": [ "(arg: unknown, requiredAttributes?: U[]) => arg is Record" ], - "path": "x-pack/packages/ml/is_populated_object/src/is_populated_object.ts", + "path": "x-pack/platform/packages/private/ml/is_populated_object/src/is_populated_object.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45,7 +45,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/is_populated_object/src/is_populated_object.ts", + "path": "x-pack/platform/packages/private/ml/is_populated_object/src/is_populated_object.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -60,7 +60,7 @@ "signature": [ "U[]" ], - "path": "x-pack/packages/ml/is_populated_object/src/is_populated_object.ts", + "path": "x-pack/platform/packages/private/ml/is_populated_object/src/is_populated_object.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index 21170c907f5c5..2ea520000e77b 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_kibana_theme.devdocs.json index 3be69bc9b957c..c1ff32d800053 100644 --- a/api_docs/kbn_ml_kibana_theme.devdocs.json +++ b/api_docs/kbn_ml_kibana_theme.devdocs.json @@ -39,7 +39,7 @@ }, ") => { euiTheme: { euiZDataGrid: number; euiZHeaderBelowDataGrid: number; euiZDataGridCellPopover: number; euiDataGridCellPaddingS: string; euiDataGridCellPaddingM: string; euiDataGridCellPaddingL: string; euiTableHoverColor: string; euiTableSelectedColor: string; euiTableHoverSelectedColor: string; euiTableActionsBorderColor: string; euiTableHoverClickableColor: string; euiTableFocusClickableColor: string; euiContrastRatioText: number; euiContrastRatioGraphic: number; euiContrastRatioDisabled: number; euiAnimSlightBounce: string; euiAnimSlightResistance: string; euiAnimSpeedExtraFast: string; euiAnimSpeedFast: string; euiAnimSpeedNormal: string; euiAnimSpeedSlow: string; euiAnimSpeedExtraSlow: string; euiBorderWidthThin: string; euiBorderWidthThick: string; euiBorderColor: string; euiBorderRadius: string; euiBorderRadiusSmall: string; euiBorderThick: string; euiBorderThin: string; euiBorderEditable: string; euiButtonHeight: string; euiButtonHeightSmall: string; euiButtonHeightXSmall: string; euiButtonColorDisabled: string; euiButtonColorDisabledText: string; euiButtonColorGhostDisabled: string; euiButtonTypes: { primary: string; accent: string; success: string; warning: string; danger: string; ghost: string; text: string; }; euiPaletteColorBlind: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; }; euiPaletteColorBlindKeys: string; euiColorVis0: string; euiColorVis1: string; euiColorVis2: string; euiColorVis3: string; euiColorVis4: string; euiColorVis5: string; euiColorVis6: string; euiColorVis7: string; euiColorVis8: string; euiColorVis9: string; euiColorVis0_behindText: string; euiColorVis1_behindText: string; euiColorVis2_behindText: string; euiColorVis3_behindText: string; euiColorVis4_behindText: string; euiColorVis5_behindText: string; euiColorVis6_behindText: string; euiColorVis7_behindText: string; euiColorVis8_behindText: string; euiColorVis9_behindText: string; euiFontWeightLight: number; euiFontWeightRegular: number; euiFontWeightMedium: number; euiFontWeightSemiBold: number; euiFontWeightBold: number; euiCodeFontWeightRegular: number; euiCodeFontWeightBold: number; euiFormMaxWidth: string; euiFormControlHeight: string; euiFormControlCompressedHeight: string; euiFormControlPadding: string; euiFormControlCompressedPadding: string; euiFormControlBorderRadius: string; euiFormControlCompressedBorderRadius: string; euiRadioSize: string; euiCheckBoxSize: string; euiCheckboxBorderRadius: string; euiSwitchHeight: string; euiSwitchWidth: string; euiSwitchThumbSize: string; euiSwitchIconHeight: string; euiSwitchHeightCompressed: string; euiSwitchWidthCompressed: string; euiSwitchThumbSizeCompressed: string; euiSwitchHeightMini: string; euiSwitchWidthMini: string; euiSwitchThumbSizeMini: string; euiFormBackgroundColor: string; euiFormBackgroundDisabledColor: string; euiFormBackgroundReadOnlyColor: string; euiFormBorderOpaqueColor: string; euiFormBorderColor: string; euiFormBorderDisabledColor: string; euiFormCustomControlDisabledIconColor: string; euiFormCustomControlBorderColor: string; euiFormControlDisabledColor: string; euiFormControlBoxShadow: string; euiFormControlPlaceholderText: string; euiFormInputGroupLabelBackground: string; euiFormInputGroupBorder: string; euiSwitchOffColor: string; euiFormControlIconSizes: { small: string; medium: string; large: string; xLarge: string; xxLarge: string; }; euiFormControlLayoutGroupInputHeight: string; euiFormControlLayoutGroupInputCompressedHeight: string; euiFormControlLayoutGroupInputCompressedBorderRadius: string; euiHeaderBackgroundColor: string; euiHeaderDarkBackgroundColor: string; euiHeaderBorderColor: string; euiHeaderBreadcrumbColor: string; euiHeaderHeight: string; euiHeaderChildSize: string; euiHeaderHeightCompensation: string; euiPageDefaultMaxWidth: string; euiPageSidebarMinWidth: string; euiPanelPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiPanelBorderRadiusModifiers: { borderRadiusNone: number; borderRadiusMedium: string; }; euiPanelBackgroundColorModifiers: { transparent: string; plain: string; subdued: string; accent: string; primary: string; success: string; warning: string; danger: string; }; euiBreakpoints: { xs: number; s: string; m: string; l: string; xl: string; }; euiBreakpointKeys: string; euiShadowColor: string; euiSize: string; euiSizeXS: string; euiSizeS: string; euiSizeM: string; euiSizeL: string; euiSizeXL: string; euiSizeXXL: string; euiScrollBar: string; euiScrollBarCorner: string; euiScrollBarCornerThin: string; euiFocusRingColor: string; euiFocusRingAnimStartColor: string; euiFocusRingAnimStartSize: string; euiFocusRingAnimStartSizeLarge: string; euiFocusRingSizeLarge: string; euiFocusRingSize: string; euiFocusTransparency: number; euiFocusTransparencyPercent: string; euiFocusBackgroundColor: string; euiFontFamily: string; euiCodeFontFamily: string; euiFontFeatureSettings: string; euiTextScale: string; euiFontSize: string; euiFontSizeXS: string; euiFontSizeS: string; euiFontSizeM: string; euiFontSizeL: string; euiFontSizeXL: string; euiFontSizeXXL: string; euiLineHeight: number; euiBodyLineHeight: number; euiTitles: { xxxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; s: { 'font-size': string; 'line-height': string; 'font-weight': number; }; m: { 'font-size': string; 'line-height': string; 'font-weight': number; }; l: { 'font-size': string; 'line-height': string; 'font-weight': number; }; }; euiZLevel0: number; euiZLevel1: number; euiZLevel2: number; euiZLevel3: number; euiZLevel4: number; euiZLevel5: number; euiZLevel6: number; euiZLevel7: number; euiZLevel8: number; euiZLevel9: number; euiZToastList: number; euiZModal: number; euiZMask: number; euiZNavigation: number; euiZContentMenu: number; euiZHeader: number; euiZFlyout: number; euiZMaskBelowHeader: number; euiZContent: number; euiColorGhost: string; euiColorInk: string; euiColorPrimary: string; euiColorAccent: string; euiColorSuccess: string; euiColorWarning: string; euiColorDanger: string; euiColorEmptyShade: string; euiColorLightestShade: string; euiColorLightShade: string; euiColorMediumShade: string; euiColorDarkShade: string; euiColorDarkestShade: string; euiColorFullShade: string; euiPageBackgroundColor: string; euiColorHighlight: string; euiTextColor: string; euiTitleColor: string; euiTextSubduedColor: string; euiColorDisabled: string; euiColorPrimaryText: string; euiColorSuccessText: string; euiColorAccentText: string; euiColorWarningText: string; euiColorDangerText: string; euiColorDisabledText: string; euiLinkColor: string; euiColorChartLines: string; euiColorChartBand: string; }; }" ], - "path": "x-pack/packages/ml/kibana_theme/src/hooks.ts", + "path": "x-pack/platform/packages/private/ml/kibana_theme/src/hooks.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -59,7 +59,7 @@ "text": "ThemeServiceSetup" } ], - "path": "x-pack/packages/ml/kibana_theme/src/hooks.ts", + "path": "x-pack/platform/packages/private/ml/kibana_theme/src/hooks.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -90,7 +90,7 @@ }, ") => boolean" ], - "path": "x-pack/packages/ml/kibana_theme/src/hooks.ts", + "path": "x-pack/platform/packages/private/ml/kibana_theme/src/hooks.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -110,7 +110,7 @@ "text": "ThemeServiceSetup" } ], - "path": "x-pack/packages/ml/kibana_theme/src/hooks.ts", + "path": "x-pack/platform/packages/private/ml/kibana_theme/src/hooks.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -135,7 +135,7 @@ "signature": [ "{ euiZDataGrid: number; euiZHeaderBelowDataGrid: number; euiZDataGridCellPopover: number; euiDataGridCellPaddingS: string; euiDataGridCellPaddingM: string; euiDataGridCellPaddingL: string; euiTableHoverColor: string; euiTableSelectedColor: string; euiTableHoverSelectedColor: string; euiTableActionsBorderColor: string; euiTableHoverClickableColor: string; euiTableFocusClickableColor: string; euiContrastRatioText: number; euiContrastRatioGraphic: number; euiContrastRatioDisabled: number; euiAnimSlightBounce: string; euiAnimSlightResistance: string; euiAnimSpeedExtraFast: string; euiAnimSpeedFast: string; euiAnimSpeedNormal: string; euiAnimSpeedSlow: string; euiAnimSpeedExtraSlow: string; euiBorderWidthThin: string; euiBorderWidthThick: string; euiBorderColor: string; euiBorderRadius: string; euiBorderRadiusSmall: string; euiBorderThick: string; euiBorderThin: string; euiBorderEditable: string; euiButtonHeight: string; euiButtonHeightSmall: string; euiButtonHeightXSmall: string; euiButtonColorDisabled: string; euiButtonColorDisabledText: string; euiButtonColorGhostDisabled: string; euiButtonTypes: { primary: string; accent: string; success: string; warning: string; danger: string; ghost: string; text: string; }; euiPaletteColorBlind: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; }; euiPaletteColorBlindKeys: string; euiColorVis0: string; euiColorVis1: string; euiColorVis2: string; euiColorVis3: string; euiColorVis4: string; euiColorVis5: string; euiColorVis6: string; euiColorVis7: string; euiColorVis8: string; euiColorVis9: string; euiColorVis0_behindText: string; euiColorVis1_behindText: string; euiColorVis2_behindText: string; euiColorVis3_behindText: string; euiColorVis4_behindText: string; euiColorVis5_behindText: string; euiColorVis6_behindText: string; euiColorVis7_behindText: string; euiColorVis8_behindText: string; euiColorVis9_behindText: string; euiFontWeightLight: number; euiFontWeightRegular: number; euiFontWeightMedium: number; euiFontWeightSemiBold: number; euiFontWeightBold: number; euiCodeFontWeightRegular: number; euiCodeFontWeightBold: number; euiFormMaxWidth: string; euiFormControlHeight: string; euiFormControlCompressedHeight: string; euiFormControlPadding: string; euiFormControlCompressedPadding: string; euiFormControlBorderRadius: string; euiFormControlCompressedBorderRadius: string; euiRadioSize: string; euiCheckBoxSize: string; euiCheckboxBorderRadius: string; euiSwitchHeight: string; euiSwitchWidth: string; euiSwitchThumbSize: string; euiSwitchIconHeight: string; euiSwitchHeightCompressed: string; euiSwitchWidthCompressed: string; euiSwitchThumbSizeCompressed: string; euiSwitchHeightMini: string; euiSwitchWidthMini: string; euiSwitchThumbSizeMini: string; euiFormBackgroundColor: string; euiFormBackgroundDisabledColor: string; euiFormBackgroundReadOnlyColor: string; euiFormBorderOpaqueColor: string; euiFormBorderColor: string; euiFormBorderDisabledColor: string; euiFormCustomControlDisabledIconColor: string; euiFormCustomControlBorderColor: string; euiFormControlDisabledColor: string; euiFormControlBoxShadow: string; euiFormControlPlaceholderText: string; euiFormInputGroupLabelBackground: string; euiFormInputGroupBorder: string; euiSwitchOffColor: string; euiFormControlIconSizes: { small: string; medium: string; large: string; xLarge: string; xxLarge: string; }; euiFormControlLayoutGroupInputHeight: string; euiFormControlLayoutGroupInputCompressedHeight: string; euiFormControlLayoutGroupInputCompressedBorderRadius: string; euiHeaderBackgroundColor: string; euiHeaderDarkBackgroundColor: string; euiHeaderBorderColor: string; euiHeaderBreadcrumbColor: string; euiHeaderHeight: string; euiHeaderChildSize: string; euiHeaderHeightCompensation: string; euiPageDefaultMaxWidth: string; euiPageSidebarMinWidth: string; euiPanelPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiPanelBorderRadiusModifiers: { borderRadiusNone: number; borderRadiusMedium: string; }; euiPanelBackgroundColorModifiers: { transparent: string; plain: string; subdued: string; accent: string; primary: string; success: string; warning: string; danger: string; }; euiBreakpoints: { xs: number; s: string; m: string; l: string; xl: string; }; euiBreakpointKeys: string; euiShadowColor: string; euiSize: string; euiSizeXS: string; euiSizeS: string; euiSizeM: string; euiSizeL: string; euiSizeXL: string; euiSizeXXL: string; euiScrollBar: string; euiScrollBarCorner: string; euiScrollBarCornerThin: string; euiFocusRingColor: string; euiFocusRingAnimStartColor: string; euiFocusRingAnimStartSize: string; euiFocusRingAnimStartSizeLarge: string; euiFocusRingSizeLarge: string; euiFocusRingSize: string; euiFocusTransparency: number; euiFocusTransparencyPercent: string; euiFocusBackgroundColor: string; euiFontFamily: string; euiCodeFontFamily: string; euiFontFeatureSettings: string; euiTextScale: string; euiFontSize: string; euiFontSizeXS: string; euiFontSizeS: string; euiFontSizeM: string; euiFontSizeL: string; euiFontSizeXL: string; euiFontSizeXXL: string; euiLineHeight: number; euiBodyLineHeight: number; euiTitles: { xxxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; s: { 'font-size': string; 'line-height': string; 'font-weight': number; }; m: { 'font-size': string; 'line-height': string; 'font-weight': number; }; l: { 'font-size': string; 'line-height': string; 'font-weight': number; }; }; euiZLevel0: number; euiZLevel1: number; euiZLevel2: number; euiZLevel3: number; euiZLevel4: number; euiZLevel5: number; euiZLevel6: number; euiZLevel7: number; euiZLevel8: number; euiZLevel9: number; euiZToastList: number; euiZModal: number; euiZMask: number; euiZNavigation: number; euiZContentMenu: number; euiZHeader: number; euiZFlyout: number; euiZMaskBelowHeader: number; euiZContent: number; euiColorGhost: string; euiColorInk: string; euiColorPrimary: string; euiColorAccent: string; euiColorSuccess: string; euiColorWarning: string; euiColorDanger: string; euiColorEmptyShade: string; euiColorLightestShade: string; euiColorLightShade: string; euiColorMediumShade: string; euiColorDarkShade: string; euiColorDarkestShade: string; euiColorFullShade: string; euiPageBackgroundColor: string; euiColorHighlight: string; euiTextColor: string; euiTitleColor: string; euiTextSubduedColor: string; euiColorDisabled: string; euiColorPrimaryText: string; euiColorSuccessText: string; euiColorAccentText: string; euiColorWarningText: string; euiColorDangerText: string; euiColorDisabledText: string; euiLinkColor: string; euiColorChartLines: string; euiColorChartBand: string; }" ], - "path": "x-pack/packages/ml/kibana_theme/src/hooks.ts", + "path": "x-pack/platform/packages/private/ml/kibana_theme/src/hooks.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_kibana_theme.mdx b/api_docs/kbn_ml_kibana_theme.mdx index 3de236ae8c4ef..ec8c6abba4bc9 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_local_storage.devdocs.json index 7bb343c45db01..11edf2cf9bc74 100644 --- a/api_docs/kbn_ml_local_storage.devdocs.json +++ b/api_docs/kbn_ml_local_storage.devdocs.json @@ -31,7 +31,7 @@ "signature": [ "({\n children,\n storage,\n storageKeys,\n}: React.PropsWithChildren>) => React.JSX.Element" ], - "path": "x-pack/packages/ml/local_storage/src/storage_context.tsx", + "path": "x-pack/platform/packages/private/ml/local_storage/src/storage_context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -45,7 +45,7 @@ "signature": [ "React.PropsWithChildren>" ], - "path": "x-pack/packages/ml/local_storage/src/storage_context.tsx", + "path": "x-pack/platform/packages/private/ml/local_storage/src/storage_context.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -66,7 +66,7 @@ "signature": [ "(key: K, initValue: T | undefined) => [T | undefined extends undefined ? T | undefined : Exclude, (value: T) => void]" ], - "path": "x-pack/packages/ml/local_storage/src/storage_context.tsx", + "path": "x-pack/platform/packages/private/ml/local_storage/src/storage_context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -80,7 +80,7 @@ "signature": [ "K" ], - "path": "x-pack/packages/ml/local_storage/src/storage_context.tsx", + "path": "x-pack/platform/packages/private/ml/local_storage/src/storage_context.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -95,7 +95,7 @@ "signature": [ "T | undefined" ], - "path": "x-pack/packages/ml/local_storage/src/storage_context.tsx", + "path": "x-pack/platform/packages/private/ml/local_storage/src/storage_context.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false diff --git a/api_docs/kbn_ml_local_storage.mdx b/api_docs/kbn_ml_local_storage.mdx index ed4c83658c968..eeac5337d3760 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_nested_property.devdocs.json index 6f5619f05d97d..7fad08f397c96 100644 --- a/api_docs/kbn_ml_nested_property.devdocs.json +++ b/api_docs/kbn_ml_nested_property.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "(obj: Record, accessor: string, defaultValue: any) => any" ], - "path": "x-pack/packages/ml/nested_property/src/get_nested_property.ts", + "path": "x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "Record" ], - "path": "x-pack/packages/ml/nested_property/src/get_nested_property.ts", + "path": "x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -58,7 +58,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/nested_property/src/get_nested_property.ts", + "path": "x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -73,7 +73,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/nested_property/src/get_nested_property.ts", + "path": "x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -92,7 +92,7 @@ "signature": [ "(obj: Record, accessor: string, value: any) => Record" ], - "path": "x-pack/packages/ml/nested_property/src/set_nested_property.ts", + "path": "x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -106,7 +106,7 @@ "signature": [ "Record" ], - "path": "x-pack/packages/ml/nested_property/src/set_nested_property.ts", + "path": "x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -121,7 +121,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/nested_property/src/set_nested_property.ts", + "path": "x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -136,7 +136,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/nested_property/src/set_nested_property.ts", + "path": "x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_ml_nested_property.mdx b/api_docs/kbn_ml_nested_property.mdx index c8dc46cedde2e..72b0bd264a59f 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_number_utils.devdocs.json index 9529028d9506f..a7cd319a3496a 100644 --- a/api_docs/kbn_ml_number_utils.devdocs.json +++ b/api_docs/kbn_ml_number_utils.devdocs.json @@ -31,7 +31,7 @@ "signature": [ "(num: number | undefined, dp: number) => string | number" ], - "path": "x-pack/packages/ml/number_utils/src/round_to_decimal_place.ts", + "path": "x-pack/platform/packages/private/ml/number_utils/src/round_to_decimal_place.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47,7 +47,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/packages/ml/number_utils/src/round_to_decimal_place.ts", + "path": "x-pack/platform/packages/private/ml/number_utils/src/round_to_decimal_place.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -64,7 +64,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/number_utils/src/round_to_decimal_place.ts", + "path": "x-pack/platform/packages/private/ml/number_utils/src/round_to_decimal_place.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_ml_number_utils.mdx b/api_docs/kbn_ml_number_utils.mdx index d94778912183a..b213f2abdbca3 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_parse_interval.devdocs.json index 6f189fe473c4f..57706f601b46b 100644 --- a/api_docs/kbn_ml_parse_interval.devdocs.json +++ b/api_docs/kbn_ml_parse_interval.devdocs.json @@ -31,7 +31,7 @@ "signature": [ "(interval: string | number, checkValidEsUnit: boolean) => moment.Duration | null" ], - "path": "x-pack/packages/ml/parse_interval/parse_interval.ts", + "path": "x-pack/platform/packages/private/ml/parse_interval/parse_interval.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47,7 +47,7 @@ "signature": [ "string | number" ], - "path": "x-pack/packages/ml/parse_interval/parse_interval.ts", + "path": "x-pack/platform/packages/private/ml/parse_interval/parse_interval.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -64,7 +64,7 @@ "signature": [ "boolean" ], - "path": "x-pack/packages/ml/parse_interval/parse_interval.ts", + "path": "x-pack/platform/packages/private/ml/parse_interval/parse_interval.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_ml_parse_interval.mdx b/api_docs/kbn_ml_parse_interval.mdx index 2ba180a8bbf90..3bf9b5d5c9618 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_query_utils.devdocs.json index 853cbabd7a299..2e07f651d81ba 100644 --- a/api_docs/kbn_ml_query_utils.devdocs.json +++ b/api_docs/kbn_ml_query_utils.devdocs.json @@ -35,7 +35,7 @@ "QueryDslQueryContainer", " | { bool: { must_not: { term: { _tier: { value: string; }; }; }[]; }; }" ], - "path": "x-pack/packages/ml/query_utils/src/add_exclude_frozen_to_query.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/add_exclude_frozen_to_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -52,7 +52,7 @@ "QueryDslQueryContainer", " | undefined" ], - "path": "x-pack/packages/ml/query_utils/src/add_exclude_frozen_to_query.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/add_exclude_frozen_to_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -77,7 +77,7 @@ "QueryDslQueryContainer", "[]" ], - "path": "x-pack/packages/ml/query_utils/src/build_base_filter_criteria.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -93,7 +93,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/query_utils/src/build_base_filter_criteria.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -110,7 +110,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/packages/ml/query_utils/src/build_base_filter_criteria.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -127,7 +127,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/packages/ml/query_utils/src/build_base_filter_criteria.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -144,7 +144,7 @@ "signature": [ "string | { [key: string]: any; } | undefined" ], - "path": "x-pack/packages/ml/query_utils/src/build_base_filter_criteria.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -159,7 +159,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/query_utils/src/build_base_filter_criteria.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -183,7 +183,7 @@ "() => ", "QueryDslQueryContainer" ], - "path": "x-pack/packages/ml/query_utils/src/get_default_dsl_query.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/get_default_dsl_query.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -202,7 +202,7 @@ "signature": [ "(fieldName: string, index: number) => string" ], - "path": "x-pack/packages/ml/query_utils/src/get_safe_aggregation_name.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/get_safe_aggregation_name.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -218,7 +218,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/query_utils/src/get_safe_aggregation_name.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/get_safe_aggregation_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -235,7 +235,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/query_utils/src/get_safe_aggregation_name.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/get_safe_aggregation_name.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -266,7 +266,7 @@ }, ") => boolean" ], - "path": "x-pack/packages/ml/query_utils/src/default_query.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/default_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -288,7 +288,7 @@ "text": "SearchQueryVariant" } ], - "path": "x-pack/packages/ml/query_utils/src/default_query.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/default_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -311,7 +311,7 @@ "signature": [ "(query: unknown) => boolean" ], - "path": "x-pack/packages/ml/query_utils/src/match_all_query.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/match_all_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -327,7 +327,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/query_utils/src/match_all_query.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/match_all_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -350,7 +350,7 @@ "signature": [ "(arg: unknown) => boolean" ], - "path": "x-pack/packages/ml/query_utils/src/simple_query.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/simple_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -366,7 +366,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/query_utils/src/simple_query.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/simple_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -388,7 +388,7 @@ "description": [ "\nRepresents simple queries that are based on a boolean filter." ], - "path": "x-pack/packages/ml/query_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -412,7 +412,7 @@ }, "]; must: []; must_not: []; should?: [] | undefined; }" ], - "path": "x-pack/packages/ml/query_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -438,7 +438,7 @@ }, "" ], - "path": "x-pack/packages/ml/query_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -456,7 +456,7 @@ "QueryDslOperator", " | undefined; }" ], - "path": "x-pack/packages/ml/query_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/types.ts", "deprecated": false, "trackAdoption": false } @@ -478,7 +478,7 @@ "signature": [ "object" ], - "path": "x-pack/packages/ml/query_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -495,7 +495,7 @@ "signature": [ "\"kuery\" | \"lucene\"" ], - "path": "x-pack/packages/ml/query_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -528,7 +528,7 @@ }, "" ], - "path": "x-pack/packages/ml/query_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -551,7 +551,7 @@ "SearchTotalHitsRelation", "; }" ], - "path": "x-pack/packages/ml/query_utils/src/es_client_total_hits_relation.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/es_client_total_hits_relation.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -565,7 +565,7 @@ "description": [ "\nRepresents a query that matches all documents." ], - "path": "x-pack/packages/ml/query_utils/src/match_all_query.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/match_all_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -578,7 +578,7 @@ "description": [ "/**\n * 'match_all' property specifies a query that matches all documents.\n */" ], - "path": "x-pack/packages/ml/query_utils/src/match_all_query.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/match_all_query.ts", "deprecated": false, "trackAdoption": false, "children": [] @@ -598,7 +598,7 @@ "signature": [ "{ readonly KUERY: \"kuery\"; readonly LUCENE: \"lucene\"; }" ], - "path": "x-pack/packages/ml/query_utils/src/types.ts", + "path": "x-pack/platform/packages/private/ml/query_utils/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_query_utils.mdx b/api_docs/kbn_ml_query_utils.mdx index ef520802f826f..1a60664793716 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_random_sampler_utils.devdocs.json index e0073eca3670d..1aa3a1d50aba5 100644 --- a/api_docs/kbn_ml_random_sampler_utils.devdocs.json +++ b/api_docs/kbn_ml_random_sampler_utils.devdocs.json @@ -27,7 +27,7 @@ "description": [ "\nClass that helps manage random sampling settings\nAutomatically calculates the probability if only total doc count is provided\nElse, use the probability that was explicitly set" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -66,7 +66,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -91,7 +91,7 @@ }, ") => void) | undefined" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -115,7 +115,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -140,7 +140,7 @@ }, ") => void) | undefined" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -160,7 +160,7 @@ "signature": [ "(docCount: number) => void" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -176,7 +176,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -196,7 +196,7 @@ "signature": [ "() => number" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -222,7 +222,7 @@ }, ") => void" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -244,7 +244,7 @@ "text": "RandomSamplerOption" } ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -274,7 +274,7 @@ }, ">" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -299,7 +299,7 @@ "text": "RandomSamplerOption" } ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -325,7 +325,7 @@ }, ") => void" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -347,7 +347,7 @@ "text": "RandomSamplerProbability" } ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -377,7 +377,7 @@ }, ">" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -402,7 +402,7 @@ "text": "RandomSamplerProbability" } ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -426,7 +426,7 @@ "AggregationsAggregate", ">>(responseAggs: T) => T | T[string]; probability: number; }" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -455,7 +455,7 @@ "AggregationsAggregate", ">>(responseAggs: T) => T | T[string]; probability: number; }" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_wrapper.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_wrapper.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -471,7 +471,7 @@ "signature": [ "RandomSamplerOptions" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_wrapper.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_wrapper.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -494,7 +494,7 @@ "signature": [ "(totalDocCount: number) => number" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/get_sample_probability.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/get_sample_probability.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -510,7 +510,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/get_sample_probability.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/get_sample_probability.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -537,7 +537,7 @@ "signature": [ "0.001" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -554,7 +554,7 @@ "signature": [ "0.00001" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -571,7 +571,7 @@ "signature": [ "number[]" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -585,7 +585,7 @@ "description": [ "\nDefault step minimum probability for default sampling" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -602,7 +602,7 @@ "signature": [ "\"off\" | \"on_automatic\" | \"on_manual\"" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -619,7 +619,7 @@ "signature": [ "number | null" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -642,7 +642,7 @@ "AggregationsAggregate", ">>(responseAggs: T) => T | T[string]; probability: number; }" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_wrapper.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_wrapper.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -661,7 +661,7 @@ "signature": [ "{ readonly ON_AUTOMATIC: \"on_automatic\"; readonly ON_MANUAL: \"on_manual\"; readonly OFF: \"off\"; }" ], - "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "path": "x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_random_sampler_utils.mdx b/api_docs/kbn_ml_random_sampler_utils.mdx index e618befbbf1ec..f69df764055bf 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_route_utils.devdocs.json index 5fdddb76ef656..a9aa11eb9a8a4 100644 --- a/api_docs/kbn_ml_route_utils.devdocs.json +++ b/api_docs/kbn_ml_route_utils.devdocs.json @@ -46,7 +46,7 @@ "text": "KibanaExecutionContext" } ], - "path": "x-pack/packages/ml/route_utils/src/create_execution_context.ts", + "path": "x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -68,7 +68,7 @@ "text": "CoreStart" } ], - "path": "x-pack/packages/ml/route_utils/src/create_execution_context.ts", + "path": "x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -85,7 +85,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/route_utils/src/create_execution_context.ts", + "path": "x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -102,7 +102,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/route_utils/src/create_execution_context.ts", + "path": "x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -119,7 +119,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/route_utils/src/create_execution_context.ts", + "path": "x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_ml_route_utils.mdx b/api_docs/kbn_ml_route_utils.mdx index 7b1c80ad74db7..7e6193f7913de 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_runtime_field_utils.devdocs.json index 091befd71f2a1..05a8d5d3cd075 100644 --- a/api_docs/kbn_ml_runtime_field_utils.devdocs.json +++ b/api_docs/kbn_ml_runtime_field_utils.devdocs.json @@ -43,7 +43,7 @@ "MappingRuntimeFields", " | undefined" ], - "path": "x-pack/packages/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts", + "path": "x-pack/platform/packages/shared/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -66,7 +66,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts", + "path": "x-pack/platform/packages/shared/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -84,7 +84,7 @@ "MappingRuntimeFields", " | undefined" ], - "path": "x-pack/packages/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts", + "path": "x-pack/platform/packages/shared/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -105,7 +105,7 @@ "signature": [ "(arg: unknown) => boolean" ], - "path": "x-pack/packages/ml/runtime_field_utils/src/is_runtime_field.ts", + "path": "x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -121,7 +121,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/runtime_field_utils/src/is_runtime_field.ts", + "path": "x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_field.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -142,7 +142,7 @@ "signature": [ "(arg: unknown) => boolean" ], - "path": "x-pack/packages/ml/runtime_field_utils/src/is_runtime_mappings.ts", + "path": "x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -158,7 +158,7 @@ "signature": [ "unknown" ], - "path": "x-pack/packages/ml/runtime_field_utils/src/is_runtime_mappings.ts", + "path": "x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_mappings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -185,7 +185,7 @@ "MappingRuntimeField", "; }" ], - "path": "x-pack/packages/ml/runtime_field_utils/src/is_runtime_mappings.ts", + "path": "x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_mappings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_runtime_field_utils.mdx b/api_docs/kbn_ml_runtime_field_utils.mdx index 640565c3d610b..9cb3071903dbc 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_string_hash.devdocs.json index b4feed9dd180b..68821989dee2a 100644 --- a/api_docs/kbn_ml_string_hash.devdocs.json +++ b/api_docs/kbn_ml_string_hash.devdocs.json @@ -31,7 +31,7 @@ "signature": [ "(str: string) => number" ], - "path": "x-pack/packages/ml/string_hash/src/string_hash.ts", + "path": "x-pack/platform/packages/private/ml/string_hash/src/string_hash.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45,7 +45,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/string_hash/src/string_hash.ts", + "path": "x-pack/platform/packages/private/ml/string_hash/src/string_hash.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index c0a6996f1a0c1..75f14776987da 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_time_buckets.devdocs.json index 34126310879bc..f1a791518dde4 100644 --- a/api_docs/kbn_ml_time_buckets.devdocs.json +++ b/api_docs/kbn_ml_time_buckets.devdocs.json @@ -27,7 +27,7 @@ "description": [ "\nRepresents a configurable utility class for working with time buckets." ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -65,7 +65,7 @@ "text": "TimeBucketsConfig" } ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -85,7 +85,7 @@ "signature": [ "(barTarget: number) => void" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -101,7 +101,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -121,7 +121,7 @@ "signature": [ "(maxBars: number) => void" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -137,7 +137,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -157,7 +157,7 @@ "signature": [ "(interval: string) => void" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -173,7 +173,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -201,7 +201,7 @@ }, ") => void" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -223,7 +223,7 @@ "text": "TimeRangeBounds" } ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -243,7 +243,7 @@ "signature": [ "() => { min: moment.Moment; max: moment.Moment; }" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -270,7 +270,7 @@ "text": "TimeBucketsInterval" } ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -297,7 +297,7 @@ "text": "TimeBucketsInterval" } ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -313,7 +313,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -335,7 +335,7 @@ "signature": [ "() => string" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -384,7 +384,7 @@ }, ">" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -406,7 +406,7 @@ "text": "TimeRangeBounds" } ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -429,7 +429,7 @@ "text": "TimeBucketsInterval" } ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -446,7 +446,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -484,7 +484,7 @@ "text": "TimeBuckets" } ], - "path": "x-pack/packages/ml/time_buckets/use_time_buckets.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/use_time_buckets.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -506,7 +506,7 @@ "text": "IUiSettingsClient" } ], - "path": "x-pack/packages/ml/time_buckets/use_time_buckets.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/use_time_buckets.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -528,7 +528,7 @@ "description": [ "\nConfiguration options for initializing TimeBuckets." ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -541,7 +541,7 @@ "description": [ "\nThe maximum number of bars to display on the histogram." ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false }, @@ -554,7 +554,7 @@ "description": [ "\nThe targeted number of bars for the histogram." ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false }, @@ -567,7 +567,7 @@ "description": [ "\nThe date format string." ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false }, @@ -583,7 +583,7 @@ "signature": [ "string[][]" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false } @@ -599,7 +599,7 @@ "description": [ "\nDefines the structure for time intervals used within TimeBuckets." ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -615,7 +615,7 @@ "signature": [ "() => number" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -633,7 +633,7 @@ "signature": [ "() => number" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -648,7 +648,7 @@ "description": [ "\nThe string expression representing the interval." ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false } @@ -664,7 +664,7 @@ "description": [ "\nRepresents the minimum and maximum time bounds for a time range." ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -680,7 +680,7 @@ "signature": [ "moment.Moment | undefined" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false }, @@ -696,7 +696,7 @@ "signature": [ "moment.Moment | undefined" ], - "path": "x-pack/packages/ml/time_buckets/time_buckets.d.ts", + "path": "x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_ml_time_buckets.mdx b/api_docs/kbn_ml_time_buckets.mdx index e4074560b5da0..88bd28976b294 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_trained_models_utils.devdocs.json index e3c63f83892f7..601f27d5df2d1 100644 --- a/api_docs/kbn_ml_trained_models_utils.devdocs.json +++ b/api_docs/kbn_ml_trained_models_utils.devdocs.json @@ -31,7 +31,7 @@ "InferenceServiceSettings", ") => boolean" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45,7 +45,7 @@ "signature": [ "InferenceServiceSettings" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -63,7 +63,7 @@ "tags": [], "label": "GetModelDownloadConfigOptions", "description": [], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -84,7 +84,7 @@ }, " | undefined" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false } @@ -98,7 +98,7 @@ "tags": [], "label": "ModelDefinition", "description": [], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -114,7 +114,7 @@ "signature": [ "\"elser\" | \"e5\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -125,7 +125,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -141,7 +141,7 @@ "signature": [ "object" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -152,7 +152,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -166,7 +166,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -180,7 +180,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -194,7 +194,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -210,7 +210,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -223,7 +223,7 @@ "description": [ "Indicates if model version is supported by the cluster" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -237,7 +237,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -253,7 +253,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -269,7 +269,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -283,7 +283,7 @@ "signature": [ "readonly string[] | undefined" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false }, @@ -297,7 +297,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false } @@ -317,7 +317,7 @@ "signature": [ "\"prepackaged\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -329,7 +329,7 @@ "tags": [], "label": "BUILT_IN_MODEL_TYPE", "description": [], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -344,7 +344,7 @@ "signature": [ "\"started\" | \"starting\" | \"stopping\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -359,7 +359,7 @@ "signature": [ "\".multilingual-e5-small_linux-x86_64\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -374,7 +374,7 @@ "signature": [ "\".multilingual-e5-small\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -389,7 +389,7 @@ "signature": [ "\"elastic\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -404,7 +404,7 @@ "signature": [ "\"elastic\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -419,7 +419,7 @@ "signature": [ "\"elser\" | \"e5\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -434,7 +434,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -449,7 +449,7 @@ "signature": [ "\".elser_model_1\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -464,7 +464,7 @@ "signature": [ "\".elser_model_2_linux-x86_64\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -479,7 +479,7 @@ "signature": [ "\".elser_model_2\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -494,7 +494,7 @@ "signature": [ "string[]" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -509,7 +509,7 @@ "signature": [ "2 | 1" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -526,7 +526,7 @@ " & ", "InferenceServiceSettings" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -541,7 +541,7 @@ "signature": [ "\"lang_ident_model_1\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -556,7 +556,7 @@ "signature": [ "\".multilingual-e5-small_linux-x86_64\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -571,7 +571,7 @@ "signature": [ "\".elser_model_2_linux-x86_64\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -586,7 +586,7 @@ "signature": [ "2 | 1" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -608,7 +608,7 @@ }, " & { model_id: string; }" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -623,7 +623,7 @@ "signature": [ "\"started\" | \"starting\" | \"stopping\" | \"downloading\" | \"downloaded\" | \"notDownloaded\" | null" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -638,7 +638,7 @@ "signature": [ "\"text_embedding\" | \"text_expansion\" | \"ner\" | \"question_answering\" | \"zero_shot_classification\" | \"text_classification\" | \"fill_mask\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -653,7 +653,7 @@ "signature": [ "\"pytorch\" | \"tree_ensemble\" | \"lang_ident\"" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -670,7 +670,7 @@ "signature": [ "{ readonly STARTED: \"started\"; readonly STARTING: \"starting\"; readonly STOPPING: \"stopping\"; }" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -693,7 +693,7 @@ }, ", \"supported\">; }" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -708,7 +708,7 @@ "signature": [ "{ readonly DOWNLOADING: \"downloading\"; readonly DOWNLOADED: \"downloaded\"; readonly NOT_DOWNLOADED: \"notDownloaded\"; readonly STARTED: \"started\"; readonly STARTING: \"starting\"; readonly STOPPING: \"stopping\"; }" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -723,7 +723,7 @@ "signature": [ "{ readonly NER: \"ner\"; readonly QUESTION_ANSWERING: \"question_answering\"; readonly ZERO_SHOT_CLASSIFICATION: \"zero_shot_classification\"; readonly TEXT_CLASSIFICATION: \"text_classification\"; readonly TEXT_EMBEDDING: \"text_embedding\"; readonly FILL_MASK: \"fill_mask\"; readonly TEXT_EXPANSION: \"text_expansion\"; }" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -738,7 +738,7 @@ "signature": [ "{ readonly PYTORCH: \"pytorch\"; readonly TREE_ENSEMBLE: \"tree_ensemble\"; readonly LANG_IDENT: \"lang_ident\"; }" ], - "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", + "path": "x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_trained_models_utils.mdx b/api_docs/kbn_ml_trained_models_utils.mdx index e2ff281706aaf..5b424e788fa4c 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_ui_actions.devdocs.json index 6fe15ef82553e..680f2007095e2 100644 --- a/api_docs/kbn_ml_ui_actions.devdocs.json +++ b/api_docs/kbn_ml_ui_actions.devdocs.json @@ -27,7 +27,7 @@ "tags": [], "label": "CategorizeFieldContext", "description": [], - "path": "x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47,7 +47,7 @@ "text": "DataViewField" } ], - "path": "x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -67,7 +67,7 @@ "text": "DataView" } ], - "path": "x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -78,7 +78,7 @@ "tags": [], "label": "originatingApp", "description": [], - "path": "x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -92,7 +92,7 @@ "signature": [ "{ from: number; to: number; field?: { name: string; value: string; } | undefined; } | undefined" ], - "path": "x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts", "deprecated": false, "trackAdoption": false } @@ -106,7 +106,7 @@ "tags": [], "label": "CreateCategorizationADJobContext", "description": [], - "path": "x-pack/packages/ml/ui_actions/src/ml/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/ml/ui_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -126,7 +126,7 @@ "text": "DataViewField" } ], - "path": "x-pack/packages/ml/ui_actions/src/ml/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/ml/ui_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -146,7 +146,7 @@ "text": "DataView" } ], - "path": "x-pack/packages/ml/ui_actions/src/ml/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/ml/ui_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -160,7 +160,7 @@ "signature": [ "QueryDslQueryContainer" ], - "path": "x-pack/packages/ml/ui_actions/src/ml/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/ml/ui_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -174,7 +174,7 @@ "signature": [ "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" ], - "path": "x-pack/packages/ml/ui_actions/src/ml/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/ml/ui_actions.ts", "deprecated": false, "trackAdoption": false } @@ -194,7 +194,7 @@ "signature": [ "\"ACTION_CATEGORIZE_FIELD\"" ], - "path": "x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -209,7 +209,7 @@ "signature": [ "\"CATEGORIZE_FIELD_TRIGGER\"" ], - "path": "x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -224,7 +224,7 @@ "signature": [ "\"createMLADCategorizationJobAction\"" ], - "path": "x-pack/packages/ml/ui_actions/src/ml/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/ml/ui_actions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -239,7 +239,7 @@ "signature": [ "\"CREATE_PATTERN_ANALYSIS_TO_ML_AD_JOB_TRIGGER\"" ], - "path": "x-pack/packages/ml/ui_actions/src/ml/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/ml/ui_actions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -253,7 +253,7 @@ "tags": [], "label": "categorizeFieldTrigger", "description": [], - "path": "x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -264,7 +264,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -275,7 +275,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -286,7 +286,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts", + "path": "x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_ml_ui_actions.mdx b/api_docs/kbn_ml_ui_actions.mdx index 1c03049df0fdb..77a49b4237d19 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_url_state.devdocs.json index e2f8e56166522..fdb0e03e3d1c8 100644 --- a/api_docs/kbn_ml_url_state.devdocs.json +++ b/api_docs/kbn_ml_url_state.devdocs.json @@ -37,7 +37,7 @@ }, "" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -55,7 +55,7 @@ "Observable", "" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -71,7 +71,7 @@ "signature": [ "() => T | null" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -87,7 +87,7 @@ "signature": [ "(update: Partial, replaceState?: boolean | undefined) => void" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -101,7 +101,7 @@ "signature": [ "Partial" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -116,7 +116,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -136,7 +136,7 @@ "signature": [ "(currentState: T) => void" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -150,7 +150,7 @@ "signature": [ "T" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -170,7 +170,7 @@ "signature": [ "(callback: (update: Partial, replaceState?: boolean | undefined) => void) => void" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -184,7 +184,7 @@ "signature": [ "(update: Partial, replaceState?: boolean | undefined) => void" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -209,7 +209,7 @@ "signature": [ "(queryParam: string) => boolean" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -223,7 +223,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -250,7 +250,7 @@ }, "" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -264,7 +264,7 @@ "signature": [ "string" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -285,7 +285,7 @@ "UrlState", ">>" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -317,7 +317,7 @@ "signature": [ "({ children }: { children?: React.ReactNode; }) => React.JSX.Element" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -331,7 +331,7 @@ "signature": [ "{ children?: React.ReactNode; }" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -368,7 +368,7 @@ }, "]" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -382,7 +382,7 @@ "signature": [ "T[\"pageKey\"]" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -397,7 +397,7 @@ "signature": [ "T[\"pageUrlState\"] | undefined" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -432,7 +432,7 @@ }, ", value?: unknown, replaceState?: boolean | undefined) => void]" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -452,7 +452,7 @@ "text": "Accessor" } ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -480,7 +480,7 @@ }, "" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -494,7 +494,7 @@ "signature": [ "[id: string]: TValue" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false } @@ -508,7 +508,7 @@ "tags": [], "label": "ListingPageUrlState", "description": [], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -519,7 +519,7 @@ "tags": [], "label": "pageSize", "description": [], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -530,7 +530,7 @@ "tags": [], "label": "pageIndex", "description": [], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -541,7 +541,7 @@ "tags": [], "label": "sortField", "description": [], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -552,7 +552,7 @@ "tags": [], "label": "sortDirection", "description": [], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -566,7 +566,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -580,7 +580,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -594,7 +594,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false } @@ -608,7 +608,7 @@ "tags": [], "label": "PageUrlState", "description": [], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -619,7 +619,7 @@ "tags": [], "label": "pageKey", "description": [], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -633,7 +633,7 @@ "signature": [ "object" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false } @@ -653,7 +653,7 @@ "signature": [ "\"_a\" | \"_g\"" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -684,7 +684,7 @@ }, ", value?: any, replaceState?: boolean | undefined) => void" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -699,7 +699,7 @@ "signature": [ "\"_a\" | \"_g\"" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -721,7 +721,7 @@ }, "" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -735,7 +735,7 @@ "signature": [ "any" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false }, @@ -749,7 +749,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/packages/ml/url_state/src/url_state.tsx", + "path": "x-pack/platform/packages/private/ml/url_state/src/url_state.tsx", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_ml_url_state.mdx b/api_docs/kbn_ml_url_state.mdx index c53c8cb1664fe..ee7e90997496a 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_ml_validators.devdocs.json index ee66386f35dfa..9dc4a56010d1d 100644 --- a/api_docs/kbn_ml_validators.devdocs.json +++ b/api_docs/kbn_ml_validators.devdocs.json @@ -31,7 +31,7 @@ "signature": [ "(validators: ((value: any) => { [key: string]: any; } | null)[]) => (value: any) => { [key: string]: any; } | null" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -47,7 +47,7 @@ "signature": [ "((value: any) => { [key: string]: any; } | null)[]" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -70,7 +70,7 @@ "signature": [ "(dict: string[], shouldInclude: boolean) => (value: string) => { matchDict: string; } | null" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -86,7 +86,7 @@ "signature": [ "string[]" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -103,7 +103,7 @@ "signature": [ "boolean" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -126,7 +126,7 @@ "signature": [ "(maxLength: number) => (value: string) => { maxLength: { requiredLength: number; actualLength: number; }; } | null" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -142,7 +142,7 @@ "signature": [ "number" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -163,7 +163,7 @@ "signature": [ "(allowedUnits: string[]) => (value: T) => { invalidUnits: { allowedUnits: string; }; } | null" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -179,7 +179,7 @@ "signature": [ "string[]" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -202,7 +202,7 @@ "signature": [ "(pattern: RegExp) => (value: string) => { pattern: { matchPattern: string; }; } | null" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -218,7 +218,7 @@ "signature": [ "RegExp" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -241,7 +241,7 @@ "signature": [ "() => (value: T) => { required: boolean; } | null" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -262,7 +262,7 @@ "signature": [ "() => (value: string) => { invalidTimeInterval: boolean; } | null" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -282,7 +282,7 @@ "description": [ "\nInterface for a callout message." ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -295,7 +295,7 @@ "description": [ "\nUnique identifier for the callout message." ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -308,7 +308,7 @@ "description": [ "\nHeading of the callout message." ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -330,7 +330,7 @@ "text": "VALIDATION_STATUS" } ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -343,7 +343,7 @@ "description": [ "\nText of the callout message." ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -359,7 +359,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false } @@ -377,7 +377,7 @@ "description": [ "\nEnum for the validation status." ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -396,7 +396,7 @@ "signature": [ "-1" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -413,7 +413,7 @@ "signature": [ "string[]" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -430,7 +430,7 @@ "signature": [ "0.3" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -447,7 +447,7 @@ "signature": [ "100" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -464,7 +464,7 @@ "signature": [ "64" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -481,7 +481,7 @@ "signature": [ "{ invalidUnits: { allowedUnits: string; }; } | null" ], - "path": "x-pack/packages/ml/validators/validators.ts", + "path": "x-pack/platform/packages/private/ml/validators/validators.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -498,7 +498,7 @@ "signature": [ "25" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -515,7 +515,7 @@ "signature": [ "10" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -532,7 +532,7 @@ "signature": [ "true" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -549,7 +549,7 @@ "signature": [ "200" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -566,7 +566,7 @@ "signature": [ "200000" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -590,7 +590,7 @@ }, "[]" ], - "path": "x-pack/packages/ml/validators/constants.ts", + "path": "x-pack/platform/packages/private/ml/validators/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_ml_validators.mdx b/api_docs/kbn_ml_validators.mdx index 1b3c9e4a492d7..b6ae503df089d 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-08 +date: 2024-12-10 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 b98b41e38c79e..aa1e3a3a44da7 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_monaco.devdocs.json index 14dd9560fc8b7..f7e2884661b14 100644 --- a/api_docs/kbn_monaco.devdocs.json +++ b/api_docs/kbn_monaco.devdocs.json @@ -487,7 +487,7 @@ "tags": [], "label": "ESQLCallbacks", "description": [], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -503,7 +503,7 @@ "ESQLSourceResult", "> | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false }, @@ -525,7 +525,7 @@ }, "> | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false }, @@ -539,7 +539,7 @@ "signature": [ "CallbackFn<{}, { name: string; sourceIndices: string[]; matchField: string; enrichFields: string[]; }> | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false }, @@ -553,7 +553,7 @@ "signature": [ "(() => Promise<{ histogramBarTarget: number; }>) | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -571,7 +571,7 @@ "PartialFieldsMetadataClient", "> | undefined" ], - "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", + "path": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index 73ad695231248..89a2aa83a701f 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-08 +date: 2024-12-10 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 6cfdc4f77c47c..62193d39e1e39 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-08 +date: 2024-12-10 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 a2640170665d6..5f48f93631b5a 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-08 +date: 2024-12-10 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 8d1c8135c7387..fc1c9ad0e3723 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-08 +date: 2024-12-10 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 b8ad353e1d446..92530c3edb177 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-08 +date: 2024-12-10 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 c2bc82c710fc0..f8f849871e1cd 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-08 +date: 2024-12-10 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 decdca8201c68..5c5c59993a441 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-08 +date: 2024-12-10 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 8fb17eed98b28..276476ac7430b 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-08 +date: 2024-12-10 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 0894f83212771..fe1ff61f417f9 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-08 +date: 2024-12-10 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 47776abaaf11e..03890b35301f6 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-08 +date: 2024-12-10 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 597b377014ddf..8a7c6d88ea4d4 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/openapi-generator'] --- import kbnOpenapiGeneratorObj from './kbn_openapi_generator.devdocs.json'; diff --git a/api_docs/kbn_optimizer.devdocs.json b/api_docs/kbn_optimizer.devdocs.json index c660b7a84ef44..3baaaae1a72ba 100644 --- a/api_docs/kbn_optimizer.devdocs.json +++ b/api_docs/kbn_optimizer.devdocs.json @@ -280,6 +280,21 @@ "deprecated": false, "trackAdoption": false, "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$12", + "type": "string", + "tags": [], + "label": "reactVersion", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true } ], "returnComment": [] diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index bfa45c75094b8..175d8c0e1b5f3 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] --- import kbnOptimizerObj from './kbn_optimizer.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kiban | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 45 | 0 | 45 | 9 | +| 46 | 0 | 46 | 9 | ## Server diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index a68d3bc4556d9..9807ae3e162c7 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-08 +date: 2024-12-10 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 1731e4939d8ed..736ca4874ace0 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-08 +date: 2024-12-10 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_panel_loader.mdx b/api_docs/kbn_panel_loader.mdx index 0a00c2a0d7f8c..6cbe5e72b18cd 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-08 +date: 2024-12-10 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 cae4528ff02bc..5d30afaad94f7 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-08 +date: 2024-12-10 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 63a61adda1be8..61775fada02fc 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-08 +date: 2024-12-10 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 0155c9cf789ff..8b9db012aca7e 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-08 +date: 2024-12-10 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 8207fd6fa3471..ae741374afa7c 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_presentation_containers.mdx b/api_docs/kbn_presentation_containers.mdx index 731daffabdb33..2219051de19e4 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-08 +date: 2024-12-10 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 f631ed6e70da3..ab054f8e4ee19 100644 --- a/api_docs/kbn_presentation_publishing.devdocs.json +++ b/api_docs/kbn_presentation_publishing.devdocs.json @@ -7270,7 +7270,7 @@ "label": "resetUnsavedChanges", "description": [], "signature": [ - "() => void" + "() => boolean" ], "path": "packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", "deprecated": false, diff --git a/api_docs/kbn_presentation_publishing.mdx b/api_docs/kbn_presentation_publishing.mdx index 0c4395d41bac2..57156f455fc4a 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-08 +date: 2024-12-10 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 0adcc08296025..2a27a3eb5c837 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-08 +date: 2024-12-10 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 3a09cf3a07604..fa1ddf25aeb27 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-08 +date: 2024-12-10 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 499ed85ff8989..16f9e36a856f7 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-08 +date: 2024-12-10 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 d2ef079e5ed31..6fd0b3d1727b4 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-08 +date: 2024-12-10 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 4e72583f09413..acde3d9b4c4db 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-08 +date: 2024-12-10 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 77cfde23d7c82..7a13604cc9a0a 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-08 +date: 2024-12-10 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 c0459bddf8b5e..e4478b802c0c4 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_react_kibana_context_render.mdx index fe5ae226bd20d..de6526007e27a 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_react_kibana_context_root.mdx index 0faaa93d45832..5ae581983f572 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-08 +date: 2024-12-10 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 62dffb3241381..040b05718f8c6 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-08 +date: 2024-12-10 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 52028663e3c53..a10eb5ae7ca0d 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_react_kibana_mount.mdx index 8d873a6f0114a..1b2af6522c1cd 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_react_mute_legacy_root_warning.devdocs.json new file mode 100644 index 0000000000000..af0925516e765 --- /dev/null +++ b/api_docs/kbn_react_mute_legacy_root_warning.devdocs.json @@ -0,0 +1,47 @@ +{ + "id": "@kbn/react-mute-legacy-root-warning", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/react-mute-legacy-root-warning", + "id": "def-common.muteLegacyRootWarning", + "type": "Function", + "tags": [], + "label": "muteLegacyRootWarning", + "description": [ + "\nAfter we upgrade to React 18, we will see a warning in the console that we are using the legacy ReactDOM.render API.\nThis warning is expected as we are in the process of migrating to the new createRoot API.\nHowever, it is very noisy and we want to mute it for now." + ], + "signature": [ + "() => void" + ], + "path": "packages/kbn-react-mute-legacy-root-warning/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_react_mute_legacy_root_warning.mdx b/api_docs/kbn_react_mute_legacy_root_warning.mdx new file mode 100644 index 0000000000000..a0b6111a5b56a --- /dev/null +++ b/api_docs/kbn_react_mute_legacy_root_warning.mdx @@ -0,0 +1,30 @@ +--- +#### +#### 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: kibKbnReactMuteLegacyRootWarningPluginApi +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-10 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-mute-legacy-root-warning'] +--- +import kbnReactMuteLegacyRootWarningObj from './kbn_react_mute_legacy_root_warning.devdocs.json'; + + + +Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 1 | 0 | 0 | 0 | + +## Common + +### Functions + + diff --git a/api_docs/kbn_recently_accessed.mdx b/api_docs/kbn_recently_accessed.mdx index 7650a73fadb44..1c7322e524649 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/recently-accessed'] --- import kbnRecentlyAccessedObj from './kbn_recently_accessed.devdocs.json'; diff --git a/api_docs/kbn_repo_file_maps.mdx b/api_docs/kbn_repo_file_maps.mdx index 6479106494587..cf7709abb7f35 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-08 +date: 2024-12-10 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 f5dba539c9277..354c33d80654e 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-08 +date: 2024-12-10 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 5b685744fb24c..54526e5317998 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-08 +date: 2024-12-10 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 62adc07dd34c1..77193b39aaf89 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-08 +date: 2024-12-10 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 3b619e74db9fd..fc271f63ea3d2 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-08 +date: 2024-12-10 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 d6e6218ec0a96..ef317de7ff4bb 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-08 +date: 2024-12-10 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 1afa85a6e464a..b1f0cba5d2309 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-08 +date: 2024-12-10 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 5c07301747222..6797e44a17699 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-08 +date: 2024-12-10 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 3b88f50cdabd5..ba65a70ac6bb1 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-08 +date: 2024-12-10 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 24306e0d4137a..a73dd9fedb5e4 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-08 +date: 2024-12-10 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 3b12623500ef3..e575f36bcf820 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-08 +date: 2024-12-10 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 f948b46ee59dc..2387ddfb2b759 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-08 +date: 2024-12-10 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 9e81dc73fb003..6ad57318e6a09 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_reporting_public.mdx index 4397969cd250d..f2d6aca304578 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-08 +date: 2024-12-10 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 d6db703f11ef4..54280e3d10199 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-08 +date: 2024-12-10 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 d40e362f2bf25..697be56d70d0b 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-08 +date: 2024-12-10 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 bf6426d023133..57f0048adcf1c 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_response_ops_rule_form.mdx index 1e15947867eae..d11ded24d77dc 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-08 +date: 2024-12-10 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 260185a1a4670..d7cddafb1e606 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-08 +date: 2024-12-10 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 8c8d6887fb7c0..f2f4a8baf58be 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-08 +date: 2024-12-10 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 05a93d079043b..db40f919b9dca 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-08 +date: 2024-12-10 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 97c78729dda35..354dedf7e6620 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-08 +date: 2024-12-10 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 ad87e883999fb..499bad3166c47 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-08 +date: 2024-12-10 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 7e3046a04893d..ef55ace7e4222 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-08 +date: 2024-12-10 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 d41aa154bd0d1..30bd03d23c3cb 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-08 +date: 2024-12-10 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 29d1661a9869d..dc4cfeb2093f8 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-08 +date: 2024-12-10 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 82baa72c17cfd..83958a1b8f7a3 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-08 +date: 2024-12-10 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.devdocs.json b/api_docs/kbn_scout.devdocs.json index 2ff2ea1d3c0d5..3eaffaf3d88cd 100644 --- a/api_docs/kbn_scout.devdocs.json +++ b/api_docs/kbn_scout.devdocs.json @@ -1589,44 +1589,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "@kbn/scout", - "id": "def-common.runTestsCli", - "type": "Function", - "tags": [], - "label": "runTestsCli", - "description": [ - "\nStart servers and run the tests" - ], - "signature": [ - "() => void" - ], - "path": "packages/kbn-scout/src/cli/run_tests_cli.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "@kbn/scout", - "id": "def-common.startServersCli", - "type": "Function", - "tags": [], - "label": "startServersCli", - "description": [ - "\nStart servers" - ], - "signature": [ - "() => void" - ], - "path": "packages/kbn-scout/src/cli/start_servers_cli.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [], - "initialIsOpen": false - }, { "parentPluginId": "@kbn/scout", "id": "def-common.test", diff --git a/api_docs/kbn_scout.mdx b/api_docs/kbn_scout.mdx index ef0afbf3e7153..e5b3bff9f472a 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scout'] --- import kbnScoutObj from './kbn_scout.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) for | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 119 | 0 | 86 | 8 | +| 117 | 0 | 86 | 8 | ## Common diff --git a/api_docs/kbn_scout_info.devdocs.json b/api_docs/kbn_scout_info.devdocs.json new file mode 100644 index 0000000000000..2bfe02ca9adad --- /dev/null +++ b/api_docs/kbn_scout_info.devdocs.json @@ -0,0 +1,103 @@ +{ + "id": "@kbn/scout-info", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/scout-info", + "id": "def-common.SCOUT_OUTPUT_ROOT", + "type": "string", + "tags": [], + "label": "SCOUT_OUTPUT_ROOT", + "description": [], + "path": "packages/kbn-scout-info/src/paths.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-info", + "id": "def-common.SCOUT_REPORT_OUTPUT_ROOT", + "type": "string", + "tags": [], + "label": "SCOUT_REPORT_OUTPUT_ROOT", + "description": [], + "path": "packages/kbn-scout-info/src/paths.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-info", + "id": "def-common.SCOUT_SERVERS_ROOT", + "type": "string", + "tags": [], + "label": "SCOUT_SERVERS_ROOT", + "description": [], + "path": "packages/kbn-scout-info/src/paths.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-info", + "id": "def-common.SCOUT_TEST_EVENTS_DATA_STREAM_NAME", + "type": "string", + "tags": [], + "label": "SCOUT_TEST_EVENTS_DATA_STREAM_NAME", + "description": [], + "path": "packages/kbn-scout-info/src/reporting.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-info", + "id": "def-common.SCOUT_TEST_EVENTS_INDEX_PATTERN", + "type": "string", + "tags": [], + "label": "SCOUT_TEST_EVENTS_INDEX_PATTERN", + "description": [], + "path": "packages/kbn-scout-info/src/reporting.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-info", + "id": "def-common.SCOUT_TEST_EVENTS_TEMPLATE_NAME", + "type": "string", + "tags": [], + "label": "SCOUT_TEST_EVENTS_TEMPLATE_NAME", + "description": [], + "signature": [ + "\"scout-test-events\"" + ], + "path": "packages/kbn-scout-info/src/reporting.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_scout_info.mdx b/api_docs/kbn_scout_info.mdx new file mode 100644 index 0000000000000..e06c3d3af8170 --- /dev/null +++ b/api_docs/kbn_scout_info.mdx @@ -0,0 +1,30 @@ +--- +#### +#### 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: kibKbnScoutInfoPluginApi +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-10 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scout-info'] +--- +import kbnScoutInfoObj from './kbn_scout_info.devdocs.json'; + + + +Contact [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 6 | 0 | 6 | 0 | + +## Common + +### Consts, variables and types + + diff --git a/api_docs/kbn_scout_reporting.devdocs.json b/api_docs/kbn_scout_reporting.devdocs.json new file mode 100644 index 0000000000000..38f8bc7834e02 --- /dev/null +++ b/api_docs/kbn_scout_reporting.devdocs.json @@ -0,0 +1,1137 @@ +{ + "id": "@kbn/scout-reporting", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport", + "type": "Class", + "tags": [], + "label": "ScoutReport", + "description": [ + "\n" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/tooling-log", + "scope": "common", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-common.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport.workDir", + "type": "string", + "tags": [], + "label": "workDir", + "description": [], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport.concluded", + "type": "boolean", + "tags": [], + "label": "concluded", + "description": [], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/tooling-log", + "scope": "common", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-common.ToolingLog", + "text": "ToolingLog" + }, + " | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport.eventLogPath", + "type": "string", + "tags": [], + "label": "eventLogPath", + "description": [], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport.logEvent", + "type": "Function", + "tags": [], + "label": "logEvent", + "description": [ + "\nLogs an event to be processed by this reporter\n" + ], + "signature": [ + "(event: ", + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutReportEvent", + "text": "ScoutReportEvent" + }, + ") => void" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport.logEvent.$1", + "type": "Object", + "tags": [], + "label": "event", + "description": [ + "- Event to record" + ], + "signature": [ + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutReportEvent", + "text": "ScoutReportEvent" + } + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport.save", + "type": "Function", + "tags": [], + "label": "save", + "description": [ + "\nSave the report to a non-ephemeral location\n" + ], + "signature": [ + "(destination: string) => void" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport.save.$1", + "type": "string", + "tags": [], + "label": "destination", + "description": [ + "- Full path to the save location. Must not exist." + ], + "signature": [ + "string" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReport.conclude", + "type": "Function", + "tags": [], + "label": "conclude", + "description": [ + "\nCall this when you're done adding information to this report.\n\n⚠️**This will delete all the contents of the report's working directory**" + ], + "signature": [ + "() => void" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream", + "type": "Class", + "tags": [], + "label": "ScoutReportDataStream", + "description": [], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "es", + "description": [], + "signature": [ + "default" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/tooling-log", + "scope": "common", + "docId": "kibKbnToolingLogPluginApi", + "section": "def-common.ToolingLog", + "text": "ToolingLog" + }, + " | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream.exists", + "type": "Function", + "tags": [], + "label": "exists", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream.initialize", + "type": "Function", + "tags": [], + "label": "initialize", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream.setupComponentTemplates", + "type": "Function", + "tags": [], + "label": "setupComponentTemplates", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream.setupIndexTemplate", + "type": "Function", + "tags": [], + "label": "setupIndexTemplate", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream.addEvent", + "type": "Function", + "tags": [], + "label": "addEvent", + "description": [], + "signature": [ + "(event: ", + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutReportEvent", + "text": "ScoutReportEvent" + }, + ") => Promise" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream.addEvent.$1", + "type": "Object", + "tags": [], + "label": "event", + "description": [], + "signature": [ + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutReportEvent", + "text": "ScoutReportEvent" + } + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream.addEventsFromFile", + "type": "Function", + "tags": [], + "label": "addEventsFromFile", + "description": [], + "signature": [ + "(eventLogPath: string) => Promise" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportDataStream.addEventsFromFile.$1", + "type": "string", + "tags": [], + "label": "eventLogPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportError", + "type": "Class", + "tags": [], + "label": "ScoutReportError", + "description": [ + "\nGeneric error raised by a Scout report" + ], + "signature": [ + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutReportError", + "text": "ScoutReportError" + }, + " extends Error" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.generateTestRunId", + "type": "Function", + "tags": [], + "label": "generateTestRunId", + "description": [], + "signature": [ + "() => string" + ], + "path": "packages/kbn-scout-reporting/src/reporting/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.getTestIDForTitle", + "type": "Function", + "tags": [], + "label": "getTestIDForTitle", + "description": [], + "signature": [ + "(title: string) => string" + ], + "path": "packages/kbn-scout-reporting/src/reporting/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.getTestIDForTitle.$1", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-scout-reporting/src/reporting/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.scoutPlaywrightReporter", + "type": "Function", + "tags": [], + "label": "scoutPlaywrightReporter", + "description": [], + "signature": [ + "(options?: ", + "ScoutPlaywrightReporterOptions", + " | undefined) => ", + "ReporterDescription" + ], + "path": "packages/kbn-scout-reporting/src/reporting/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.scoutPlaywrightReporter.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ScoutPlaywrightReporterOptions", + " | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutFileInfo", + "type": "Interface", + "tags": [], + "label": "ScoutFileInfo", + "description": [ + "\nScout file info" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutFileInfo.path", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutFileInfo.owner", + "type": "CompoundType", + "tags": [], + "label": "owner", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReporterInfo", + "type": "Interface", + "tags": [], + "label": "ScoutReporterInfo", + "description": [ + "\nScout reporter info" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReporterInfo.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReporterInfo.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"jest\" | \"playwright\" | \"ftr\"" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEvent", + "type": "Interface", + "tags": [], + "label": "ScoutReportEvent", + "description": [ + "\nDocument that records an event to be logged by the Scout reporter" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEvent.timestamp", + "type": "Object", + "tags": [], + "label": "'@timestamp'", + "description": [], + "signature": [ + "Date | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEvent.buildkite", + "type": "Object", + "tags": [], + "label": "buildkite", + "description": [], + "signature": [ + "BuildkiteMetadata", + " | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEvent.host", + "type": "Object", + "tags": [], + "label": "host", + "description": [], + "signature": [ + "HostMetadata", + " | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEvent.event", + "type": "Object", + "tags": [], + "label": "event", + "description": [], + "signature": [ + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutReportEventInfo", + "text": "ScoutReportEventInfo" + } + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEvent.file", + "type": "Object", + "tags": [], + "label": "file", + "description": [], + "signature": [ + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutFileInfo", + "text": "ScoutFileInfo" + }, + " | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEvent.labels", + "type": "Object", + "tags": [], + "label": "labels", + "description": [], + "signature": [ + "{ [id: string]: string; } | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEvent.reporter", + "type": "Object", + "tags": [], + "label": "reporter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutReporterInfo", + "text": "ScoutReporterInfo" + } + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEvent.test_run", + "type": "Object", + "tags": [], + "label": "test_run", + "description": [], + "signature": [ + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutTestRunInfo", + "text": "ScoutTestRunInfo" + } + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEvent.suite", + "type": "Object", + "tags": [], + "label": "suite", + "description": [], + "signature": [ + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutSuiteInfo", + "text": "ScoutSuiteInfo" + }, + " | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEvent.test", + "type": "Object", + "tags": [], + "label": "test", + "description": [], + "signature": [ + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutTestInfo", + "text": "ScoutTestInfo" + }, + " | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEventInfo", + "type": "Interface", + "tags": [], + "label": "ScoutReportEventInfo", + "description": [ + "\nScout report event info" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEventInfo.action", + "type": "Enum", + "tags": [], + "label": "action", + "description": [], + "signature": [ + { + "pluginId": "@kbn/scout-reporting", + "scope": "common", + "docId": "kibKbnScoutReportingPluginApi", + "section": "def-common.ScoutReportEventAction", + "text": "ScoutReportEventAction" + } + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEventInfo.outcome", + "type": "CompoundType", + "tags": [], + "label": "outcome", + "description": [], + "signature": [ + "\"unknown\" | \"success\" | \"failure\" | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEventInfo.error", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "{ message?: string | undefined; id?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; type?: string | undefined; } | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutSuiteInfo", + "type": "Interface", + "tags": [], + "label": "ScoutSuiteInfo", + "description": [ + "\nScout suite info" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutSuiteInfo.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutSuiteInfo.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestInfo", + "type": "Interface", + "tags": [], + "label": "ScoutTestInfo", + "description": [ + "\nScout test info" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestInfo.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestInfo.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestInfo.tags", + "type": "Array", + "tags": [], + "label": "tags", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestInfo.annotations", + "type": "Array", + "tags": [], + "label": "annotations", + "description": [], + "signature": [ + "{ type: string; description?: string | undefined; }[] | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestInfo.expected_status", + "type": "string", + "tags": [], + "label": "expected_status", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestInfo.duration", + "type": "number", + "tags": [], + "label": "duration", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestInfo.status", + "type": "string", + "tags": [], + "label": "status", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestInfo.step", + "type": "Object", + "tags": [], + "label": "step", + "description": [], + "signature": [ + "{ title: string; category?: string | undefined; duration?: number | undefined; } | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestRunInfo", + "type": "Interface", + "tags": [], + "label": "ScoutTestRunInfo", + "description": [ + "\nScout test run info" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestRunInfo.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestRunInfo.status", + "type": "string", + "tags": [], + "label": "status", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutTestRunInfo.duration", + "type": "number", + "tags": [], + "label": "duration", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "@kbn/scout-reporting", + "id": "def-common.ScoutReportEventAction", + "type": "Enum", + "tags": [], + "label": "ScoutReportEventAction", + "description": [ + "\nScout reporter event type" + ], + "path": "packages/kbn-scout-reporting/src/reporting/report/event.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_scout_reporting.mdx b/api_docs/kbn_scout_reporting.mdx new file mode 100644 index 0000000000000..83f93554a4c59 --- /dev/null +++ b/api_docs/kbn_scout_reporting.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: kibKbnScoutReportingPluginApi +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-10 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scout-reporting'] +--- +import kbnScoutReportingObj from './kbn_scout_reporting.devdocs.json'; + + + +Contact [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 68 | 0 | 53 | 3 | + +## Common + +### Functions + + +### Classes + + +### Interfaces + + +### Enums + + diff --git a/api_docs/kbn_screenshotting_server.mdx b/api_docs/kbn_screenshotting_server.mdx index a9c94365eddf3..7ada739fa09a9 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-08 +date: 2024-12-10 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 66cb7dbe9abf7..ce83b7341015f 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-08 +date: 2024-12-10 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 a90ceec93df04..6af6e2a754994 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_search_api_panels.mdx index 1c9b421cad59f..0eaeae8c49c00 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-08 +date: 2024-12-10 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 0c4a44da5d667..31c2ae5d16f11 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-08 +date: 2024-12-10 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 3f3b506b96f67..d807d557e6404 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-08 +date: 2024-12-10 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 6cf7e74f0ac9f..c87dba5e4faad 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-08 +date: 2024-12-10 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 4d366205fd18b..0b28331cd33a5 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-08 +date: 2024-12-10 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 f8a8d9b511797..9012e3a9da187 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-08 +date: 2024-12-10 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 65a85a103bbbc..4c448ff834846 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-08 +date: 2024-12-10 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 b7addc04ae90b..dd6c4e355b536 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-08 +date: 2024-12-10 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 7afb119975218..08692cd14f622 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-08 +date: 2024-12-10 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 3e82afcc6548a..8fd2cf460021e 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-08 +date: 2024-12-10 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 89c542075f19e..4defccc0e674a 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-08 +date: 2024-12-10 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 d81eb10e69423..0c4468431ffe9 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-08 +date: 2024-12-10 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 f526311795c7b..df118cc8509c0 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-08 +date: 2024-12-10 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 3c25cd3a16df2..f476cf48ccdd7 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-08 +date: 2024-12-10 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 b066cbead7eaf..b8a5df3a3b0c9 100644 --- a/api_docs/kbn_security_plugin_types_server.devdocs.json +++ b/api_docs/kbn_security_plugin_types_server.devdocs.json @@ -4909,10 +4909,6 @@ "plugin": "serverlessSearch", "path": "x-pack/plugins/serverless_search/server/routes/api_key_routes.ts" }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts" - }, { "plugin": "upgradeAssistant", "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" @@ -4968,6 +4964,10 @@ { "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" } ] }, diff --git a/api_docs/kbn_security_plugin_types_server.mdx b/api_docs/kbn_security_plugin_types_server.mdx index deab25afe7652..7976f4a945fb8 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-08 +date: 2024-12-10 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 70cc895ec666a..9a4ab0b9242e9 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-08 +date: 2024-12-10 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 11d88409e098a..697f727b79d61 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_security_solution_features.mdx index c2c2114ad0193..ba2edfd501e56 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_security_solution_navigation.mdx index 359b80c11454b..09fe67fe7946a 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-08 +date: 2024-12-10 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 99a55df0639a1..e06a281b52d67 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-08 +date: 2024-12-10 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 aff9c39b67c4f..440095f2cc18c 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-08 +date: 2024-12-10 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 930b7a74f50bf..369deb84d5fdd 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-08 +date: 2024-12-10 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 86c35ac5ea83f..e06d9857ba312 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-08 +date: 2024-12-10 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 6fb4d430f9f7b..bd1680ab7c165 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-08 +date: 2024-12-10 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 95d3f04331a95..3088d20513408 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-08 +date: 2024-12-10 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 b0ac3ab72c50c..6d98ee04fb159 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-08 +date: 2024-12-10 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 a18079cacec1f..b267a800bb667 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-08 +date: 2024-12-10 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 67d09777d4df5..f26d3d93dfc4e 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-08 +date: 2024-12-10 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 8255c7ae7e235..2c8bcf2913986 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-08 +date: 2024-12-10 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 394665ffe4dd1..1cfd4acdd73eb 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-08 +date: 2024-12-10 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 c3193f06b7d92..63131851f322e 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-08 +date: 2024-12-10 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 09b7de0f592b8..aadaa9bb5e058 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-08 +date: 2024-12-10 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 d9a92b672b2d7..acda4d82918e1 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-08 +date: 2024-12-10 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 a2c9a505f1b9a..6cc5f6231ab41 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-08 +date: 2024-12-10 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 a0f5721f99660..4b4ae0c9f0a3a 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-08 +date: 2024-12-10 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 aa03f2b7cb73f..0bb78551477da 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-08 +date: 2024-12-10 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 53c236ba812ae..0a9a4ac9323e0 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-08 +date: 2024-12-10 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 b85416de518f6..62a0d9909e409 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-08 +date: 2024-12-10 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 438e43ad81cf8..0673ea18beffb 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-08 +date: 2024-12-10 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 185bf71e61b75..c467d3e2445ac 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-08 +date: 2024-12-10 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 c6e0bca53dba8..c569f7af69c10 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-08 +date: 2024-12-10 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 d28ed5d04280b..bf4bea214db22 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-08 +date: 2024-12-10 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 8739a6dc0addd..1cc5a5d72b0d7 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-08 +date: 2024-12-10 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 9655a6afedb3b..cd0c189f2a912 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-08 +date: 2024-12-10 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 a43f4e27ce56b..756a31d3679cd 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-08 +date: 2024-12-10 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 5d3033d56d563..7444f55f614df 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-08 +date: 2024-12-10 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 7d4afcec96af3..09f93f60ffc6a 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-08 +date: 2024-12-10 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 670031fdb2609..a8758f5ecad7e 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-08 +date: 2024-12-10 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 843ea3fd02e77..c5a5f69686dfc 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-08 +date: 2024-12-10 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 f28463e32218d..e2e57260035d2 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-08 +date: 2024-12-10 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 23ddb3688ae47..5cc189ae94891 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-08 +date: 2024-12-10 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 e9c51c3d0d65b..6eb5a4029897d 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-08 +date: 2024-12-10 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 840eb469a3853..3757ca9c569ee 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-08 +date: 2024-12-10 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 e2d2e9d4c4c48..f0252f01c744c 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-08 +date: 2024-12-10 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 595ca70e888a0..fb0e3a99631db 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_shared_ux_chrome_navigation.mdx index d2fd20d6d72d7..5e3fe38d97284 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-08 +date: 2024-12-10 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 70e428afa23a1..ae38a19b7f620 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-08 +date: 2024-12-10 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 5b0462fd2c6eb..6beb3f26d8480 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-08 +date: 2024-12-10 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 075fb613cd1f2..706879497645a 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-08 +date: 2024-12-10 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 35d09676f85b7..9dad1bda446b4 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-08 +date: 2024-12-10 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 e0a42081fb0ae..cf98a19607492 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-08 +date: 2024-12-10 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 36136ee6bc21f..1b3576896484e 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-08 +date: 2024-12-10 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 d83b29307f7b2..60b250e385b9d 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-08 +date: 2024-12-10 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 25f9aa482b8ba..cc92bd7686b6a 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-08 +date: 2024-12-10 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 5680ed994f064..ba6df33a865c1 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-08 +date: 2024-12-10 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 3d10f635bf425..d1908e5a20433 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-08 +date: 2024-12-10 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 1673b1c4af8ea..68514ec9753e4 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-08 +date: 2024-12-10 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 e5aed6399e471..2604477f27e1b 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-08 +date: 2024-12-10 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 8d02fe0be10b1..26126b89dc85d 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-08 +date: 2024-12-10 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 6fd00462e3bf2..471a0023258bb 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-08 +date: 2024-12-10 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 2f7e0817771b9..265d15cbaf4d2 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-08 +date: 2024-12-10 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 069dfcb9fbaec..83e3c89c5514a 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-08 +date: 2024-12-10 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 d528ffafd4da5..9913f12207e24 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-08 +date: 2024-12-10 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 55ac71143836e..067d0719f9b2a 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-08 +date: 2024-12-10 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 42ac104b0c211..28f6bbf10e0c7 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-08 +date: 2024-12-10 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 cb691cf4d7b9a..f3f85740ba4d2 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-08 +date: 2024-12-10 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 a790e78d121a5..9d2b9dff40a0c 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-08 +date: 2024-12-10 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 bd281432706ea..19760b957cb9a 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-08 +date: 2024-12-10 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 73ebee8e29eb3..e970f0fc22c63 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-08 +date: 2024-12-10 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 865add3b07ef6..5aa822627f552 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-08 +date: 2024-12-10 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 e4d710217ccbe..240e58147a121 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-08 +date: 2024-12-10 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 83dc4791ae154..8642aa9ac4f84 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-08 +date: 2024-12-10 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 8aa01e3acf25e..1a02155b99cbf 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-08 +date: 2024-12-10 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 4ff2029daa23c..95ebb75b17f29 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-08 +date: 2024-12-10 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 7db5fa82847c8..18ffcec0fd798 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-08 +date: 2024-12-10 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 de5a46d70a443..32cbf9523ead0 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-08 +date: 2024-12-10 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 b4f31672ebbd1..55867fa84a977 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-08 +date: 2024-12-10 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 a9e2d67a05887..a69c91c82d529 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-08 +date: 2024-12-10 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 5bf22d3826d56..23c94ff6dd4fa 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_shared_ux_utility.mdx index 28963fdd249cd..2cc2dc17261d9 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-08 +date: 2024-12-10 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 94e741e17d659..0e07f12737d33 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-08 +date: 2024-12-10 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 9006f72a90c57..266e25316751e 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-08 +date: 2024-12-10 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 28faae1ba3889..6df76da5ee1c7 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-08 +date: 2024-12-10 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 9440d87e8a46b..c7e2ed7c6e7ff 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-08 +date: 2024-12-10 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 ecc41aece679e..71c40e3e32ecf 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-08 +date: 2024-12-10 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 78e9155eec9b5..ba641ade176f3 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-08 +date: 2024-12-10 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 d485778c4a39d..713b5a6e82643 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-08 +date: 2024-12-10 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 4fdf351787b34..434de060b7cb1 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-08 +date: 2024-12-10 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 10b34c0c1bdc2..5e4273929e997 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] --- import kbnStorybookObj from './kbn_storybook.devdocs.json'; diff --git a/api_docs/kbn_synthetics_e2e.mdx b/api_docs/kbn_synthetics_e2e.mdx index 641af0cc50205..21c5a7dfe8815 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-08 +date: 2024-12-10 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 17045e59ccd21..fcc0b28808d36 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-08 +date: 2024-12-10 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 a17beea8efb04..bf80b02cdbb5f 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] --- import kbnTelemetryToolsObj from './kbn_telemetry_tools.devdocs.json'; diff --git a/api_docs/kbn_test.devdocs.json b/api_docs/kbn_test.devdocs.json index 85e09a0c2b0bc..f011ccc602fd9 100644 --- a/api_docs/kbn_test.devdocs.json +++ b/api_docs/kbn_test.devdocs.json @@ -5989,6 +5989,22 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "@kbn/test", + "id": "def-common.Suite.fullTitle", + "type": "Function", + "tags": [], + "label": "fullTitle", + "description": [], + "signature": [ + "() => string" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "@kbn/test", "id": "def-common.Suite.file", @@ -6207,6 +6223,20 @@ "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-common.Test.err", + "type": "Object", + "tags": [], + "label": "err", + "description": [], + "signature": [ + "Error | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index 96e905f052287..90b99d676f20b 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kiban | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 358 | 4 | 303 | 14 | +| 360 | 4 | 305 | 14 | ## Common diff --git a/api_docs/kbn_test_eui_helpers.mdx b/api_docs/kbn_test_eui_helpers.mdx index 64681737e5467..c2087a4d8dcc4 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-08 +date: 2024-12-10 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 72162df584c31..a4c009f13823c 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-08 +date: 2024-12-10 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 c3cd84fec7652..3eee4b5fcf634 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-08 +date: 2024-12-10 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 1faa4f0a42b44..c623e767d0235 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-08 +date: 2024-12-10 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 b7d2cca603f20..7e39333f85ded 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-08 +date: 2024-12-10 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 fb308448162ff..ee25d7b22877f 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-08 +date: 2024-12-10 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 68466de99e352..1ed43aacfbebd 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-08 +date: 2024-12-10 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 63490e157f56c..ab433f5c8f1c8 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-08 +date: 2024-12-10 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 16409c3e23822..089172c24b07f 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-08 +date: 2024-12-10 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 4bc505cdd98ef..e71c62047b2e0 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-08 +date: 2024-12-10 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 ccb1a264175b1..91519393d174e 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-08 +date: 2024-12-10 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 fa1f25e1e319c..8ef4bbb1b2dd9 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-08 +date: 2024-12-10 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 3272ba2b16226..50f9bb53556b5 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-08 +date: 2024-12-10 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 c3131a5f9f5ee..ecf1da9eed3f9 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-08 +date: 2024-12-10 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 6f6da12d6c133..9adf0481ac2ce 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-08 +date: 2024-12-10 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 2c61ebffaf511..a25c3dc4592e4 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-08 +date: 2024-12-10 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 e1be6e933dc43..a39c3736b9066 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-08 +date: 2024-12-10 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 3a99d7e1303b7..58ddf3fd5c7a5 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-08 +date: 2024-12-10 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 b248472540f72..a00d54551c2d0 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-08 +date: 2024-12-10 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 8bc50f12685d1..2824a1c269765 100644 --- a/api_docs/kbn_user_profile_components.devdocs.json +++ b/api_docs/kbn_user_profile_components.devdocs.json @@ -872,6 +872,14 @@ "section": "def-public.ThemeServiceSetup", "text": "ThemeServiceSetup" }, + "; userProfile: ", + { + "pluginId": "@kbn/core-user-profile-browser", + "scope": "public", + "docId": "kibKbnCoreUserProfileBrowserPluginApi", + "section": "def-public.UserProfileService", + "text": "UserProfileService" + }, "; i18n: ", { "pluginId": "@kbn/core-i18n-browser", diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index 553ad9d7b09ae..1eaf4a327fa29 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-08 +date: 2024-12-10 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 7fd54ecb498a8..a70e0d6405ebc 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-08 +date: 2024-12-10 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 feb9caabfe11b..f6f8885e181e6 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-08 +date: 2024-12-10 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 85975194a95ff..f5093649e563e 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-08 +date: 2024-12-10 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 82d247342ffc8..a375d6d38afb0 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-08 +date: 2024-12-10 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 51e438970b975..ed9aad8b4139b 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-08 +date: 2024-12-10 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 f3cad21bacbdf..9004a0f42745e 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-08 +date: 2024-12-10 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 d7245b98ea4f8..653fcb4d79bff 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-08 +date: 2024-12-10 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.mdx b/api_docs/kbn_zod.mdx index da5ea1dfc6bae..40a181dc684d8 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-08 +date: 2024-12-10 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 a752c55ddc132..0885ecaca7222 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-08 +date: 2024-12-10 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 c68307b29dc4f..6aff7fa949e00 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 07a8a3a767f73..be05b56eda8bb 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] --- import kibanaReactObj from './kibana_react.devdocs.json'; diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index 2eb2821a93259..5396d6f8ed22b 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-08 +date: 2024-12-10 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 8dd69b939c367..2e7cf52c6ee91 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.devdocs.json b/api_docs/lens.devdocs.json index 2aafc998767a6..17f5de4a4d6e4 100644 --- a/api_docs/lens.devdocs.json +++ b/api_docs/lens.devdocs.json @@ -131,7 +131,7 @@ "section": "def-public.PublishingSubject", "text": "PublishingSubject" }, - " | undefined; resetUnsavedChanges?: (() => void) | undefined; serializeState: () => ", + " | undefined; resetUnsavedChanges?: (() => boolean) | undefined; serializeState: () => ", { "pluginId": "@kbn/utility-types", "scope": "common", @@ -17755,7 +17755,7 @@ "section": "def-public.PublishingSubject", "text": "PublishingSubject" }, - " | undefined; resetUnsavedChanges?: (() => void) | undefined; serializeState: () => ", + " | undefined; resetUnsavedChanges?: (() => boolean) | undefined; serializeState: () => ", { "pluginId": "@kbn/utility-types", "scope": "common", @@ -20309,7 +20309,7 @@ "section": "def-public.PublishingSubject", "text": "PublishingSubject" }, - " | undefined; resetUnsavedChanges?: (() => void) | undefined; serializeState: () => ", + " | undefined; resetUnsavedChanges?: (() => boolean) | undefined; serializeState: () => ", { "pluginId": "@kbn/utility-types", "scope": "common", diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 8d4fd3da7943f..e90abb70f6549 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-08 +date: 2024-12-10 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 b1ffc9acd51d6..7229770a2ce29 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-08 +date: 2024-12-10 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 3083de68055f7..704efebb74b73 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-08 +date: 2024-12-10 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 954110ba3ede9..f9770fc80ae0a 100644 --- a/api_docs/licensing.devdocs.json +++ b/api_docs/licensing.devdocs.json @@ -808,7 +808,7 @@ }, { "plugin": "aiops", - "path": "x-pack/plugins/aiops/public/plugin.tsx" + "path": "x-pack/platform/plugins/shared/aiops/public/plugin.tsx" }, { "plugin": "licenseManagement", @@ -816,7 +816,7 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/plugin.ts" + "path": "x-pack/platform/plugins/shared/ml/public/plugin.ts" }, { "plugin": "crossClusterReplication", @@ -2194,17 +2194,13 @@ "plugin": "alerting", "path": "x-pack/plugins/alerting/server/plugin.ts" }, - { - "plugin": "aiops", - "path": "x-pack/plugins/aiops/server/plugin.ts" - }, { "plugin": "remoteClusters", "path": "x-pack/plugins/remote_clusters/server/plugin.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/ml/server/plugin.ts" }, { "plugin": "graph", @@ -2250,10 +2246,6 @@ "plugin": "snapshotRestore", "path": "x-pack/plugins/snapshot_restore/server/services/license.ts" }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/services/license.ts" - }, { "plugin": "upgradeAssistant", "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts" @@ -2282,6 +2274,14 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/get_is_alert_suppression_active.test.ts" }, + { + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/services/license.ts" + }, + { + "plugin": "aiops", + "path": "x-pack/platform/plugins/shared/aiops/server/plugin.ts" + }, { "plugin": "actions", "path": "x-pack/plugins/actions/server/lib/license_state.test.ts" diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index b04e8cf06df2a..cb2fa10f2037f 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/links.mdx b/api_docs/links.mdx index 1dee83eef373a..3624254804ce6 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-08 +date: 2024-12-10 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 c32a868b4514a..c01f7076c28f9 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-08 +date: 2024-12-10 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 b6b6e620eabd1..2adb45f4aaf45 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-08 +date: 2024-12-10 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 79bba12fc13dd..c1e10f806bb00 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-08 +date: 2024-12-10 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 3b58b1eaddec4..6149d530e0934 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-08 +date: 2024-12-10 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 85afe3d43e4e1..aadc044bb6f73 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsShared'] --- import logsSharedObj from './logs_shared.devdocs.json'; diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 90011f8ae29e7..02f48da672886 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] --- import managementObj from './management.devdocs.json'; diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index aeef24dfcd9a5..13be2f6257719 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] --- import mapsObj from './maps.devdocs.json'; diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index 0bf35b95bbfd5..acb7b46255e2f 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-08 +date: 2024-12-10 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 fb826bdeb961d..59a57b0fade86 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'metricsDataAccess'] --- import metricsDataAccessObj from './metrics_data_access.devdocs.json'; diff --git a/api_docs/ml.devdocs.json b/api_docs/ml.devdocs.json index 484e9c66925f6..f4f94a547565e 100644 --- a/api_docs/ml.devdocs.json +++ b/api_docs/ml.devdocs.json @@ -29,7 +29,7 @@ "MlLocatorParams", ">" ], - "path": "x-pack/plugins/ml/public/locator/ml_locator.ts", + "path": "x-pack/platform/plugins/shared/ml/public/locator/ml_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "\"ML_APP_LOCATOR\"" ], - "path": "x-pack/plugins/ml/public/locator/ml_locator.ts", + "path": "x-pack/platform/plugins/shared/ml/public/locator/ml_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -61,7 +61,7 @@ "KibanaLocation", ">" ], - "path": "x-pack/plugins/ml/public/locator/ml_locator.ts", + "path": "x-pack/platform/plugins/shared/ml/public/locator/ml_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -75,7 +75,7 @@ "signature": [ "MlLocatorParams" ], - "path": "x-pack/plugins/ml/public/locator/ml_locator.ts", + "path": "x-pack/platform/plugins/shared/ml/public/locator/ml_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -98,7 +98,7 @@ "signature": [ "({ jobIds }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx", + "path": "x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -112,7 +112,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx", + "path": "x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -131,7 +131,7 @@ "signature": [ "({ nodeAvailableCallback, size }: Props) => React.JSX.Element | null" ], - "path": "x-pack/plugins/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx", + "path": "x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -145,7 +145,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx", + "path": "x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -180,7 +180,7 @@ "MlLocatorParams", ", dependencies?: React.DependencyList | undefined) => string" ], - "path": "x-pack/plugins/ml/public/locator/use_ml_href.ts", + "path": "x-pack/platform/plugins/shared/ml/public/locator/use_ml_href.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -206,7 +206,7 @@ "ElasticModels", " | undefined; } | undefined" ], - "path": "x-pack/plugins/ml/public/locator/use_ml_href.ts", + "path": "x-pack/platform/plugins/shared/ml/public/locator/use_ml_href.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -221,7 +221,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/public/locator/use_ml_href.ts", + "path": "x-pack/platform/plugins/shared/ml/public/locator/use_ml_href.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -236,7 +236,7 @@ "signature": [ "MlLocatorParams" ], - "path": "x-pack/plugins/ml/public/locator/use_ml_href.ts", + "path": "x-pack/platform/plugins/shared/ml/public/locator/use_ml_href.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -251,7 +251,7 @@ "signature": [ "React.DependencyList | undefined" ], - "path": "x-pack/plugins/ml/public/locator/use_ml_href.ts", + "path": "x-pack/platform/plugins/shared/ml/public/locator/use_ml_href.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -290,7 +290,7 @@ ",", "AnomalySwimlaneEmbeddableCustomInput" ], - "path": "x-pack/plugins/ml/public/embeddables/anomaly_swimlane/types.ts", + "path": "x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -303,7 +303,7 @@ "tags": [], "label": "DataRecognizerConfigResponse", "description": [], - "path": "x-pack/plugins/ml/common/types/modules.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/modules.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -318,7 +318,7 @@ "DatafeedResponse", "[]" ], - "path": "x-pack/plugins/ml/common/types/modules.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/modules.ts", "deprecated": false, "trackAdoption": false }, @@ -333,7 +333,7 @@ "JobResponse", "[]" ], - "path": "x-pack/plugins/ml/common/types/modules.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/modules.ts", "deprecated": false, "trackAdoption": false }, @@ -353,7 +353,7 @@ "KibanaObjectResponse", "[]; }" ], - "path": "x-pack/plugins/ml/common/types/modules.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/modules.ts", "deprecated": false, "trackAdoption": false } @@ -367,7 +367,7 @@ "tags": [], "label": "JobExistResult", "description": [], - "path": "x-pack/plugins/ml/common/types/data_recognizer.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -378,7 +378,7 @@ "tags": [], "label": "jobsExist", "description": [], - "path": "x-pack/plugins/ml/common/types/data_recognizer.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts", "deprecated": false, "trackAdoption": false }, @@ -393,7 +393,7 @@ "JobStat", "[]" ], - "path": "x-pack/plugins/ml/common/types/data_recognizer.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts", "deprecated": false, "trackAdoption": false } @@ -407,7 +407,7 @@ "tags": [], "label": "JobStat", "description": [], - "path": "x-pack/plugins/ml/common/types/data_recognizer.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -418,7 +418,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/ml/common/types/data_recognizer.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts", "deprecated": false, "trackAdoption": false }, @@ -429,7 +429,7 @@ "tags": [], "label": "earliestTimestampMs", "description": [], - "path": "x-pack/plugins/ml/common/types/data_recognizer.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts", "deprecated": false, "trackAdoption": false }, @@ -440,7 +440,7 @@ "tags": [], "label": "latestTimestampMs", "description": [], - "path": "x-pack/plugins/ml/common/types/data_recognizer.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts", "deprecated": false, "trackAdoption": false }, @@ -454,7 +454,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/data_recognizer.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts", "deprecated": false, "trackAdoption": false } @@ -468,7 +468,7 @@ "tags": [], "label": "MlCapabilitiesResponse", "description": [], - "path": "x-pack/plugins/ml/common/types/capabilities.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -482,7 +482,7 @@ "signature": [ "{ isADEnabled: boolean; isDFAEnabled: boolean; isNLPEnabled: boolean; } & { canGetJobs: boolean; canGetDatafeeds: boolean; canGetCalendars: boolean; canFindFileStructure: boolean; canGetDataFrameAnalytics: boolean; canGetAnnotations: boolean; canCreateAnnotation: boolean; canDeleteAnnotation: boolean; canUseMlAlerts: boolean; canGetTrainedModels: boolean; canTestTrainedModels: boolean; canGetFieldInfo: boolean; canGetMlInfo: boolean; canUseAiops: boolean; } & { canCreateJob: boolean; canDeleteJob: boolean; canOpenJob: boolean; canCloseJob: boolean; canResetJob: boolean; canUpdateJob: boolean; canForecastJob: boolean; canDeleteForecast: boolean; canCreateDatafeed: boolean; canDeleteDatafeed: boolean; canStartStopDatafeed: boolean; canUpdateDatafeed: boolean; canPreviewDatafeed: boolean; canGetFilters: boolean; canCreateCalendar: boolean; canDeleteCalendar: boolean; canCreateFilter: boolean; canDeleteFilter: boolean; canCreateDataFrameAnalytics: boolean; canDeleteDataFrameAnalytics: boolean; canStartStopDataFrameAnalytics: boolean; canCreateMlAlerts: boolean; canUseMlAlerts: boolean; canViewMlNodes: boolean; canCreateTrainedModels: boolean; canDeleteTrainedModels: boolean; canStartStopTrainedModels: boolean; canCreateInferenceEndpoint: boolean; }" ], - "path": "x-pack/plugins/ml/common/types/capabilities.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -493,7 +493,7 @@ "tags": [], "label": "upgradeInProgress", "description": [], - "path": "x-pack/plugins/ml/common/types/capabilities.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -504,7 +504,7 @@ "tags": [], "label": "isPlatinumOrTrialLicense", "description": [], - "path": "x-pack/plugins/ml/common/types/capabilities.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/capabilities.ts", "deprecated": false, "trackAdoption": false }, @@ -515,7 +515,7 @@ "tags": [], "label": "mlFeatureEnabledInSpace", "description": [], - "path": "x-pack/plugins/ml/common/types/capabilities.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/capabilities.ts", "deprecated": false, "trackAdoption": false } @@ -531,7 +531,7 @@ "description": [ "\nA summary of an anomaly detection job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -544,7 +544,7 @@ "description": [ "\nThe identifier for the anomaly detection job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -557,7 +557,7 @@ "description": [ "\nA description of the job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -573,7 +573,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -589,7 +589,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -605,7 +605,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -623,7 +623,7 @@ " | ", "JobActionState" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -639,7 +639,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -652,7 +652,7 @@ "description": [ "\nFlag indicating whether a datafeed exists for the job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -665,7 +665,7 @@ "description": [ "\nThe identifier for the datafeed." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -678,7 +678,7 @@ "description": [ "\nThe status of the datafeed." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -694,7 +694,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -710,7 +710,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -726,7 +726,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -743,7 +743,7 @@ "CombinedJob", " | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -759,7 +759,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -777,7 +777,7 @@ "AuditMessage", "> | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -790,7 +790,7 @@ "description": [ "\nFlag indicating whether results of the job can be viewed in the Single Metric Viewer." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -806,7 +806,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -823,7 +823,7 @@ "MlJobBlocked", " | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -839,7 +839,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -855,7 +855,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -868,7 +868,7 @@ "description": [ "\nIndicates whether the job is currently awaiting assignment to a node before opening." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -885,7 +885,7 @@ "MlAnomalyDetectionAlertRule", "[] | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -901,7 +901,7 @@ "signature": [ "{ [x: string]: string; }" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -914,7 +914,7 @@ "description": [ "\nThe size of the interval that the analysis is aggregated into, typically between 5m and 1h." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -930,7 +930,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false } @@ -950,7 +950,7 @@ "signature": [ "\"ml_anomaly_swimlane\"" ], - "path": "x-pack/plugins/ml/public/embeddables/constants.ts", + "path": "x-pack/platform/plugins/shared/ml/public/embeddables/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1039,7 +1039,7 @@ " & ", "AnomalySwimLaneComponentApi" ], - "path": "x-pack/plugins/ml/public/embeddables/anomaly_swimlane/types.ts", + "path": "x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1054,7 +1054,7 @@ "signature": [ "\"anomaly-swim-lane\"" ], - "path": "x-pack/plugins/ml/public/ui_actions/constants.ts", + "path": "x-pack/platform/plugins/shared/ml/public/ui_actions/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1078,7 +1078,7 @@ "MlLocatorParams", ">" ], - "path": "x-pack/plugins/ml/common/types/locator.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1120,7 +1120,7 @@ }, " | undefined; } & Record) | undefined; }" ], - "path": "x-pack/plugins/ml/common/types/trained_models.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/trained_models.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1137,7 +1137,7 @@ "signature": [ "{ readonly ANOMALY_DETECTION_JOBS_MANAGE: \"jobs\"; readonly ANOMALY_EXPLORER: \"explorer\"; readonly SINGLE_METRIC_VIEWER: \"timeseriesexplorer\"; readonly DATA_FRAME_ANALYTICS_JOBS_MANAGE: \"data_frame_analytics\"; readonly DATA_FRAME_ANALYTICS_SOURCE_SELECTION: \"data_frame_analytics/source_selection\"; readonly DATA_FRAME_ANALYTICS_CREATE_JOB: \"data_frame_analytics/new_job\"; readonly TRAINED_MODELS_MANAGE: \"trained_models\"; readonly DATA_DRIFT_INDEX_SELECT: \"data_drift_index_select\"; readonly DATA_DRIFT_CUSTOM: \"data_drift_custom\"; readonly DATA_DRIFT: \"data_drift\"; readonly NODES: \"nodes\"; readonly MEMORY_USAGE: \"memory_usage\"; readonly DATA_FRAME_ANALYTICS_EXPLORATION: \"data_frame_analytics/exploration\"; readonly DATA_FRAME_ANALYTICS_MAP: \"data_frame_analytics/map\"; readonly SUPPLIED_CONFIGURATIONS: \"supplied_configurations\"; readonly DATA_VISUALIZER: \"datavisualizer\"; readonly DATA_VISUALIZER_INDEX_SELECT: \"datavisualizer_index_select\"; readonly DATA_VISUALIZER_FILE: \"filedatavisualizer\"; readonly DATA_VISUALIZER_ESQL: \"datavisualizer/esql\"; readonly DATA_VISUALIZER_INDEX_VIEWER: \"jobs/new_job/datavisualizer\"; readonly ANOMALY_DETECTION_CREATE_JOB: \"jobs/new_job\"; readonly ANOMALY_DETECTION_CREATE_JOB_RECOGNIZER: \"jobs/new_job/recognize\"; readonly ANOMALY_DETECTION_CREATE_JOB_SINGLE_METRIC: \"jobs/new_job/single_metric\"; readonly ANOMALY_DETECTION_CREATE_JOB_MULTI_METRIC: \"jobs/new_job/multi_metric\"; readonly ANOMALY_DETECTION_CREATE_JOB_CONVERT_TO_MULTI_METRIC: \"jobs/new_job/convert_to_multi_metric\"; readonly ANOMALY_DETECTION_CREATE_JOB_ADVANCED: \"jobs/new_job/advanced\"; readonly ANOMALY_DETECTION_CREATE_JOB_POPULATION: \"jobs/new_job/population\"; readonly ANOMALY_DETECTION_CREATE_JOB_CATEGORIZATION: \"jobs/new_job/categorization\"; readonly ANOMALY_DETECTION_CREATE_JOB_RARE: \"jobs/new_job/rare\"; readonly ANOMALY_DETECTION_CREATE_JOB_GEO: \"jobs/new_job/geo\"; readonly ANOMALY_DETECTION_CREATE_JOB_CONVERT_TO_ADVANCED: \"jobs/new_job/convert_to_advanced\"; readonly ANOMALY_DETECTION_CREATE_JOB_SELECT_TYPE: \"jobs/new_job/step/job_type\"; readonly ANOMALY_DETECTION_CREATE_JOB_SELECT_INDEX: \"jobs/new_job/step/index_or_search\"; readonly ANOMALY_DETECTION_CREATE_JOB_FROM_LENS: \"jobs/new_job/from_lens\"; readonly ANOMALY_DETECTION_CREATE_JOB_FROM_PATTERN_ANALYSIS: \"jobs/new_job/from_pattern_analysis\"; readonly ANOMALY_DETECTION_CREATE_JOB_FROM_MAP: \"jobs/new_job/from_map\"; readonly ANOMALY_DETECTION_MODULES_VIEW_OR_CREATE: \"modules/check_view_or_create\"; readonly SETTINGS: \"settings\"; readonly CALENDARS_MANAGE: \"settings/calendars_list\"; readonly CALENDARS_DST_MANAGE: \"settings/calendars_dst_list\"; readonly CALENDARS_NEW: \"settings/calendars_list/new_calendar\"; readonly CALENDARS_DST_NEW: \"settings/calendars_dst_list/new_calendar\"; readonly CALENDARS_EDIT: \"settings/calendars_list/edit_calendar\"; readonly CALENDARS_DST_EDIT: \"settings/calendars_dst_list/edit_calendar\"; readonly FILTER_LISTS_MANAGE: \"settings/filter_lists\"; readonly FILTER_LISTS_NEW: \"settings/filter_lists/new_filter_list\"; readonly FILTER_LISTS_EDIT: \"settings/filter_lists/edit_filter_list\"; readonly OVERVIEW: \"overview\"; readonly NOTIFICATIONS: \"notifications\"; readonly AIOPS: \"aiops\"; readonly AIOPS_EXPLAIN_LOG_RATE_SPIKES: \"aiops/explain_log_rate_spikes\"; readonly AIOPS_EXPLAIN_LOG_RATE_SPIKES_INDEX_SELECT: \"aiops/explain_log_rate_spikes_index_select\"; readonly AIOPS_LOG_RATE_ANALYSIS: \"aiops/log_rate_analysis\"; readonly AIOPS_LOG_RATE_ANALYSIS_INDEX_SELECT: \"aiops/log_rate_analysis_index_select\"; readonly AIOPS_LOG_CATEGORIZATION: \"aiops/log_categorization\"; readonly AIOPS_LOG_CATEGORIZATION_INDEX_SELECT: \"aiops/log_categorization_index_select\"; readonly AIOPS_CHANGE_POINT_DETECTION: \"aiops/change_point_detection\"; readonly AIOPS_CHANGE_POINT_DETECTION_INDEX_SELECT: \"aiops/change_point_detection_index_select\"; }" ], - "path": "x-pack/plugins/ml/common/constants/locator.ts", + "path": "x-pack/platform/plugins/shared/ml/common/constants/locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1165,7 +1165,7 @@ "ElasticModels", " | undefined; }" ], - "path": "x-pack/plugins/ml/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/ml/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -1721,7 +1721,7 @@ "AnomalySwimLaneProps", " & React.RefAttributes<{}>>; }; }" ], - "path": "x-pack/plugins/ml/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/ml/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -1747,7 +1747,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/ml/server/lib/capabilities/errors.ts", + "path": "x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1761,7 +1761,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/ml/server/lib/capabilities/errors.ts", + "path": "x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1775,7 +1775,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/server/lib/capabilities/errors.ts", + "path": "x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1803,7 +1803,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/ml/server/lib/capabilities/errors.ts", + "path": "x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1817,7 +1817,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/ml/server/lib/capabilities/errors.ts", + "path": "x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1831,7 +1831,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/server/lib/capabilities/errors.ts", + "path": "x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1859,7 +1859,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/ml/server/lib/capabilities/errors.ts", + "path": "x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1873,7 +1873,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/ml/server/lib/capabilities/errors.ts", + "path": "x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1887,7 +1887,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/server/lib/capabilities/errors.ts", + "path": "x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1910,7 +1910,7 @@ "description": [ "\nA summary of an anomaly detection job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1923,7 +1923,7 @@ "description": [ "\nThe identifier for the anomaly detection job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -1936,7 +1936,7 @@ "description": [ "\nA description of the job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -1952,7 +1952,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -1968,7 +1968,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -1984,7 +1984,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2002,7 +2002,7 @@ " | ", "JobActionState" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2018,7 +2018,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2031,7 +2031,7 @@ "description": [ "\nFlag indicating whether a datafeed exists for the job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2044,7 +2044,7 @@ "description": [ "\nThe identifier for the datafeed." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2057,7 +2057,7 @@ "description": [ "\nThe status of the datafeed." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2073,7 +2073,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2089,7 +2089,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2105,7 +2105,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2122,7 +2122,7 @@ "CombinedJob", " | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2138,7 +2138,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2156,7 +2156,7 @@ "AuditMessage", "> | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2169,7 +2169,7 @@ "description": [ "\nFlag indicating whether results of the job can be viewed in the Single Metric Viewer." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2185,7 +2185,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2202,7 +2202,7 @@ "MlJobBlocked", " | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2218,7 +2218,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2234,7 +2234,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2247,7 +2247,7 @@ "description": [ "\nIndicates whether the job is currently awaiting assignment to a node before opening." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2264,7 +2264,7 @@ "MlAnomalyDetectionAlertRule", "[] | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2280,7 +2280,7 @@ "signature": [ "{ [x: string]: string; }" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2293,7 +2293,7 @@ "description": [ "\nThe size of the interval that the analysis is aggregated into, typically between 5m and 1h." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2309,7 +2309,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false } @@ -2337,7 +2337,7 @@ "AnomalyDetectionRuleState", "; } | undefined>; }" ], - "path": "x-pack/plugins/ml/server/shared.ts", + "path": "x-pack/platform/plugins/shared/ml/server/shared.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2360,7 +2360,7 @@ "MlDatafeedStats", "[]; }>; }" ], - "path": "x-pack/plugins/ml/server/shared.ts", + "path": "x-pack/platform/plugins/shared/ml/server/shared.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2375,7 +2375,7 @@ "signature": [ "MlDatafeedStats" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2390,7 +2390,7 @@ "signature": [ "MlJob" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/job.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2417,7 +2417,7 @@ "Results", ">; }" ], - "path": "x-pack/plugins/ml/server/shared.ts", + "path": "x-pack/platform/plugins/shared/ml/server/shared.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2440,7 +2440,7 @@ "AggregationsAggregate", ">>>; }" ], - "path": "x-pack/plugins/ml/server/shared.ts", + "path": "x-pack/platform/plugins/shared/ml/server/shared.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2465,7 +2465,7 @@ "DataRecognizerConfigResponse", ">; }" ], - "path": "x-pack/plugins/ml/server/shared.ts", + "path": "x-pack/platform/plugins/shared/ml/server/shared.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2490,7 +2490,7 @@ }, "[]; interval: string; examplesByJobId?: { [key: string]: any; } | undefined; }>; }" ], - "path": "x-pack/plugins/ml/server/shared.ts", + "path": "x-pack/platform/plugins/shared/ml/server/shared.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2507,7 +2507,7 @@ " | ", "JobActionState" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2596,7 +2596,7 @@ "MlTrainedModelConfig", ">; }" ], - "path": "x-pack/plugins/ml/server/shared.ts", + "path": "x-pack/platform/plugins/shared/ml/server/shared.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2647,7 +2647,7 @@ "; } | undefined>; }; } & ", "TrainedModelsProvider" ], - "path": "x-pack/plugins/ml/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/ml/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -2663,7 +2663,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/ml/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/ml/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -2684,7 +2684,7 @@ "() => ", "MlCapabilities" ], - "path": "x-pack/plugins/ml/common/types/capabilities.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2702,7 +2702,7 @@ "description": [ "\nA summary of an anomaly detection job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2715,7 +2715,7 @@ "description": [ "\nThe identifier for the anomaly detection job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2728,7 +2728,7 @@ "description": [ "\nA description of the job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2744,7 +2744,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2760,7 +2760,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2776,7 +2776,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2794,7 +2794,7 @@ " | ", "JobActionState" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2810,7 +2810,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2823,7 +2823,7 @@ "description": [ "\nFlag indicating whether a datafeed exists for the job." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2836,7 +2836,7 @@ "description": [ "\nThe identifier for the datafeed." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2849,7 +2849,7 @@ "description": [ "\nThe status of the datafeed." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2865,7 +2865,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2881,7 +2881,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2897,7 +2897,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2914,7 +2914,7 @@ "CombinedJob", " | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2930,7 +2930,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2948,7 +2948,7 @@ "AuditMessage", "> | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2961,7 +2961,7 @@ "description": [ "\nFlag indicating whether results of the job can be viewed in the Single Metric Viewer." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2977,7 +2977,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -2994,7 +2994,7 @@ "MlJobBlocked", " | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -3010,7 +3010,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -3026,7 +3026,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -3039,7 +3039,7 @@ "description": [ "\nIndicates whether the job is currently awaiting assignment to a node before opening." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -3056,7 +3056,7 @@ "MlAnomalyDetectionAlertRule", "[] | undefined" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -3072,7 +3072,7 @@ "signature": [ "{ [x: string]: string; }" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -3085,7 +3085,7 @@ "description": [ "\nThe size of the interval that the analysis is aggregated into, typically between 5m and 1h." ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false }, @@ -3101,7 +3101,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false } @@ -3119,7 +3119,7 @@ "description": [ "\nThe status of the datafeed." ], - "path": "x-pack/plugins/ml/common/constants/states.ts", + "path": "x-pack/platform/plugins/shared/ml/common/constants/states.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3133,7 +3133,7 @@ "description": [ "\nThe status of the anomaly detection job." ], - "path": "x-pack/plugins/ml/common/constants/states.ts", + "path": "x-pack/platform/plugins/shared/ml/common/constants/states.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3150,7 +3150,7 @@ "signature": [ "MlDatafeed" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/datafeed.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/datafeed.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3165,7 +3165,7 @@ "signature": [ "MlJob" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/job.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3180,7 +3180,7 @@ "signature": [ "(\"xpack.ml.anomaly_detection_alert\" | \"xpack.ml.anomaly_detection_jobs_health\")[]" ], - "path": "x-pack/plugins/ml/common/constants/alerts.ts", + "path": "x-pack/platform/plugins/shared/ml/common/constants/alerts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3197,7 +3197,7 @@ " | ", "JobActionState" ], - "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", + "path": "x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3214,7 +3214,7 @@ "signature": [ "{ readonly ANOMALY_DETECTION: \"xpack.ml.anomaly_detection_alert\"; readonly AD_JOBS_HEALTH: \"xpack.ml.anomaly_detection_jobs_health\"; }" ], - "path": "x-pack/plugins/ml/common/constants/alerts.ts", + "path": "x-pack/platform/plugins/shared/ml/common/constants/alerts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 5a8942adba924..792589e932c7e 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-08 +date: 2024-12-10 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 0c0c49bf1e417..17d3e33d2eba0 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mockIdpPlugin'] --- import mockIdpPluginObj from './mock_idp_plugin.devdocs.json'; diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 2cee11a246db2..5b7f69096f7c8 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index c8491c0521324..782c0b380c1f9 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-08 +date: 2024-12-10 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 fd85a0831cfad..cfa72847f2677 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-08 +date: 2024-12-10 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 215db70f3378f..5cae7cf8fb46f 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-08 +date: 2024-12-10 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 7ad04ffd66795..186c617fbef8d 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-08 +date: 2024-12-10 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 65849375b304d..3e281d9a87f84 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'notifications'] --- import notificationsObj from './notifications.devdocs.json'; diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index fc80b200eadc5..397f23be76136 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-08 +date: 2024-12-10 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 322e88d27cdf3..548b3f1e3fd6c 100644 --- a/api_docs/observability_a_i_assistant.devdocs.json +++ b/api_docs/observability_a_i_assistant.devdocs.json @@ -308,13 +308,7 @@ "() => (source: ", "Observable", "<", - { - "pluginId": "observabilityAIAssistant", - "scope": "common", - "docId": "kibObservabilityAIAssistantPluginApi", - "section": "def-common.ChatCompletionChunkEvent", - "text": "ChatCompletionChunkEvent" - }, + "ChatEvent", ">) => ", "Observable", "<", @@ -1462,7 +1456,15 @@ "section": "def-common.FunctionDefinition", "text": "FunctionDefinition" }, - ", \"name\" | \"description\" | \"parameters\">[] | undefined; functionCall?: string | undefined; signal: AbortSignal; scopes: ", + "<", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.CompatibleJSONSchema", + "text": "CompatibleJSONSchema" + }, + ">, \"name\" | \"description\" | \"parameters\">[] | undefined; functionCall?: string | undefined; signal: AbortSignal; scopes: ", { "pluginId": "@kbn/ai-assistant-common", "scope": "common", @@ -1560,7 +1562,15 @@ "section": "def-common.FunctionDefinition", "text": "FunctionDefinition" }, - ", \"name\" | \"description\" | \"parameters\">[] | undefined" + "<", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.CompatibleJSONSchema", + "text": "CompatibleJSONSchema" + }, + ">, \"name\" | \"description\" | \"parameters\">[] | undefined" ], "path": "x-pack/plugins/observability_solution/observability_ai_assistant/public/types.ts", "deprecated": false, @@ -1843,7 +1853,15 @@ "section": "def-common.FunctionDefinition", "text": "FunctionDefinition" }, - "[]" + "<", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.CompatibleJSONSchema", + "text": "CompatibleJSONSchema" + }, + ">[]" ], "path": "x-pack/plugins/observability_solution/observability_ai_assistant/public/types.ts", "deprecated": false, @@ -1931,7 +1949,15 @@ "section": "def-common.FunctionDefinition", "text": "FunctionDefinition" }, - "[]>" + "<", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.CompatibleJSONSchema", + "text": "CompatibleJSONSchema" + }, + ">[]>" ], "path": "x-pack/plugins/observability_solution/observability_ai_assistant/public/types.ts", "deprecated": false, @@ -2649,7 +2675,15 @@ "section": "def-common.FunctionDefinition", "text": "FunctionDefinition" }, - "[]; systemMessage: string; }, ", + "<", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.CompatibleJSONSchema", + "text": "CompatibleJSONSchema" + }, + ">[]; systemMessage: string; }, ", "ObservabilityAIAssistantRouteCreateOptions", ">; \"GET /internal/observability_ai_assistant/connectors\": ", { @@ -3619,7 +3653,15 @@ "section": "def-common.FunctionDefinition", "text": "FunctionDefinition" }, - "[]; systemMessage: string; }, ", + "<", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.CompatibleJSONSchema", + "text": "CompatibleJSONSchema" + }, + ">[]; systemMessage: string; }, ", "ObservabilityAIAssistantRouteCreateOptions", ">; \"GET /internal/observability_ai_assistant/connectors\": ", { @@ -5326,7 +5368,15 @@ "section": "def-common.FunctionDefinition", "text": "FunctionDefinition" }, - "[]; systemMessage: string; }, ", + "<", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.CompatibleJSONSchema", + "text": "CompatibleJSONSchema" + }, + ">[]; systemMessage: string; }, ", "ObservabilityAIAssistantRouteCreateOptions", ">; \"GET /internal/observability_ai_assistant/connectors\": ", { @@ -6523,7 +6573,15 @@ "section": "def-common.FunctionDefinition", "text": "FunctionDefinition" }, - "[]; systemMessage: string; }, ", + "<", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.CompatibleJSONSchema", + "text": "CompatibleJSONSchema" + }, + ">[]; systemMessage: string; }, ", "ObservabilityAIAssistantRouteCreateOptions", ">; \"GET /internal/observability_ai_assistant/connectors\": ", { @@ -8263,7 +8321,15 @@ "section": "def-common.FunctionDefinition", "text": "FunctionDefinition" }, - "[]; systemMessage: string; }, ", + "<", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.CompatibleJSONSchema", + "text": "CompatibleJSONSchema" + }, + ">[]; systemMessage: string; }, ", "ObservabilityAIAssistantRouteCreateOptions", ">; \"GET /internal/observability_ai_assistant/connectors\": ", { @@ -9090,13 +9156,7 @@ "() => (source: ", "Observable", "<", - { - "pluginId": "observabilityAIAssistant", - "scope": "common", - "docId": "kibObservabilityAIAssistantPluginApi", - "section": "def-common.ChatCompletionChunkEvent", - "text": "ChatCompletionChunkEvent" - }, + "ChatEvent", ">) => ", "Observable", "<", @@ -10067,6 +10127,29 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "observabilityAIAssistant", + "id": "def-common.ChatCompletionMessageEvent", + "type": "Type", + "tags": [], + "label": "ChatCompletionMessageEvent", + "description": [], + "signature": [ + "{ type: ", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.StreamingChatResponseEventType", + "text": "StreamingChatResponseEventType" + }, + ".ChatCompletionMessage; } & { id: string; message: { content?: string | undefined; function_call?: { name?: string | undefined; arguments?: string | undefined; } | undefined; }; }" + ], + "path": "x-pack/plugins/observability_solution/observability_ai_assistant/common/conversation_complete.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "observabilityAIAssistant", "id": "def-common.CompatibleJSONSchema", @@ -10302,6 +10385,14 @@ "text": "ChatCompletionChunkEvent" }, " | ", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.ChatCompletionMessageEvent", + "text": "ChatCompletionMessageEvent" + }, + " | ", { "pluginId": "observabilityAIAssistant", "scope": "common", @@ -10310,7 +10401,13 @@ "text": "ChatCompletionErrorEvent" }, " | ", - "TokenCountEvent", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.TokenCountEvent", + "text": "TokenCountEvent" + }, " | ", { "pluginId": "observabilityAIAssistant", @@ -10365,7 +10462,21 @@ "text": "ChatCompletionChunkEvent" }, " | ", - "TokenCountEvent", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.ChatCompletionMessageEvent", + "text": "ChatCompletionMessageEvent" + }, + " | ", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.TokenCountEvent", + "text": "TokenCountEvent" + }, " | ", { "pluginId": "observabilityAIAssistant", @@ -10380,6 +10491,29 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "observabilityAIAssistant", + "id": "def-common.TokenCountEvent", + "type": "Type", + "tags": [], + "label": "TokenCountEvent", + "description": [], + "signature": [ + "{ type: ", + { + "pluginId": "observabilityAIAssistant", + "scope": "common", + "docId": "kibObservabilityAIAssistantPluginApi", + "section": "def-common.StreamingChatResponseEventType", + "text": "StreamingChatResponseEventType" + }, + ".TokenCount; } & { tokens: { completion: number; prompt: number; total: number; }; }" + ], + "path": "x-pack/plugins/observability_solution/observability_ai_assistant/common/conversation_complete.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "observabilityAIAssistant", "id": "def-common.VISUALIZE_ESQL_USER_INTENTIONS", diff --git a/api_docs/observability_a_i_assistant.mdx b/api_docs/observability_a_i_assistant.mdx index f0c47eda762b8..a238101a6e23b 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-08 +date: 2024-12-10 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 | |-------------------|-----------|------------------------|-----------------| -| 296 | 1 | 294 | 28 | +| 298 | 1 | 296 | 28 | ## Client diff --git a/api_docs/observability_a_i_assistant_app.mdx b/api_docs/observability_a_i_assistant_app.mdx index 67f15ea754257..d17a9e0e27f08 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-08 +date: 2024-12-10 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 6633eedc78444..ee6994ae7dc22 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-08 +date: 2024-12-10 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 72970e9eef0b9..eefd6bbbc17b9 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityLogsExplorer'] --- import observabilityLogsExplorerObj from './observability_logs_explorer.devdocs.json'; diff --git a/api_docs/observability_onboarding.mdx b/api_docs/observability_onboarding.mdx index 558269ec46097..46b8953d5f670 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityOnboarding'] --- import observabilityOnboardingObj from './observability_onboarding.devdocs.json'; diff --git a/api_docs/observability_shared.mdx b/api_docs/observability_shared.mdx index 5a4dcff470879..d8f637861d6e7 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityShared'] --- import observabilitySharedObj from './observability_shared.devdocs.json'; diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 9747ed154a8e2..deaeb4de2d923 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-08 +date: 2024-12-10 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 4f77a739e1689..c701e7935d091 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-08 +date: 2024-12-10 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 1fb71c7427236..a010cb19a416e 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-08 +date: 2024-12-10 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 | |--------------|----------|------------------------| -| 898 | 765 | 43 | +| 901 | 768 | 43 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 54982 | 240 | 41356 | 2028 | +| 55052 | 240 | 41416 | 2030 | ## Plugin Directory @@ -156,7 +156,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) | - | 296 | 1 | 294 | 28 | +| | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 298 | 1 | 296 | 28 | | | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 4 | 0 | 4 | 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 | @@ -186,7 +186,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | Plugin hosting shared features for connectors | 7 | 0 | 7 | 0 | | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 18 | 0 | 10 | 0 | | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 18 | 0 | 18 | 0 | -| | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 11 | 0 | 7 | 1 | +| | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 4 | 0 | 4 | 0 | | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 22 | 0 | 22 | 1 | | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | Plugin to provide access to and rendering of python notebooks for use in the persistent developer console. | 10 | 0 | 10 | 1 | | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 13 | 0 | 13 | 0 | @@ -501,7 +501,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 4 | 0 | 4 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 3 | 0 | 3 | 0 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 65 | 0 | 53 | 0 | -| | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 22 | 0 | 22 | 0 | +| | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 21 | 0 | 21 | 0 | | | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | - | 5 | 0 | 5 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 2 | 0 | 2 | 0 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 8 | 0 | 8 | 0 | @@ -636,7 +636,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 4 | 0 | 4 | 1 | | | [@elastic/security-detection-rule-management](https://github.com/orgs/elastic/teams/security-detection-rule-management) | - | 12 | 0 | 12 | 0 | | | [@elastic/security-detection-rule-management](https://github.com/orgs/elastic/teams/security-detection-rule-management) | - | 15 | 0 | 15 | 0 | -| | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 45 | 0 | 45 | 9 | +| | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 46 | 0 | 46 | 9 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 51 | 5 | 34 | 0 | | | [@elastic/security-asset-management](https://github.com/orgs/elastic/teams/security-asset-management) | - | 66 | 0 | 66 | 0 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | - | 5 | 0 | 5 | 0 | @@ -658,6 +658,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 18 | 0 | 3 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 15 | 0 | 4 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 11 | 0 | 8 | 0 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 1 | 0 | 0 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 14 | 0 | 7 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 18 | 0 | 18 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 40 | 0 | 38 | 5 | @@ -686,7 +687,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/security-detections-response](https://github.com/orgs/elastic/teams/security-detections-response) | - | 152 | 0 | 140 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 2 | 0 | 2 | 0 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | - | 15 | 0 | 14 | 0 | -| | [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) | - | 119 | 0 | 86 | 8 | +| | [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) | - | 117 | 0 | 86 | 8 | +| | [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) | - | 6 | 0 | 6 | 0 | +| | [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) | - | 68 | 0 | 53 | 3 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 35 | 0 | 34 | 0 | | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 8 | 0 | 8 | 1 | | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | - | 3 | 0 | 3 | 0 | @@ -792,7 +795,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 32 | 2 | 32 | 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 | -| | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 358 | 4 | 303 | 14 | +| | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 360 | 4 | 305 | 14 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 37 | 1 | 19 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 131 | 3 | 98 | 2 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 2 | 0 | 1 | 0 | diff --git a/api_docs/presentation_panel.mdx b/api_docs/presentation_panel.mdx index 1521bdc2902c8..405058c4edb25 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationPanel'] --- import presentationPanelObj from './presentation_panel.devdocs.json'; diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index 31035379b014e..f76c594cfb617 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-08 +date: 2024-12-10 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 2651c38873223..8697949c31bc7 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-08 +date: 2024-12-10 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 1d69e13ba338b..2f2edbd73b900 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-08 +date: 2024-12-10 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 cb4a883f11f32..522147b1c44c4 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-08 +date: 2024-12-10 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 b2902855bb00f..fa12a3aa38bdd 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-08 +date: 2024-12-10 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 a6597664e3d43..517733987a9a3 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-08 +date: 2024-12-10 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 e80f1702a5abf..ddc9a17fdda4e 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-08 +date: 2024-12-10 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 9c3e88384057a..2dfad9af095ad 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-08 +date: 2024-12-10 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 6a0966e2860bb..6ec93b8215ca5 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] --- import runtimeFieldsObj from './runtime_fields.devdocs.json'; diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index f2c4ae70642a8..7a4f8e71721f2 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-08 +date: 2024-12-10 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 dfca992f25c4b..f84b1de547b6c 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-08 +date: 2024-12-10 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 42f00081936b3..5af681ef08084 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-08 +date: 2024-12-10 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 a7e301f4a6ecb..b32e5a9d99d35 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-08 +date: 2024-12-10 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 5d0c2ef6c4985..dd7b41d92559d 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-08 +date: 2024-12-10 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 8247bfe895789..5a2fae0d7abd3 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-08 +date: 2024-12-10 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 253172ba83d39..eb3e94d6aeabb 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-08 +date: 2024-12-10 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 ce03de084ad06..7519647f5d444 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-08 +date: 2024-12-10 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 3b9cc3999d1f1..10999a62b75f5 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-08 +date: 2024-12-10 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 91241f9933692..4c51a6bfb01e1 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-08 +date: 2024-12-10 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 d38c224e1264d..26fd2f09cf18c 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-08 +date: 2024-12-10 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 5a7119d60d4f3..71fee82506aed 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\" | \"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\" | \"searchInferenceEndpoints\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"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\" | \"inventory\" | \"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\" | \"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\" | \"inventory\" | \"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\"" ], "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 f716291619da0..d3e710662efa5 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchIndices'] --- import searchIndicesObj from './search_indices.devdocs.json'; diff --git a/api_docs/search_inference_endpoints.devdocs.json b/api_docs/search_inference_endpoints.devdocs.json index b581c15ca04bc..1354b40b902b9 100644 --- a/api_docs/search_inference_endpoints.devdocs.json +++ b/api_docs/search_inference_endpoints.devdocs.json @@ -5,23 +5,7 @@ "functions": [], "interfaces": [], "enums": [], - "misc": [ - { - "parentPluginId": "searchInferenceEndpoints", - "id": "def-public.INFERENCE_ENDPOINTS_UI_FLAG", - "type": "string", - "tags": [], - "label": "INFERENCE_ENDPOINTS_UI_FLAG", - "description": [], - "signature": [ - "\"inferenceEndpointsUi:enabled\"" - ], - "path": "x-pack/plugins/search_inference_endpoints/public/index.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - } - ], + "misc": [], "objects": [], "setup": { "parentPluginId": "searchInferenceEndpoints", @@ -47,100 +31,7 @@ "path": "x-pack/plugins/search_inference_endpoints/public/types.ts", "deprecated": false, "trackAdoption": false, - "children": [ - { - "parentPluginId": "searchInferenceEndpoints", - "id": "def-public.SearchInferenceEndpointsPluginStart.InferenceEdnpointsProvider", - "type": "Function", - "tags": [], - "label": "InferenceEdnpointsProvider", - "description": [], - "signature": [ - "React.FunctionComponent<", - "InferenceEndpointsProviderProps", - " & { children?: React.ReactNode; }>" - ], - "path": "x-pack/plugins/search_inference_endpoints/public/types.ts", - "deprecated": false, - "trackAdoption": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "searchInferenceEndpoints", - "id": "def-public.SearchInferenceEndpointsPluginStart.InferenceEdnpointsProvider.$1", - "type": "Uncategorized", - "tags": [], - "label": "props", - "description": [], - "signature": [ - "P" - ], - "path": "node_modules/@types/react/ts5.0/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "searchInferenceEndpoints", - "id": "def-public.SearchInferenceEndpointsPluginStart.InferenceEdnpointsProvider.$2", - "type": "Any", - "tags": [], - "label": "context", - "description": [], - "signature": [ - "any" - ], - "path": "node_modules/@types/react/ts5.0/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ] - }, - { - "parentPluginId": "searchInferenceEndpoints", - "id": "def-public.SearchInferenceEndpointsPluginStart.InferenceEndpoints", - "type": "Function", - "tags": [], - "label": "InferenceEndpoints", - "description": [], - "signature": [ - "React.FunctionComponent<{}>" - ], - "path": "x-pack/plugins/search_inference_endpoints/public/types.ts", - "deprecated": false, - "trackAdoption": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "searchInferenceEndpoints", - "id": "def-public.SearchInferenceEndpointsPluginStart.InferenceEndpoints.$1", - "type": "Uncategorized", - "tags": [], - "label": "props", - "description": [], - "signature": [ - "P" - ], - "path": "node_modules/@types/react/ts5.0/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "searchInferenceEndpoints", - "id": "def-public.SearchInferenceEndpointsPluginStart.InferenceEndpoints.$2", - "type": "Any", - "tags": [], - "label": "context", - "description": [], - "signature": [ - "any" - ], - "path": "node_modules/@types/react/ts5.0/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ] - } - ], + "children": [], "lifecycle": "start", "initialIsOpen": true } diff --git a/api_docs/search_inference_endpoints.mdx b/api_docs/search_inference_endpoints.mdx index eeca68fce592b..586130aa4c7fb 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchInferenceEndpoints'] --- import searchInferenceEndpointsObj from './search_inference_endpoints.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-ki | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 11 | 0 | 7 | 1 | +| 4 | 0 | 4 | 0 | ## Client @@ -31,9 +31,6 @@ Contact [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-ki ### Start -### Consts, variables and types - - ## Server ### Setup diff --git a/api_docs/search_navigation.devdocs.json b/api_docs/search_navigation.devdocs.json index 3c362fdfc3aa5..3ec95f74ec323 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\" | \"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\" | \"searchInferenceEndpoints\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"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\" | \"inventory\" | \"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\" | \"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\" | \"inventory\" | \"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\"" ], "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, diff --git a/api_docs/search_navigation.mdx b/api_docs/search_navigation.mdx index edb285432f591..68c346df437e9 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-08 +date: 2024-12-10 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 05e5e98d6a686..60127da7c23ad 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-08 +date: 2024-12-10 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 3000a842f2dd3..f21a543026a9b 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-08 +date: 2024-12-10 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 ed40895d05a0f..c1f411fb8b769 100644 --- a/api_docs/security.devdocs.json +++ b/api_docs/security.devdocs.json @@ -1189,6 +1189,14 @@ "section": "def-public.ThemeServiceSetup", "text": "ThemeServiceSetup" }, + "; userProfile: ", + { + "pluginId": "@kbn/core-user-profile-browser", + "scope": "public", + "docId": "kibKbnCoreUserProfileBrowserPluginApi", + "section": "def-public.UserProfileService", + "text": "UserProfileService" + }, "; }" ], "path": "x-pack/plugins/security/public/index.ts", @@ -6332,7 +6340,7 @@ "references": [ { "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/annotations.ts" + "path": "x-pack/platform/plugins/shared/ml/server/routes/annotations.ts" }, { "plugin": "securitySolution", @@ -6372,19 +6380,19 @@ }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/saved_objects/initialization/initialization.ts" + "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/initialization.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/saved_objects/sync_task.ts" + "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/sync_task.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/ml/server/plugin.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/server/plugin.ts" + "path": "x-pack/platform/plugins/shared/ml/server/plugin.ts" }, { "plugin": "enterpriseSearch", @@ -6517,10 +6525,6 @@ "plugin": "serverlessSearch", "path": "x-pack/plugins/serverless_search/server/routes/api_key_routes.ts" }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts" - }, { "plugin": "upgradeAssistant", "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" @@ -6576,6 +6580,10 @@ { "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" } ] }, diff --git a/api_docs/security.mdx b/api_docs/security.mdx index d435dce83c6de..ee526e2bdc142 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-08 +date: 2024-12-10 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 ff8b79974b7b8..83890026a0c99 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\" | \"entityAlertPreviewDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"siemMigrationsEnabled\" | undefined" + "\"assistantModelEvaluation\" | \"defendInsights\" | \"alertSuppressionForSequenceEqlRuleEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsSentinelOneProcessesEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"endpointManagementSpaceAwarenessEnabled\" | \"securitySolutionNotesDisabled\" | \"entityAlertPreviewDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"serviceEntityStoreEnabled\" | \"siemMigrationsEnabled\" | undefined" ], "path": "x-pack/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\" | \"entityAlertPreviewDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"siemMigrationsEnabled\" | undefined" + "\"assistantModelEvaluation\" | \"defendInsights\" | \"alertSuppressionForSequenceEqlRuleEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsSentinelOneProcessesEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"endpointManagementSpaceAwarenessEnabled\" | \"securitySolutionNotesDisabled\" | \"entityAlertPreviewDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"serviceEntityStoreEnabled\" | \"siemMigrationsEnabled\" | undefined" ], "path": "x-pack/plugins/security_solution/public/common/links/types.ts", "deprecated": false, @@ -1882,7 +1882,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 entityAlertPreviewDisabled: 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 siemMigrationsEnabled: boolean; readonly defendInsights: 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 entityAlertPreviewDisabled: 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; }" ], "path": "x-pack/plugins/security_solution/public/types.ts", "deprecated": false, @@ -3130,7 +3130,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 entityAlertPreviewDisabled: 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 siemMigrationsEnabled: boolean; readonly defendInsights: 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 entityAlertPreviewDisabled: 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; }" ], "path": "x-pack/plugins/security_solution/server/plugin_contract.ts", "deprecated": false, @@ -3303,7 +3303,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 entityAlertPreviewDisabled: 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 siemMigrationsEnabled: boolean; readonly defendInsights: 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 entityAlertPreviewDisabled: 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; }" ], "path": "x-pack/plugins/security_solution/common/experimental_features.ts", "deprecated": false, @@ -3369,7 +3369,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 entityAlertPreviewDisabled: 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 siemMigrationsEnabled: false; readonly defendInsights: 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 entityAlertPreviewDisabled: 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: true; readonly siemMigrationsEnabled: false; readonly defendInsights: false; }" ], "path": "x-pack/plugins/security_solution/common/experimental_features.ts", "deprecated": false, diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 6a937903d3aea..3187c6ebb1327 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-08 +date: 2024-12-10 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 a2bb5aeb18d7f..ac50037684913 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-08 +date: 2024-12-10 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 54a3288fb071b..c564182e3e4a8 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-08 +date: 2024-12-10 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 5a082f55db64b..b8f60227062d9 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-08 +date: 2024-12-10 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 0a4e99c9f57d9..2b29dcbc97034 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-08 +date: 2024-12-10 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 972c872ec300f..4c4ffb23c5acc 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-08 +date: 2024-12-10 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 3007a0d2e1698..b085908391dcc 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] --- import sessionViewObj from './session_view.devdocs.json'; diff --git a/api_docs/share.mdx b/api_docs/share.mdx index c89cb2c3c1346..b533d5e9cdafa 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] --- import shareObj from './share.devdocs.json'; diff --git a/api_docs/slo.mdx b/api_docs/slo.mdx index 956c6b6b19f5e..34be1f29719bd 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-08 +date: 2024-12-10 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 ed39ad019c3ef..fe3e8f32c653d 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-08 +date: 2024-12-10 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 0c50774f7ca5f..27ce322add6ab 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-08 +date: 2024-12-10 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 7446ad78868ab..5303fd771eb84 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-08 +date: 2024-12-10 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 caa17c8e9c2be..8e9ed5dc29325 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackConnectors'] --- import stackConnectorsObj from './stack_connectors.devdocs.json'; diff --git a/api_docs/streams.mdx b/api_docs/streams.mdx index 9d0e55270db93..c998504b68e13 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'streams'] --- import streamsObj from './streams.devdocs.json'; diff --git a/api_docs/streams_app.mdx b/api_docs/streams_app.mdx index 448d90ee1acb1..c33f416e0da40 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-08 +date: 2024-12-10 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 6561f34505d36..34fb36b7d6fd0 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] --- import taskManagerObj from './task_manager.devdocs.json'; diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index cb5d5add77c5d..207ac79533832 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-08 +date: 2024-12-10 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 c2163f75976c6..627e061f33085 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-08 +date: 2024-12-10 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 e5a25759c256a..32336fbcf4fd3 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-08 +date: 2024-12-10 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 1a1c0681fa461..058f185518266 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] --- import threatIntelligenceObj from './threat_intelligence.devdocs.json'; diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index f32783a2a7b7e..d3c4eb10322de 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] --- import timelinesObj from './timelines.devdocs.json'; diff --git a/api_docs/transform.devdocs.json b/api_docs/transform.devdocs.json index 19576a0b4813b..ce5c2b1bb2f98 100644 --- a/api_docs/transform.devdocs.json +++ b/api_docs/transform.devdocs.json @@ -23,7 +23,7 @@ "TransformHealthRuleParams", ">" ], - "path": "x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts", + "path": "x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -49,7 +49,7 @@ "signature": [ "(params: RegisterParams) => void" ], - "path": "x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts", + "path": "x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -63,7 +63,7 @@ "signature": [ "RegisterParams" ], - "path": "x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts", + "path": "x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -95,7 +95,7 @@ "signature": [ "{ readonly TRANSFORM_HEALTH: \"transform_health\"; }" ], - "path": "x-pack/plugins/transform/common/constants.ts", + "path": "x-pack/platform/plugins/private/transform/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index f7304a65979fd..47e11b4c27bff 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] --- import transformObj from './transform.devdocs.json'; diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 4468496de6844..f6897f079dd4f 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-08 +date: 2024-12-10 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 4a8f8cb9f2016..b259a3b7ab81a 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-08 +date: 2024-12-10 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 e3627b097069d..3cadaea195dc2 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-08 +date: 2024-12-10 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 7d7e73e57078f..795a362575f0c 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-08 +date: 2024-12-10 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 35d412b992932..8c934b6a5263e 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index 2c536c958ac0d..10bbb6d686cf2 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-08 +date: 2024-12-10 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 38d9dfaf31856..f6d9d17e126d7 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-08 +date: 2024-12-10 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 dc4170cd0781e..dc8ab141643a6 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-08 +date: 2024-12-10 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 8408c82d3d893..e8a3ff383b534 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-08 +date: 2024-12-10 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 e7c82388d0175..0dae6d29e8b4d 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-08 +date: 2024-12-10 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 39505f5cac022..606ada6a8816d 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-08 +date: 2024-12-10 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 6e734270d68e3..fbaea5e2d110d 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-08 +date: 2024-12-10 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 170f6e9726eaf..05e17b746a628 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-08 +date: 2024-12-10 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 d72bed3f09e42..91d0b3ba9e2cc 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-08 +date: 2024-12-10 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 ba05453aebec2..51ad1945ad75a 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-08 +date: 2024-12-10 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 4e7ef467aa1a8..0adee8b9b5585 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-08 +date: 2024-12-10 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 4f3b18e3fbbc7..37fe584a900b1 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-08 +date: 2024-12-10 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 58593e6edb5ae..f59f7e828cdd1 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-08 +date: 2024-12-10 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 52bcb0296efc1..af2b3adaa3d40 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-08 +date: 2024-12-10 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 d13a2efdd3f4b..a48db75fbdd6e 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-08 +date: 2024-12-10 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 d2ab103b95a09..ec33e813e88bf 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 9261d7b4e0322..a8031263a8f9f 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-08 +date: 2024-12-10 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; diff --git a/config/serverless.es.yml b/config/serverless.es.yml index 127a0c8362d7f..2d5ba84ece795 100644 --- a/config/serverless.es.yml +++ b/config/serverless.es.yml @@ -116,9 +116,6 @@ xpack.ml.compatibleModuleType: 'search' data_visualizer.resultLinks.fileBeat.enabled: false -# Search InferenceEndpoints -xpack.searchInferenceEndpoints.ui.enabled: true - # Search Notebooks xpack.search.notebooks.catalog.url: https://elastic-enterprise-search.s3.us-east-2.amazonaws.com/serverless/catalog.json diff --git a/config/serverless.oblt.yml b/config/serverless.oblt.yml index ef3c9fd23121e..937954a1c5e84 100644 --- a/config/serverless.oblt.yml +++ b/config/serverless.oblt.yml @@ -8,6 +8,7 @@ xpack.uptime.enabled: true xpack.securitySolution.enabled: false xpack.search.notebooks.enabled: false xpack.searchPlayground.enabled: false +xpack.searchInferenceEndpoints.enabled: false ## Fine-tune the observability solution feature privileges. Also, refer to `serverless.yml` for the project-agnostic overrides. xpack.features.overrides: diff --git a/config/serverless.security.yml b/config/serverless.security.yml index 1b75b4b06cb25..b9190df608540 100644 --- a/config/serverless.security.yml +++ b/config/serverless.security.yml @@ -9,6 +9,7 @@ xpack.observability.enabled: false xpack.observabilityAIAssistant.enabled: false xpack.search.notebooks.enabled: false xpack.searchPlayground.enabled: false +xpack.searchInferenceEndpoints.enabled: false ## Fine-tune the security solution feature privileges. Also, refer to `serverless.yml` for the project-agnostic overrides. xpack.features.overrides: diff --git a/dev_docs/tutorials/endpoints.mdx b/dev_docs/tutorials/endpoints.mdx index 851c3046fead6..fadde7d30f649 100644 --- a/dev_docs/tutorials/endpoints.mdx +++ b/dev_docs/tutorials/endpoints.mdx @@ -368,7 +368,7 @@ export class MyPlugin implements Plugin { By default, when security is enabled, endpoints require the user to be authenticated to be accessed, and will return a `401 - Unauthorized` otherwise. -It is possible to disable this requirement using the `authRequired` option of the route. +It is possible to disable this requirement using the `security.authc.enabled` option of the route. ```ts import type { CoreSetup, Plugin } from '@kbn/core/server'; @@ -380,8 +380,11 @@ export class MyPlugin implements Plugin { { path: '/api/my_plugin/get_object', validate: false, - options: { - authRequired: false, + security: { + authc: { + enabled: false, + reason: 'This endpoint does not require authentication', + }, }, }, async (context, request, response) => { @@ -394,7 +397,7 @@ export class MyPlugin implements Plugin { } ``` -Note that in addition to `true` and `false`, `authRequired` accepts a third value, `'optional'`. When used, +Note that in addition to `true` and `false`, `security.authc.enabled` accepts a third value, `'optional'`. When used, Kibana will try to authenticate the user but will allow access to the endpoint regardless of the result. In that case, the developer needs to manually checks if the user is authenticated via `request.auth.isAuthenticated`. @@ -416,8 +419,11 @@ export class MyPlugin implements Plugin { { path: '/api/my_plugin/get_object', validate: false, - options: { - authRequired: false, + security: { + authc: { + enabled: false, + reason: 'This endpoint does not require authentication', + }, }, }, async (context, request, response) => { diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index dc65c9df54e92..2fe0c672af734 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -454,7 +454,7 @@ The plugin exposes the static DefaultEditorController class to consume. |The Kibana actions plugin provides a framework to create executable actions. You can: -|{kib-repo}blob/{branch}/x-pack/plugins/aiops/README.md[aiops] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/aiops/README.md[aiops] |The plugin provides APIs and components for AIOps features, including the “Log rate analysis” UI, maintained by the ML team. @@ -545,7 +545,7 @@ Plugin server-side only. Plugin has three main functions: |Serverless only plugin for users to view data usage -|{kib-repo}blob/{branch}/x-pack/plugins/data_visualizer/README.md[dataVisualizer] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/data_visualizer/README.md[dataVisualizer] |The data_visualizer plugin enables you to explore the fields in your data. @@ -726,7 +726,7 @@ using the CURL scripts in the scripts folder. |Exposes utilities to access metrics data. -|{kib-repo}blob/{branch}/x-pack/plugins/ml/readme.md[ml] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/ml/readme.md[ml] |This plugin provides access to the machine learning features provided by Elastic. @@ -946,7 +946,7 @@ in their infrastructure. |Timelines is a plugin that provides a grid component with accompanying server side apis to help users identify events of interest and perform root cause analysis within Kibana. -|{kib-repo}blob/{branch}/x-pack/plugins/transform/readme.md[transform] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/transform/readme.md[transform] |This plugin provides access to the transforms features provided by Elastic. diff --git a/docs/redirects.asciidoc b/docs/redirects.asciidoc index c9a81c5d398ce..34a9daa1f3d2a 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/plugins/ml/common/openapi[machine learning] open API specifications. +{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. [role="exclude",id="add-case-connectors"] == Add connectors to cases diff --git a/examples/embeddable_examples/public/app/presentation_container_example/page_api.ts b/examples/embeddable_examples/public/app/presentation_container_example/page_api.ts index 517f0534993ef..59f06847a1538 100644 --- a/examples/embeddable_examples/public/app/presentation_container_example/page_api.ts +++ b/examples/embeddable_examples/public/app/presentation_container_example/page_api.ts @@ -250,6 +250,7 @@ export function getPageApi() { children$.next(children); } newPanels = {}; + return true; }, timeRange$, unsavedChanges: unsavedChanges$ as PublishingSubject, diff --git a/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs b/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs index bafab23da4e34..4983257bba36f 100644 --- a/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs +++ b/kbn_pm/src/commands/bootstrap/bootstrap_command.mjs @@ -54,6 +54,7 @@ export const command = { const offline = args.getBooleanValue('offline') ?? false; const validate = args.getBooleanValue('validate') ?? true; const quiet = args.getBooleanValue('quiet') ?? false; + const reactVersion = process.env.REACT_18 ? '18' : '17'; const vscodeConfig = args.getBooleanValue('vscode') ?? (process.env.KBN_BOOTSTRAP_NO_VSCODE ? false : true); @@ -114,7 +115,7 @@ export const command = { } await time('pre-build webpack bundles for packages', async () => { - await Bazel.buildWebpackBundles(log, { offline, quiet }); + await Bazel.buildWebpackBundles(log, { offline, quiet, reactVersion }); }); await Promise.all([ diff --git a/kbn_pm/src/lib/bazel.mjs b/kbn_pm/src/lib/bazel.mjs index 2eb221e21526e..53a1c87f164c2 100644 --- a/kbn_pm/src/lib/bazel.mjs +++ b/kbn_pm/src/lib/bazel.mjs @@ -58,15 +58,19 @@ function throwBazelError(log, name, code, output) { /** * @param {import('./log.mjs').Log} log * @param {string[]} inputArgs - * @param {{ quiet?: boolean; offline?: boolean, env?: Record } | undefined} opts + * @param {{ quiet?: boolean; offline?: boolean, reactVersion?: string, env?: Record } | undefined} opts */ async function runBazel(log, inputArgs, opts = undefined) { const bazel = (await getBazelRunner()).runBazel; - const args = [...inputArgs, ...(opts?.offline ? ['--config=offline'] : [])]; + const args = [ + ...inputArgs, + `--define=REACT_18=${opts?.reactVersion === '18' ? 'true' : 'false'}`, + ...(opts?.offline ? ['--config=offline'] : []), + ]; log.debug(`> bazel ${args.join(' ')}`); await bazel(args, { - env: opts?.env, + env: { ...opts?.env, REACT_18: opts?.reactVersion === '18' ? 'true' : 'false' }, cwd: REPO_ROOT, quiet: opts?.quiet, logPrefix: Color.info('[bazel]'), @@ -161,12 +165,13 @@ export async function installYarnDeps(log, opts = undefined) { /** * @param {import('./log.mjs').Log} log - * @param {{ offline?: boolean, quiet?: boolean } | undefined} opts + * @param {{ offline?: boolean, quiet?: boolean, reactVersion?: string } | undefined} opts */ export async function buildWebpackBundles(log, opts = undefined) { await runBazel(log, ['build', ...BAZEL_TARGETS, '--show_result=1'], { offline: opts?.offline, quiet: opts?.quiet, + reactVersion: opts?.reactVersion, }); log.success('shared bundles built'); diff --git a/legacy_rfcs/text/0005_route_handler.md b/legacy_rfcs/text/0005_route_handler.md index 909cabb536ec8..d154d918448b6 100644 --- a/legacy_rfcs/text/0005_route_handler.md +++ b/legacy_rfcs/text/0005_route_handler.md @@ -45,7 +45,6 @@ interface KibanaRequest { path: string; method: 'get' | 'post' | ... options: { - authRequired: boolean; tags: string []; } } diff --git a/oas_docs/output/kibana.serverless.yaml b/oas_docs/output/kibana.serverless.yaml index bf3c74d906cef..0c89dc73bcd38 100644 --- a/oas_docs/output/kibana.serverless.yaml +++ b/oas_docs/output/kibana.serverless.yaml @@ -47102,6 +47102,7 @@ components: enum: - user - host + - service type: string Security_Entity_Analytics_API_HostEntity: type: object diff --git a/oas_docs/output/kibana.yaml b/oas_docs/output/kibana.yaml index aea9bacebd061..b83907699ec76 100644 --- a/oas_docs/output/kibana.yaml +++ b/oas_docs/output/kibana.yaml @@ -54783,6 +54783,7 @@ components: enum: - user - host + - service type: string Security_Entity_Analytics_API_HostEntity: type: object diff --git a/oas_docs/scripts/merge_ess_oas.js b/oas_docs/scripts/merge_ess_oas.js index d8bc45e64c2f2..b9882b3dd49fc 100644 --- a/oas_docs/scripts/merge_ess_oas.js +++ b/oas_docs/scripts/merge_ess_oas.js @@ -18,7 +18,7 @@ const { REPO_ROOT } = require('@kbn/repo-info'); `${REPO_ROOT}/x-pack/plugins/alerting/docs/openapi/bundled.yaml`, `${REPO_ROOT}/x-pack/plugins/cases/docs/openapi/bundled.yaml`, `${REPO_ROOT}/src/plugins/data_views/docs/openapi/bundled.yaml`, - `${REPO_ROOT}/x-pack/plugins/ml/common/openapi/ml_apis.yaml`, + `${REPO_ROOT}/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis.yaml`, `${REPO_ROOT}/packages/core/saved-objects/docs/openapi/bundled.yaml`, // Observability Solution diff --git a/oas_docs/scripts/merge_serverless_oas.js b/oas_docs/scripts/merge_serverless_oas.js index 63d2df0f32d3f..7dcfa340eaf09 100644 --- a/oas_docs/scripts/merge_serverless_oas.js +++ b/oas_docs/scripts/merge_serverless_oas.js @@ -16,7 +16,7 @@ const { REPO_ROOT } = require('@kbn/repo-info'); sourceGlobs: [ `${REPO_ROOT}/oas_docs/bundle.serverless.json`, `${REPO_ROOT}/src/plugins/data_views/docs/openapi/bundled.yaml`, - `${REPO_ROOT}/x-pack/plugins/ml/common/openapi/ml_apis_serverless.yaml`, + `${REPO_ROOT}/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis_serverless.yaml`, `${REPO_ROOT}/packages/core/saved-objects/docs/openapi/bundled_serverless.yaml`, // Observability Solution diff --git a/package.json b/package.json index 6654547617b12..b9573348e3252 100644 --- a/package.json +++ b/package.json @@ -161,13 +161,13 @@ "@kbn/ai-assistant": "link:x-pack/packages/kbn-ai-assistant", "@kbn/ai-assistant-common": "link:x-pack/packages/kbn-ai-assistant-common", "@kbn/ai-assistant-management-plugin": "link:src/plugins/ai_assistant_management/selection", - "@kbn/aiops-change-point-detection": "link:x-pack/packages/ml/aiops_change_point_detection", - "@kbn/aiops-common": "link:x-pack/packages/ml/aiops_common", - "@kbn/aiops-components": "link:x-pack/packages/ml/aiops_components", - "@kbn/aiops-log-pattern-analysis": "link:x-pack/packages/ml/aiops_log_pattern_analysis", - "@kbn/aiops-log-rate-analysis": "link:x-pack/packages/ml/aiops_log_rate_analysis", - "@kbn/aiops-plugin": "link:x-pack/plugins/aiops", - "@kbn/aiops-test-utils": "link:x-pack/packages/ml/aiops_test_utils", + "@kbn/aiops-change-point-detection": "link:x-pack/platform/packages/private/ml/aiops_change_point_detection", + "@kbn/aiops-common": "link:x-pack/platform/packages/shared/ml/aiops_common", + "@kbn/aiops-components": "link:x-pack/platform/packages/private/ml/aiops_components", + "@kbn/aiops-log-pattern-analysis": "link:x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis", + "@kbn/aiops-log-rate-analysis": "link:x-pack/platform/packages/shared/ml/aiops_log_rate_analysis", + "@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-example-plugin": "link:x-pack/examples/alerting_example", @@ -436,14 +436,14 @@ "@kbn/data-view-management-plugin": "link:src/plugins/data_view_management", "@kbn/data-view-utils": "link:packages/kbn-data-view-utils", "@kbn/data-views-plugin": "link:src/plugins/data_views", - "@kbn/data-visualizer-plugin": "link:x-pack/plugins/data_visualizer", + "@kbn/data-visualizer-plugin": "link:x-pack/platform/plugins/private/data_visualizer", "@kbn/dataset-quality-plugin": "link:x-pack/plugins/observability_solution/dataset_quality", "@kbn/datemath": "link:packages/kbn-datemath", "@kbn/deeplinks-analytics": "link:packages/deeplinks/analytics", "@kbn/deeplinks-devtools": "link:packages/deeplinks/devtools", "@kbn/deeplinks-fleet": "link:packages/deeplinks/fleet", "@kbn/deeplinks-management": "link:packages/deeplinks/management", - "@kbn/deeplinks-ml": "link:packages/deeplinks/ml", + "@kbn/deeplinks-ml": "link:src/platform/packages/shared/deeplinks/ml", "@kbn/deeplinks-observability": "link:packages/deeplinks/observability", "@kbn/deeplinks-search": "link:packages/deeplinks/search", "@kbn/deeplinks-security": "link:packages/deeplinks/security", @@ -451,7 +451,7 @@ "@kbn/default-nav-analytics": "link:packages/default-nav/analytics", "@kbn/default-nav-devtools": "link:packages/default-nav/devtools", "@kbn/default-nav-management": "link:packages/default-nav/management", - "@kbn/default-nav-ml": "link:packages/default-nav/ml", + "@kbn/default-nav-ml": "link:src/platform/packages/private/default-nav/ml", "@kbn/dev-tools-plugin": "link:src/plugins/dev_tools", "@kbn/developer-examples-plugin": "link:examples/developer_examples", "@kbn/discover-contextual-components": "link:packages/kbn-discover-contextual-components", @@ -579,7 +579,7 @@ "@kbn/index-patterns-test-plugin": "link:test/plugin_functional/plugins/index_patterns", "@kbn/inference-common": "link:x-pack/packages/ai-infra/inference-common", "@kbn/inference-plugin": "link:x-pack/plugins/inference", - "@kbn/inference_integration_flyout": "link:x-pack/packages/ml/inference_integration_flyout", + "@kbn/inference_integration_flyout": "link:x-pack/platform/packages/private/ml/inference_integration_flyout", "@kbn/infra-forge": "link:x-pack/packages/kbn-infra-forge", "@kbn/infra-plugin": "link:x-pack/plugins/observability_solution/infra", "@kbn/ingest-pipelines-plugin": "link:x-pack/plugins/ingest_pipelines", @@ -596,7 +596,7 @@ "@kbn/io-ts-utils": "link:packages/kbn-io-ts-utils", "@kbn/ipynb": "link:packages/kbn-ipynb", "@kbn/item-buffer": "link:packages/kbn-item-buffer", - "@kbn/json-schemas": "link:x-pack/packages/ml/json_schemas", + "@kbn/json-schemas": "link:x-pack/platform/packages/private/ml/json_schemas", "@kbn/kbn-health-gateway-status-plugin": "link:test/health_gateway/plugins/status", "@kbn/kbn-sample-panel-action-plugin": "link:test/plugin_functional/plugins/kbn_sample_panel_action", "@kbn/kbn-top-nav-plugin": "link:test/plugin_functional/plugins/kbn_top_nav", @@ -649,39 +649,39 @@ "@kbn/maps-plugin": "link:x-pack/plugins/maps", "@kbn/maps-vector-tile-utils": "link:x-pack/packages/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/packages/ml/agg_utils", - "@kbn/ml-anomaly-utils": "link:x-pack/packages/ml/anomaly_utils", - "@kbn/ml-cancellable-search": "link:x-pack/packages/ml/cancellable_search", - "@kbn/ml-category-validator": "link:x-pack/packages/ml/category_validator", - "@kbn/ml-chi2test": "link:x-pack/packages/ml/chi2test", - "@kbn/ml-creation-wizard-utils": "link:x-pack/packages/ml/creation_wizard_utils", - "@kbn/ml-data-frame-analytics-utils": "link:x-pack/packages/ml/data_frame_analytics_utils", - "@kbn/ml-data-grid": "link:x-pack/packages/ml/data_grid", - "@kbn/ml-data-view-utils": "link:x-pack/packages/ml/data_view_utils", - "@kbn/ml-date-picker": "link:x-pack/packages/ml/date_picker", - "@kbn/ml-date-utils": "link:x-pack/packages/ml/date_utils", - "@kbn/ml-error-utils": "link:x-pack/packages/ml/error_utils", - "@kbn/ml-field-stats-flyout": "link:x-pack/packages/ml/field_stats_flyout", - "@kbn/ml-in-memory-table": "link:x-pack/packages/ml/in_memory_table", - "@kbn/ml-is-defined": "link:x-pack/packages/ml/is_defined", - "@kbn/ml-is-populated-object": "link:x-pack/packages/ml/is_populated_object", - "@kbn/ml-kibana-theme": "link:x-pack/packages/ml/kibana_theme", - "@kbn/ml-local-storage": "link:x-pack/packages/ml/local_storage", - "@kbn/ml-nested-property": "link:x-pack/packages/ml/nested_property", - "@kbn/ml-number-utils": "link:x-pack/packages/ml/number_utils", - "@kbn/ml-parse-interval": "link:x-pack/packages/ml/parse_interval", - "@kbn/ml-plugin": "link:x-pack/plugins/ml", - "@kbn/ml-query-utils": "link:x-pack/packages/ml/query_utils", - "@kbn/ml-random-sampler-utils": "link:x-pack/packages/ml/random_sampler_utils", - "@kbn/ml-response-stream": "link:x-pack/packages/ml/response_stream", - "@kbn/ml-route-utils": "link:x-pack/packages/ml/route_utils", - "@kbn/ml-runtime-field-utils": "link:x-pack/packages/ml/runtime_field_utils", - "@kbn/ml-string-hash": "link:x-pack/packages/ml/string_hash", - "@kbn/ml-time-buckets": "link:x-pack/packages/ml/time_buckets", - "@kbn/ml-trained-models-utils": "link:x-pack/packages/ml/trained_models_utils", - "@kbn/ml-ui-actions": "link:x-pack/packages/ml/ui_actions", - "@kbn/ml-url-state": "link:x-pack/packages/ml/url_state", - "@kbn/ml-validators": "link:x-pack/packages/ml/validators", + "@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", + "@kbn/ml-cancellable-search": "link:x-pack/platform/packages/private/ml/cancellable_search", + "@kbn/ml-category-validator": "link:x-pack/platform/packages/private/ml/category_validator", + "@kbn/ml-chi2test": "link:x-pack/platform/packages/shared/ml/chi2test", + "@kbn/ml-creation-wizard-utils": "link:x-pack/platform/packages/private/ml/creation_wizard_utils", + "@kbn/ml-data-frame-analytics-utils": "link:x-pack/platform/packages/private/ml/data_frame_analytics_utils", + "@kbn/ml-data-grid": "link:x-pack/platform/packages/private/ml/data_grid", + "@kbn/ml-data-view-utils": "link:x-pack/platform/packages/private/ml/data_view_utils", + "@kbn/ml-date-picker": "link:x-pack/platform/packages/private/ml/date_picker", + "@kbn/ml-date-utils": "link:x-pack/platform/packages/private/ml/date_utils", + "@kbn/ml-error-utils": "link:x-pack/platform/packages/shared/ml/error_utils", + "@kbn/ml-field-stats-flyout": "link:x-pack/platform/packages/private/ml/field_stats_flyout", + "@kbn/ml-in-memory-table": "link:x-pack/platform/packages/private/ml/in_memory_table", + "@kbn/ml-is-defined": "link:x-pack/platform/packages/private/ml/is_defined", + "@kbn/ml-is-populated-object": "link:x-pack/platform/packages/private/ml/is_populated_object", + "@kbn/ml-kibana-theme": "link:x-pack/platform/packages/private/ml/kibana_theme", + "@kbn/ml-local-storage": "link:x-pack/platform/packages/private/ml/local_storage", + "@kbn/ml-nested-property": "link:x-pack/platform/packages/private/ml/nested_property", + "@kbn/ml-number-utils": "link:x-pack/platform/packages/private/ml/number_utils", + "@kbn/ml-parse-interval": "link:x-pack/platform/packages/private/ml/parse_interval", + "@kbn/ml-plugin": "link:x-pack/platform/plugins/shared/ml", + "@kbn/ml-query-utils": "link:x-pack/platform/packages/private/ml/query_utils", + "@kbn/ml-random-sampler-utils": "link:x-pack/platform/packages/shared/ml/random_sampler_utils", + "@kbn/ml-response-stream": "link:x-pack/platform/packages/shared/ml/response_stream", + "@kbn/ml-route-utils": "link:x-pack/platform/packages/private/ml/route_utils", + "@kbn/ml-runtime-field-utils": "link:x-pack/platform/packages/shared/ml/runtime_field_utils", + "@kbn/ml-string-hash": "link:x-pack/platform/packages/private/ml/string_hash", + "@kbn/ml-time-buckets": "link:x-pack/platform/packages/private/ml/time_buckets", + "@kbn/ml-trained-models-utils": "link:x-pack/platform/packages/shared/ml/trained_models_utils", + "@kbn/ml-ui-actions": "link:x-pack/platform/packages/private/ml/ui_actions", + "@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", @@ -712,7 +712,7 @@ "@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:packages/kbn-openapi-common", - "@kbn/osquery-io-ts-types": "link:packages/kbn-osquery-io-ts-types", + "@kbn/osquery-io-ts-types": "link:src/platform/packages/shared/kbn-osquery-io-ts-types", "@kbn/osquery-plugin": "link:x-pack/plugins/osquery", "@kbn/paertial-results-example-plugin": "link:examples/partial_results_example", "@kbn/painless-lab-plugin": "link:x-pack/plugins/painless_lab", @@ -738,6 +738,7 @@ "@kbn/react-kibana-context-styled": "link:packages/react/kibana_context/styled", "@kbn/react-kibana-context-theme": "link:packages/react/kibana_context/theme", "@kbn/react-kibana-mount": "link:packages/react/kibana_mount", + "@kbn/react-mute-legacy-root-warning": "link:packages/kbn-react-mute-legacy-root-warning", "@kbn/recently-accessed": "link:packages/kbn-recently-accessed", "@kbn/remote-clusters-plugin": "link:x-pack/plugins/remote_clusters", "@kbn/rendering-plugin": "link:test/plugin_functional/plugins/rendering_plugin", @@ -961,7 +962,7 @@ "@kbn/timelion-grammar": "link:packages/kbn-timelion-grammar", "@kbn/timerange": "link:packages/kbn-timerange", "@kbn/tinymath": "link:packages/kbn-tinymath", - "@kbn/transform-plugin": "link:x-pack/plugins/transform", + "@kbn/transform-plugin": "link:x-pack/platform/plugins/private/transform", "@kbn/translations-plugin": "link:x-pack/plugins/translations", "@kbn/transpose-utils": "link:packages/kbn-transpose-utils", "@kbn/triggers-actions-ui-example-plugin": "link:x-pack/examples/triggers_actions_ui_example", @@ -1227,8 +1228,10 @@ "re-resizable": "^6.9.9", "re2js": "0.4.3", "react": "^17.0.2", + "react-18": "npm:react@~18.2.0", "react-diff-view": "^3.2.1", "react-dom": "^17.0.2", + "react-dom-18": "npm:react-dom@~18.2.0", "react-dropzone": "^4.2.9", "react-fast-compare": "^2.0.4", "react-grid-layout": "^1.3.4", @@ -1490,6 +1493,8 @@ "@kbn/repo-source-classifier": "link:packages/kbn-repo-source-classifier", "@kbn/repo-source-classifier-cli": "link:packages/kbn-repo-source-classifier-cli", "@kbn/scout": "link:packages/kbn-scout", + "@kbn/scout-info": "link:packages/kbn-scout-info", + "@kbn/scout-reporting": "link:packages/kbn-scout-reporting", "@kbn/security-api-integration-helpers": "link:x-pack/test/security_api_integration/packages/helpers", "@kbn/serverless-storybook-config": "link:packages/serverless/storybook/config", "@kbn/some-dev-log": "link:packages/kbn-some-dev-log", diff --git a/packages/core/http/core-http-server/src/router/route.ts b/packages/core/http/core-http-server/src/router/route.ts index 2efd405274113..5480c38d9cd1c 100644 --- a/packages/core/http/core-http-server/src/router/route.ts +++ b/packages/core/http/core-http-server/src/router/route.ts @@ -291,6 +291,8 @@ export interface RouteConfigOptions { * Can be useful when we grant access to a resource but want to identify a user if possible. * * Defaults to `true` if an auth mechanism is registered. + * + * @deprecated Use `security.authc.enabled` instead */ authRequired?: boolean | 'optional'; diff --git a/packages/core/root/core-root-browser-internal/src/core_system.ts b/packages/core/root/core-root-browser-internal/src/core_system.ts index 38532948ea505..c9ad8194e4b64 100644 --- a/packages/core/root/core-root-browser-internal/src/core_system.ts +++ b/packages/core/root/core-root-browser-internal/src/core_system.ts @@ -40,6 +40,8 @@ import { PluginsService } from '@kbn/core-plugins-browser-internal'; import { CustomBrandingService } from '@kbn/core-custom-branding-browser-internal'; import { SecurityService } from '@kbn/core-security-browser-internal'; import { UserProfileService } from '@kbn/core-user-profile-browser-internal'; +import { version as REACT_VERSION } from 'react'; +import { muteLegacyRootWarning } from '@kbn/react-mute-legacy-root-warning'; import { KBN_LOAD_MARKS } from './events'; import { fetchOptionalMemoryInfo } from './fetch_optional_memory_info'; import { @@ -128,6 +130,15 @@ export class CoreSystem { logger: this.loggingSystem.asLoggerFactory(), }; + if (this.coreContext.env.mode.dev && REACT_VERSION.startsWith('18.')) { + muteLegacyRootWarning(); + this.coreContext.logger + .get('core-system') + .info( + `Kibana is built with and running React@${REACT_VERSION}, muting legacy root warning.` + ); + } + this.i18n = new I18nService(); this.analytics = new AnalyticsService(this.coreContext); this.fatalErrors = new FatalErrorsService(rootDomElement, () => { diff --git a/packages/core/root/core-root-browser-internal/tsconfig.json b/packages/core/root/core-root-browser-internal/tsconfig.json index a44a523d05744..159275fb15012 100644 --- a/packages/core/root/core-root-browser-internal/tsconfig.json +++ b/packages/core/root/core-root-browser-internal/tsconfig.json @@ -68,6 +68,7 @@ "@kbn/core-user-profile-browser-internal", "@kbn/core-injected-metadata-common-internal", "@kbn/core-feature-flags-browser-internal", + "@kbn/react-mute-legacy-root-warning", ], "exclude": [ "target/**/*", diff --git a/packages/deeplinks/search/constants.ts b/packages/deeplinks/search/constants.ts index a458b38aff3cc..cd632c5b24a03 100644 --- a/packages/deeplinks/search/constants.ts +++ b/packages/deeplinks/search/constants.ts @@ -9,7 +9,6 @@ export const ENTERPRISE_SEARCH_APP_ID = 'enterpriseSearch'; export const ENTERPRISE_SEARCH_CONTENT_APP_ID = 'enterpriseSearchContent'; -export const ENTERPRISE_SEARCH_RELEVANCE_APP_ID = 'searchInferenceEndpoints'; export const ENTERPRISE_SEARCH_APPLICATIONS_APP_ID = 'enterpriseSearchApplications'; export const ENTERPRISE_SEARCH_ANALYTICS_APP_ID = 'enterpriseSearchAnalytics'; export const ENTERPRISE_SEARCH_APPSEARCH_APP_ID = 'appSearch'; diff --git a/packages/deeplinks/search/deep_links.ts b/packages/deeplinks/search/deep_links.ts index ede9bc303dbe5..dcba1f7888597 100644 --- a/packages/deeplinks/search/deep_links.ts +++ b/packages/deeplinks/search/deep_links.ts @@ -14,7 +14,6 @@ import { ENTERPRISE_SEARCH_APP_ID, ENTERPRISE_SEARCH_CONTENT_APP_ID, ENTERPRISE_SEARCH_APPLICATIONS_APP_ID, - ENTERPRISE_SEARCH_RELEVANCE_APP_ID, ENTERPRISE_SEARCH_ANALYTICS_APP_ID, ENTERPRISE_SEARCH_APPSEARCH_APP_ID, ENTERPRISE_SEARCH_WORKPLACESEARCH_APP_ID, @@ -33,7 +32,6 @@ import { export type EnterpriseSearchApp = typeof ENTERPRISE_SEARCH_APP_ID; export type EnterpriseSearchContentApp = typeof ENTERPRISE_SEARCH_CONTENT_APP_ID; export type EnterpriseSearchApplicationsApp = typeof ENTERPRISE_SEARCH_APPLICATIONS_APP_ID; -export type EnterpriseSearchRelevanceApp = typeof ENTERPRISE_SEARCH_RELEVANCE_APP_ID; export type EnterpriseSearchAnalyticsApp = typeof ENTERPRISE_SEARCH_ANALYTICS_APP_ID; export type EnterpriseSearchAppsearchApp = typeof ENTERPRISE_SEARCH_APPSEARCH_APP_ID; export type EnterpriseSearchWorkplaceSearchApp = typeof ENTERPRISE_SEARCH_WORKPLACESEARCH_APP_ID; @@ -56,7 +54,7 @@ export type ApplicationsLinkId = 'searchApplications'; export type AppsearchLinkId = 'engines'; -export type RelevanceLinkId = 'inferenceEndpoints'; +export type SearchInferenceEndpointsLinkId = 'inferenceEndpoints'; export type SearchIndicesLinkId = typeof SEARCH_INDICES_CREATE_INDEX; @@ -64,7 +62,6 @@ export type DeepLinkId = | EnterpriseSearchApp | EnterpriseSearchContentApp | EnterpriseSearchApplicationsApp - | EnterpriseSearchRelevanceApp | EnterpriseSearchAnalyticsApp | EnterpriseSearchAppsearchApp | EnterpriseSearchWorkplaceSearchApp @@ -77,7 +74,7 @@ export type DeepLinkId = | `${EnterpriseSearchContentApp}:${ContentLinkId}` | `${EnterpriseSearchApplicationsApp}:${ApplicationsLinkId}` | `${EnterpriseSearchAppsearchApp}:${AppsearchLinkId}` - | `${EnterpriseSearchRelevanceApp}:${RelevanceLinkId}` + | `${SearchInferenceEndpointsId}:${SearchInferenceEndpointsLinkId}` | SearchStart | SearchIndices | SearchElasticsearch diff --git a/packages/deeplinks/search/index.ts b/packages/deeplinks/search/index.ts index 69110f36deb45..2b3d392971a5f 100644 --- a/packages/deeplinks/search/index.ts +++ b/packages/deeplinks/search/index.ts @@ -10,7 +10,6 @@ export { ENTERPRISE_SEARCH_APP_ID, ENTERPRISE_SEARCH_CONTENT_APP_ID, - ENTERPRISE_SEARCH_RELEVANCE_APP_ID, ENTERPRISE_SEARCH_APPLICATIONS_APP_ID, ENTERPRISE_SEARCH_ANALYTICS_APP_ID, ENTERPRISE_SEARCH_APPSEARCH_APP_ID, diff --git a/packages/kbn-index-adapter/src/field_maps/types.ts b/packages/kbn-index-adapter/src/field_maps/types.ts index 1cdafc7c61809..90fb44873a342 100644 --- a/packages/kbn-index-adapter/src/field_maps/types.ts +++ b/packages/kbn-index-adapter/src/field_maps/types.ts @@ -46,6 +46,7 @@ export type FieldMap = Record< array?: boolean; doc_values?: boolean; enabled?: boolean; + fields?: Record; format?: string; ignore_above?: number; multi_fields?: MultiField[]; diff --git a/packages/kbn-mock-idp-plugin/public/plugin.tsx b/packages/kbn-mock-idp-plugin/public/plugin.tsx index c1f733027f656..d27a9d0bc8ad5 100644 --- a/packages/kbn-mock-idp-plugin/public/plugin.tsx +++ b/packages/kbn-mock-idp-plugin/public/plugin.tsx @@ -49,7 +49,7 @@ export const plugin: PluginInitializer< ]); ReactDOM.render( - + @@ -69,7 +69,7 @@ export const plugin: PluginInitializer< order: 4000 + 1, // Make sure it comes after the user menu mount: (element: HTMLElement) => { ReactDOM.render( - + diff --git a/packages/kbn-mock-idp-plugin/public/reload_page_toast.tsx b/packages/kbn-mock-idp-plugin/public/reload_page_toast.tsx index c3f93f3269da1..e254e21d47cde 100644 --- a/packages/kbn-mock-idp-plugin/public/reload_page_toast.tsx +++ b/packages/kbn-mock-idp-plugin/public/reload_page_toast.tsx @@ -13,6 +13,7 @@ import React from 'react'; import type { I18nStart } from '@kbn/core-i18n-browser'; import type { ToastInput } from '@kbn/core-notifications-browser'; import type { ThemeServiceStart } from '@kbn/core-theme-browser'; +import type { UserProfileService } from '@kbn/core-user-profile-browser'; import { toMountPoint } from '@kbn/react-kibana-mount'; import type { AuthenticatedUser } from '@kbn/security-plugin-types-common'; @@ -26,6 +27,7 @@ export const DATA_TEST_SUBJ_PAGE_RELOAD_BUTTON = 'pageReloadButton'; */ export const createReloadPageToast = (options: { user: Pick; + userProfile: UserProfileService; theme: ThemeServiceStart; i18n: I18nStart; }): ToastInput => { @@ -43,7 +45,7 @@ export const createReloadPageToast = (options: { , - { i18n: options.i18n, theme: options.theme } + options ), color: 'success', toastLifeTimeMs: 0x7fffffff, // Do not auto-hide toast since page is in an unknown state diff --git a/packages/kbn-mock-idp-plugin/public/role_switcher.tsx b/packages/kbn-mock-idp-plugin/public/role_switcher.tsx index 347293abbc6c7..7a3845b0cc54a 100644 --- a/packages/kbn-mock-idp-plugin/public/role_switcher.tsx +++ b/packages/kbn-mock-idp-plugin/public/role_switcher.tsx @@ -69,6 +69,7 @@ export const RoleSwitcher = () => { services.notifications.toasts.add( createReloadPageToast({ user: authenticateUserState.value, + userProfile: services.userProfile, theme: services.theme, i18n: services.i18n, }) diff --git a/packages/kbn-mock-idp-plugin/tsconfig.json b/packages/kbn-mock-idp-plugin/tsconfig.json index 83c4023733404..d8b5fad09fb06 100644 --- a/packages/kbn-mock-idp-plugin/tsconfig.json +++ b/packages/kbn-mock-idp-plugin/tsconfig.json @@ -26,5 +26,6 @@ "@kbn/mock-idp-utils", "@kbn/cloud-plugin", "@kbn/es", + "@kbn/core-user-profile-browser", ] } diff --git a/packages/kbn-optimizer/src/common/worker_config.ts b/packages/kbn-optimizer/src/common/worker_config.ts index 6a61c3a99af07..0906ea96e3d98 100644 --- a/packages/kbn-optimizer/src/common/worker_config.ts +++ b/packages/kbn-optimizer/src/common/worker_config.ts @@ -21,6 +21,7 @@ export interface WorkerConfig { readonly profileWebpack: boolean; readonly browserslistEnv: string; readonly optimizerCacheKey: unknown; + readonly reactVersion: string; } export type CacheableWorkerConfig = Omit; @@ -72,6 +73,11 @@ export function parseWorkerConfig(json: string): WorkerConfig { throw new Error('`browserslistEnv` must be a string'); } + const reactVersion = parsed.reactVersion; + if (typeof reactVersion !== 'string') { + throw new Error('`reactVersion` must be a string'); + } + const themes = parseThemeTags(parsed.themeTags); return { @@ -83,6 +89,7 @@ export function parseWorkerConfig(json: string): WorkerConfig { optimizerCacheKey, browserslistEnv, themeTags: themes, + reactVersion, }; } catch (error) { throw new Error(`unable to parse worker config: ${error.message}`); diff --git a/packages/kbn-optimizer/src/optimizer/optimizer_cache_key.test.ts b/packages/kbn-optimizer/src/optimizer/optimizer_cache_key.test.ts index f08849005e971..c11116d2f2b73 100644 --- a/packages/kbn-optimizer/src/optimizer/optimizer_cache_key.test.ts +++ b/packages/kbn-optimizer/src/optimizer/optimizer_cache_key.test.ts @@ -88,6 +88,7 @@ describe('getOptimizerCacheKey()', () => { "browserslistEnv": "dev", "dist": false, "optimizerCacheKey": "♻", + "reactVersion": "17", "repoRoot": , "themeTags": Array [ "v8light", diff --git a/packages/kbn-optimizer/src/optimizer/optimizer_config.test.ts b/packages/kbn-optimizer/src/optimizer/optimizer_config.test.ts index 5fd2318953a8c..d69b248ac188a 100644 --- a/packages/kbn-optimizer/src/optimizer/optimizer_config.test.ts +++ b/packages/kbn-optimizer/src/optimizer/optimizer_config.test.ts @@ -98,6 +98,7 @@ describe('OptimizerConfig::parseOptions()', () => { "testPlugins": false, }, "profileWebpack": false, + "reactVersion": "17", "repoRoot": , "themeTags": undefined, "watch": false, @@ -126,6 +127,7 @@ describe('OptimizerConfig::parseOptions()', () => { "testPlugins": false, }, "profileWebpack": false, + "reactVersion": "17", "repoRoot": , "themeTags": undefined, "watch": false, @@ -154,6 +156,7 @@ describe('OptimizerConfig::parseOptions()', () => { "testPlugins": false, }, "profileWebpack": false, + "reactVersion": "17", "repoRoot": , "themeTags": undefined, "watch": false, @@ -181,6 +184,7 @@ describe('OptimizerConfig::parseOptions()', () => { "testPlugins": false, }, "profileWebpack": false, + "reactVersion": "17", "repoRoot": , "themeTags": undefined, "watch": false, @@ -209,6 +213,7 @@ describe('OptimizerConfig::parseOptions()', () => { "testPlugins": false, }, "profileWebpack": false, + "reactVersion": "17", "repoRoot": , "themeTags": undefined, "watch": false, @@ -237,6 +242,7 @@ describe('OptimizerConfig::parseOptions()', () => { "testPlugins": false, }, "profileWebpack": false, + "reactVersion": "17", "repoRoot": , "themeTags": undefined, "watch": false, @@ -265,6 +271,7 @@ describe('OptimizerConfig::parseOptions()', () => { "testPlugins": false, }, "profileWebpack": false, + "reactVersion": "17", "repoRoot": , "themeTags": undefined, "watch": false, @@ -294,6 +301,7 @@ describe('OptimizerConfig::parseOptions()', () => { "testPlugins": false, }, "profileWebpack": false, + "reactVersion": "17", "repoRoot": , "themeTags": undefined, "watch": false, @@ -323,6 +331,7 @@ describe('OptimizerConfig::parseOptions()', () => { "testPlugins": false, }, "profileWebpack": false, + "reactVersion": "17", "repoRoot": , "themeTags": undefined, "watch": false, @@ -385,6 +394,7 @@ describe('OptimizerConfig::create()', () => { focus: [], includeCoreBundle: false, pluginSelector: Symbol('plugin selector'), + reactVersion: 17, }) ); }); @@ -408,6 +418,7 @@ describe('OptimizerConfig::create()', () => { Symbol(plugin2), ], "profileWebpack": Symbol(parsed profile webpack), + "reactVersion": 17, "repoRoot": Symbol(parsed repo root), "themeTags": Symbol(theme tags), "watch": Symbol(parsed watch), diff --git a/packages/kbn-optimizer/src/optimizer/optimizer_config.ts b/packages/kbn-optimizer/src/optimizer/optimizer_config.ts index 1b04a6fbd25a3..fbeaf8b5014f6 100644 --- a/packages/kbn-optimizer/src/optimizer/optimizer_config.ts +++ b/packages/kbn-optimizer/src/optimizer/optimizer_config.ts @@ -119,6 +119,7 @@ export interface ParsedOptions { includeCoreBundle: boolean; themeTags: ThemeTags; pluginSelector: PluginSelector; + reactVersion: string; } export class OptimizerConfig { @@ -133,6 +134,7 @@ export class OptimizerConfig { const includeCoreBundle = !!options.includeCoreBundle; const filters = options.filter || []; const focus = options.focus || []; + const reactVersion = process.env.REACT_18 ? '18' : '17'; const repoRoot = options.repoRoot; if (!Path.isAbsolute(repoRoot)) { @@ -177,6 +179,7 @@ export class OptimizerConfig { outputRoot, maxWorkerCount, profileWebpack, + reactVersion, cache, filters, focus, @@ -234,7 +237,8 @@ export class OptimizerConfig { options.maxWorkerCount, options.dist, options.profileWebpack, - options.themeTags + options.themeTags, + options.reactVersion ); } @@ -249,7 +253,8 @@ export class OptimizerConfig { public readonly maxWorkerCount: number, public readonly dist: boolean, public readonly profileWebpack: boolean, - public readonly themeTags: ThemeTags + public readonly themeTags: ThemeTags, + public readonly reactVersion: string ) {} getWorkerConfig(optimizerCacheKey: unknown): WorkerConfig { @@ -262,6 +267,7 @@ export class OptimizerConfig { optimizerCacheKey, themeTags: this.themeTags, browserslistEnv: this.dist ? 'production' : process.env.BROWSERSLIST_ENV || 'dev', + reactVersion: this.reactVersion, }; } diff --git a/packages/kbn-optimizer/src/worker/webpack.config.ts b/packages/kbn-optimizer/src/worker/webpack.config.ts index b5da9566878e1..98549d7ec745a 100644 --- a/packages/kbn-optimizer/src/worker/webpack.config.ts +++ b/packages/kbn-optimizer/src/worker/webpack.config.ts @@ -310,6 +310,10 @@ export function getWebpackConfig( 'src/core/public/styles/core_app/images' ), vega: Path.resolve(worker.repoRoot, 'node_modules/vega/build-es5/vega.js'), + 'react-dom$': + worker.reactVersion === '18' ? 'react-dom-18/profiling' : 'react-dom/profiling', + 'scheduler/tracing': 'scheduler/tracing-profiling', + react: worker.reactVersion === '18' ? 'react-18' : 'react', }, }, diff --git a/packages/kbn-react-mute-legacy-root-warning/README.md b/packages/kbn-react-mute-legacy-root-warning/README.md new file mode 100644 index 0000000000000..4e1ac473e023c --- /dev/null +++ b/packages/kbn-react-mute-legacy-root-warning/README.md @@ -0,0 +1,5 @@ +# @kbn/react-mute-legacy-root-warning + +After we upgrade to React 18, we will see a warning in the console that we are using the legacy ReactDOM.render API. +This warning is expected as we will be in the process of migrating to the new createRoot API. +However, it is very noisy and we want to mute it for now. diff --git a/packages/kbn-react-mute-legacy-root-warning/index.ts b/packages/kbn-react-mute-legacy-root-warning/index.ts new file mode 100644 index 0000000000000..d77c6f50568a1 --- /dev/null +++ b/packages/kbn-react-mute-legacy-root-warning/index.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", 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 no-console */ +const originalConsoleError = console.error; + +/** + * After we upgrade to React 18, we will see a warning in the console that we are using the legacy ReactDOM.render API. + * This warning is expected as we are in the process of migrating to the new createRoot API. + * However, it is very noisy and we want to mute it for now. + */ +export function muteLegacyRootWarning() { + console.error = (message, ...args) => { + if ( + typeof message === 'string' && + message.includes( + "Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17." + ) + ) { + return; + } + + originalConsoleError.call(console, message, ...args); + }; +} diff --git a/packages/kbn-react-mute-legacy-root-warning/jest.config.js b/packages/kbn-react-mute-legacy-root-warning/jest.config.js new file mode 100644 index 0000000000000..00d62deb5770f --- /dev/null +++ b/packages/kbn-react-mute-legacy-root-warning/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/jest_node', + rootDir: '../..', + roots: ['/packages/kbn-react-mute-legacy-root-warning'], +}; diff --git a/packages/kbn-react-mute-legacy-root-warning/kibana.jsonc b/packages/kbn-react-mute-legacy-root-warning/kibana.jsonc new file mode 100644 index 0000000000000..82f28f5477d39 --- /dev/null +++ b/packages/kbn-react-mute-legacy-root-warning/kibana.jsonc @@ -0,0 +1,5 @@ +{ + "type": "shared-common", + "id": "@kbn/react-mute-legacy-root-warning", + "owner": "@elastic/appex-sharedux" +} diff --git a/packages/kbn-react-mute-legacy-root-warning/package.json b/packages/kbn-react-mute-legacy-root-warning/package.json new file mode 100644 index 0000000000000..24ac77215a69d --- /dev/null +++ b/packages/kbn-react-mute-legacy-root-warning/package.json @@ -0,0 +1,6 @@ +{ + "name": "@kbn/react-mute-legacy-root-warning", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0" +} \ No newline at end of file diff --git a/packages/kbn-react-mute-legacy-root-warning/tsconfig.json b/packages/kbn-react-mute-legacy-root-warning/tsconfig.json new file mode 100644 index 0000000000000..2f9ddddbeea23 --- /dev/null +++ b/packages/kbn-react-mute-legacy-root-warning/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [] +} diff --git a/packages/kbn-scout-info/README.md b/packages/kbn-scout-info/README.md new file mode 100644 index 0000000000000..31db067b02443 --- /dev/null +++ b/packages/kbn-scout-info/README.md @@ -0,0 +1,6 @@ +# @kbn/scout-info + +This package stores information that's commonly used by packages in the `@kbn/scout*` namespace, and any other + package that wishes to extend Scout functionality. + +Check out the `@kbn/scout` package if you want to learn more about Scout. diff --git a/scripts/scout_start_servers.js b/packages/kbn-scout-info/index.ts similarity index 86% rename from scripts/scout_start_servers.js rename to packages/kbn-scout-info/index.ts index b93ec0e456454..ff7948350e1ad 100644 --- a/scripts/scout_start_servers.js +++ b/packages/kbn-scout-info/index.ts @@ -7,5 +7,5 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -require('../src/setup_node_env'); -require('@kbn/scout').startServersCli(); +export * from './src/paths'; +export * from './src/reporting'; diff --git a/packages/kbn-osquery-io-ts-types/jest.config.js b/packages/kbn-scout-info/jest.config.js similarity index 90% rename from packages/kbn-osquery-io-ts-types/jest.config.js rename to packages/kbn-scout-info/jest.config.js index ec4b87bbab8b7..6e70c1cc5996b 100644 --- a/packages/kbn-osquery-io-ts-types/jest.config.js +++ b/packages/kbn-scout-info/jest.config.js @@ -10,5 +10,5 @@ module.exports = { preset: '@kbn/test/jest_node', rootDir: '../..', - roots: ['/packages/kbn-osquery-io-ts-types'], + roots: ['/packages/kbn-scout-info'], }; diff --git a/packages/kbn-scout-info/kibana.jsonc b/packages/kbn-scout-info/kibana.jsonc new file mode 100644 index 0000000000000..a2a9f00b951c0 --- /dev/null +++ b/packages/kbn-scout-info/kibana.jsonc @@ -0,0 +1,6 @@ +{ + "type": "shared-common", + "id": "@kbn/scout-info", + "owner": "@elastic/appex-qa", + "devOnly": true +} diff --git a/packages/kbn-scout-info/package.json b/packages/kbn-scout-info/package.json new file mode 100644 index 0000000000000..c6e1076d04833 --- /dev/null +++ b/packages/kbn-scout-info/package.json @@ -0,0 +1,6 @@ +{ + "name": "@kbn/scout-info", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0" +} \ No newline at end of file diff --git a/packages/kbn-scout-info/src/paths.ts b/packages/kbn-scout-info/src/paths.ts new file mode 100644 index 0000000000000..f471cdcfa0201 --- /dev/null +++ b/packages/kbn-scout-info/src/paths.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", 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". + */ + +import path from 'node:path'; +import { REPO_ROOT } from '@kbn/repo-info'; + +export const SCOUT_OUTPUT_ROOT = path.resolve(REPO_ROOT, '.scout'); + +// Servers +export const SCOUT_SERVERS_ROOT = path.resolve(SCOUT_OUTPUT_ROOT, 'servers'); + +// Reporting +export const SCOUT_REPORT_OUTPUT_ROOT = path.resolve(SCOUT_OUTPUT_ROOT, 'reports'); diff --git a/packages/kbn-scout-info/src/reporting.ts b/packages/kbn-scout-info/src/reporting.ts new file mode 100644 index 0000000000000..8c9660dde2daa --- /dev/null +++ b/packages/kbn-scout-info/src/reporting.ts @@ -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", 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 SCOUT_TEST_EVENTS_TEMPLATE_NAME = 'scout-test-events'; +export const SCOUT_TEST_EVENTS_INDEX_PATTERN = `${SCOUT_TEST_EVENTS_TEMPLATE_NAME}-*`; +export const SCOUT_TEST_EVENTS_DATA_STREAM_NAME = `${SCOUT_TEST_EVENTS_TEMPLATE_NAME}-kibana`; diff --git a/packages/kbn-osquery-io-ts-types/tsconfig.json b/packages/kbn-scout-info/tsconfig.json similarity index 84% rename from packages/kbn-osquery-io-ts-types/tsconfig.json rename to packages/kbn-scout-info/tsconfig.json index 780216a67a247..b7a5e0164b099 100644 --- a/packages/kbn-osquery-io-ts-types/tsconfig.json +++ b/packages/kbn-scout-info/tsconfig.json @@ -11,9 +11,9 @@ "**/*.ts", ], "exclude": [ - "target/**/*", + "target/**/*" ], "kbn_references": [ - "@kbn/io-ts-utils", + "@kbn/repo-info" ] } diff --git a/packages/kbn-scout-reporting/README.md b/packages/kbn-scout-reporting/README.md new file mode 100644 index 0000000000000..152e2421d97b1 --- /dev/null +++ b/packages/kbn-scout-reporting/README.md @@ -0,0 +1,5 @@ +# @kbn/scout-reporting + +This package contains reporting functionality for Scout. + +Check out the `@kbn/scout` package if you want to learn more about Scout. diff --git a/packages/kbn-scout-reporting/index.ts b/packages/kbn-scout-reporting/index.ts new file mode 100644 index 0000000000000..474c557f60687 --- /dev/null +++ b/packages/kbn-scout-reporting/index.ts @@ -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", 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 * as cli from './src/cli'; +export * as datasources from './src/datasources'; +export * from './src/reporting'; diff --git a/packages/kbn-scout-reporting/jest.config.js b/packages/kbn-scout-reporting/jest.config.js new file mode 100644 index 0000000000000..bf77cdb10a86b --- /dev/null +++ b/packages/kbn-scout-reporting/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/jest_node', + rootDir: '../..', + roots: ['/packages/kbn-scout-reporting'], +}; diff --git a/packages/kbn-scout-reporting/kibana.jsonc b/packages/kbn-scout-reporting/kibana.jsonc new file mode 100644 index 0000000000000..3f73871b2e174 --- /dev/null +++ b/packages/kbn-scout-reporting/kibana.jsonc @@ -0,0 +1,6 @@ +{ + "type": "shared-common", + "id": "@kbn/scout-reporting", + "owner": "@elastic/appex-qa", + "devOnly": true +} diff --git a/packages/kbn-scout-reporting/package.json b/packages/kbn-scout-reporting/package.json new file mode 100644 index 0000000000000..6c87cb11358bc --- /dev/null +++ b/packages/kbn-scout-reporting/package.json @@ -0,0 +1,6 @@ +{ + "name": "@kbn/scout-reporting", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0" +} \ No newline at end of file diff --git a/packages/kbn-scout-reporting/src/cli/common.ts b/packages/kbn-scout-reporting/src/cli/common.ts new file mode 100644 index 0000000000000..e7d88f5b6576a --- /dev/null +++ b/packages/kbn-scout-reporting/src/cli/common.ts @@ -0,0 +1,37 @@ +/* + * 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". + */ + +import { Client as ESClient, ClientOptions as ESClientOptions } from '@elastic/elasticsearch'; +import { ToolingLog } from '@kbn/tooling-log'; +import { createFailError } from '@kbn/dev-cli-errors'; + +/** + * Get an Elasticsearch client for which connectivity has been validated + * + * @param options Elasticsearch client options + * @param log Logger instance + * @throws FailError if cluster information cannot be read from the target Elasticsearch instance + */ +export async function getValidatedESClient( + options: ESClientOptions, + log: ToolingLog +): Promise { + const es = new ESClient(options); + + await es.info().then( + (esInfo) => { + log.info(`Connected to Elasticsearch node '${esInfo.name}'`); + }, + (err) => { + throw createFailError(`Failed to connect to Elasticsearch\n${err}`); + } + ); + + return es; +} diff --git a/packages/kbn-scout-reporting/src/cli/index.ts b/packages/kbn-scout-reporting/src/cli/index.ts new file mode 100644 index 0000000000000..774275d5b9453 --- /dev/null +++ b/packages/kbn-scout-reporting/src/cli/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", 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 { initializeReportDatastream } from './initialize_report_datastream'; +export { uploadEvents } from './upload_events'; diff --git a/packages/kbn-scout-reporting/src/cli/initialize_report_datastream.ts b/packages/kbn-scout-reporting/src/cli/initialize_report_datastream.ts new file mode 100644 index 0000000000000..314794a9181b7 --- /dev/null +++ b/packages/kbn-scout-reporting/src/cli/initialize_report_datastream.ts @@ -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", 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". + */ + +import { Command } from '@kbn/dev-cli-runner'; +import { ScoutReportDataStream } from '../reporting/report'; +import { getValidatedESClient } from './common'; + +export const initializeReportDatastream: Command = { + name: 'initialize-report-datastream', + description: 'Initialize a Scout report datastream in Elasticsearch', + flags: { + string: ['esURL', 'esAPIKey'], + boolean: ['verifyTLSCerts'], + default: { + esURL: process.env.ES_URL, + esAPIKey: process.env.ES_API_KEY, + }, + help: ` + --esURL (required) Elasticsearch URL [env: ES_URL] + --esAPIKey (required) Elasticsearch API Key [env: ES_API_KEY] + --verifyTLSCerts (optional) Verify TLS certificates + `, + }, + run: async ({ flagsReader, log }) => { + const esURL = flagsReader.requiredString('esURL'); + const esAPIKey = flagsReader.requiredString('esAPIKey'); + + // ES connection + log.info(`Connecting to Elasticsearch at ${esURL}`); + const es = await getValidatedESClient( + { + node: esURL, + auth: { apiKey: esAPIKey }, + tls: { + rejectUnauthorized: flagsReader.boolean('verifyTLSCerts'), + }, + }, + log + ); + + // Initialize the report datastream + const reportDataStream = new ScoutReportDataStream(es, log); + await reportDataStream.initialize(); + + log.success('Scout report data stream initialized'); + }, +}; diff --git a/packages/kbn-scout-reporting/src/cli/upload_events.ts b/packages/kbn-scout-reporting/src/cli/upload_events.ts new file mode 100644 index 0000000000000..8c2ef1bd67347 --- /dev/null +++ b/packages/kbn-scout-reporting/src/cli/upload_events.ts @@ -0,0 +1,61 @@ +/* + * 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". + */ + +import fs from 'node:fs'; +import { Command } from '@kbn/dev-cli-runner'; +import { createFlagError } from '@kbn/dev-cli-errors'; +import { ScoutReportDataStream } from '../reporting/report'; +import { getValidatedESClient } from './common'; + +export const uploadEvents: Command = { + name: 'upload-events', + description: 'Upload events recorded by the Scout reporter to Elasticsearch', + flags: { + string: ['eventLogPath', 'esURL', 'esAPIKey'], + boolean: ['verifyTLSCerts'], + default: { + esURL: process.env.ES_URL, + esAPIKey: process.env.ES_API_KEY, + }, + help: ` + --eventLogPath (required) Path to the event log to upload + --esURL (required) Elasticsearch URL [env: ES_URL] + --esAPIKey (required) Elasticsearch API Key [env: ES_API_KEY] + --verifyTLSCerts (optional) Verify TLS certificates + `, + }, + run: async ({ flagsReader, log }) => { + // Read & validate CLI options + const eventLogPath = flagsReader.requiredString('eventLogPath'); + + if (!fs.existsSync(eventLogPath)) { + throw createFlagError(`Event log path '${eventLogPath}' does not exist.`); + } + + const esURL = flagsReader.requiredString('esURL'); + const esAPIKey = flagsReader.requiredString('esAPIKey'); + + // ES connection + log.info(`Connecting to Elasticsearch at ${esURL}`); + const es = await getValidatedESClient( + { + node: esURL, + auth: { apiKey: esAPIKey }, + tls: { + rejectUnauthorized: flagsReader.boolean('verifyTLSCerts'), + }, + }, + log + ); + + // Event log upload + const reportDataStream = new ScoutReportDataStream(es, log); + await reportDataStream.addEventsFromFile(eventLogPath); + }, +}; diff --git a/packages/kbn-scout-reporting/src/datasources/buildkite.ts b/packages/kbn-scout-reporting/src/datasources/buildkite.ts new file mode 100644 index 0000000000000..e58889510f4d7 --- /dev/null +++ b/packages/kbn-scout-reporting/src/datasources/buildkite.ts @@ -0,0 +1,87 @@ +/* + * 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". + */ + +/** + * Buildkite info + */ +export interface BuildkiteMetadata { + branch?: string; + commit?: string; + job_id?: string; + message?: string; + build: { + id?: string; + number?: string; + url?: string; + }; + pipeline: { + id?: string; + name?: string; + slug?: string; + }; + agent: { + name?: string; + }; + group: { + id?: string; + key?: string; + label?: string; + }; + step: { + id?: string; + key?: string; + label?: string; + }; + command?: string; +} + +/** + * Buildkite information extracted from environment variables + * + * This object is empty if the process is not running in a Buildkite pipeline. + */ +export const buildkite: BuildkiteMetadata = + process.env.BUILDKITE === 'true' + ? { + branch: process.env.BUILDKITE_BRANCH, + commit: process.env.BUILDKITE_COMMIT, + job_id: process.env.BUILDKITE_JOB_ID, + message: process.env.BUILDKITE_MESSAGE, + build: { + id: process.env.BUILDKITE_BUILD_ID, + number: process.env.BUILDKITE_BUILD_NUMBER, + url: process.env.BUILDKITE_BUILD_URL, + }, + pipeline: { + id: process.env.BUILDKITE_PIPELINE_ID, + name: process.env.BUILDKITE_PIPELINE_NAME, + slug: process.env.BUILDKITE_PIPELINE_SLUG, + }, + agent: { + name: process.env.BUILDKITE_AGENT_NAME, + }, + group: { + id: process.env.BUILDKITE_GROUP_ID, + key: process.env.BUILDKITE_GROUP_KEY, + label: process.env.BUILDKITE_GROUP_LABEL, + }, + step: { + id: process.env.BUILDKITE_STEP_ID, + key: process.env.BUILDKITE_STEP_KEY, + label: process.env.BUILDKITE_LABEL, + }, + command: process.env.BUILDKITE_COMMAND, + } + : { + build: {}, + pipeline: {}, + agent: {}, + group: {}, + step: {}, + }; diff --git a/packages/kbn-scout-reporting/src/datasources/host.ts b/packages/kbn-scout-reporting/src/datasources/host.ts new file mode 100644 index 0000000000000..c7d528947a1c0 --- /dev/null +++ b/packages/kbn-scout-reporting/src/datasources/host.ts @@ -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", 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". + */ + +import os from 'node:os'; + +/** + * Host info + */ +export interface HostMetadata { + architecture: string; + hostname: string; + os: OSMetadata; +} + +/** + * Operating system info + */ +export interface OSMetadata { + platform: string; + version: string; + family: string; +} + +/** + * Information about the host this process is running on + */ +export const host: HostMetadata = { + architecture: os.arch(), + hostname: os.hostname(), + os: { + platform: os.platform(), + version: os.release(), + family: os.type(), + }, +}; diff --git a/packages/kbn-scout-reporting/src/datasources/index.ts b/packages/kbn-scout-reporting/src/datasources/index.ts new file mode 100644 index 0000000000000..fc467d6f05380 --- /dev/null +++ b/packages/kbn-scout-reporting/src/datasources/index.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", 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". + */ + +import { buildkite } from './buildkite'; +import { host } from './host'; + +export * from './buildkite'; +export * from './host'; + +export const environmentMetadata = { + buildkite, + host, +}; diff --git a/packages/kbn-scout-reporting/src/reporting/index.ts b/packages/kbn-scout-reporting/src/reporting/index.ts new file mode 100644 index 0000000000000..58d4002320047 --- /dev/null +++ b/packages/kbn-scout-reporting/src/reporting/index.ts @@ -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", 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". + */ + +import { createHash, randomBytes } from 'node:crypto'; +import type { ReporterDescription } from 'playwright/test'; +import type { ScoutPlaywrightReporterOptions } from './playwright'; + +export * from './report'; + +// ID helpers +export function generateTestRunId() { + return randomBytes(8).toString('hex'); +} + +export function getTestIDForTitle(title: string) { + return createHash('sha256').update(title).digest('hex').slice(0, 31); +} + +// Playwright reporting +export const scoutPlaywrightReporter = ( + options?: ScoutPlaywrightReporterOptions +): ReporterDescription => { + return ['@kbn/scout-reporting/src/reporting/playwright.ts', options]; +}; diff --git a/packages/kbn-scout-reporting/src/reporting/playwright.ts b/packages/kbn-scout-reporting/src/reporting/playwright.ts new file mode 100644 index 0000000000000..fdea17cb844c0 --- /dev/null +++ b/packages/kbn-scout-reporting/src/reporting/playwright.ts @@ -0,0 +1,300 @@ +/* + * 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". + */ + +import type { + FullConfig, + FullResult, + Reporter, + Suite, + TestCase, + TestError, + TestResult, + TestStep, +} from '@playwright/test/reporter'; + +import path from 'node:path'; +import { ToolingLog } from '@kbn/tooling-log'; +import { SCOUT_REPORT_OUTPUT_ROOT } from '@kbn/scout-info'; +import stripANSI from 'strip-ansi'; +import { REPO_ROOT } from '@kbn/repo-info'; +import { PathWithOwners, getPathsWithOwnersReversed, getCodeOwnersForFile } from '@kbn/code-owners'; +import { generateTestRunId, getTestIDForTitle, ScoutReport, ScoutReportEventAction } from '.'; +import { environmentMetadata } from '../datasources'; + +/** + * Configuration options for the Scout Playwright reporter + */ +export interface ScoutPlaywrightReporterOptions { + name?: string; + outputPath?: string; +} + +/** + * Scout Playwright reporter + */ +export class ScoutPlaywrightReporter implements Reporter { + readonly log: ToolingLog; + readonly name: string; + readonly runId: string; + private report: ScoutReport; + private readonly pathsWithOwners: PathWithOwners[]; + + constructor(private reporterOptions: ScoutPlaywrightReporterOptions = {}) { + this.log = new ToolingLog({ + level: 'info', + writeTo: process.stdout, + }); + + this.name = this.reporterOptions.name || 'unknown'; + this.runId = generateTestRunId(); + this.log.info(`Scout test run ID: ${this.runId}`); + + this.report = new ScoutReport(this.log); + this.pathsWithOwners = getPathsWithOwnersReversed(); + } + + private getFileOwners(filePath: string): string[] { + const concatenatedOwners = getCodeOwnersForFile(filePath, this.pathsWithOwners); + + if (concatenatedOwners === undefined) { + return []; + } + + return concatenatedOwners + .replace(/#.+$/, '') + .split(',') + .filter((value) => value.length > 0); + } + + /** + * Root path of this reporter's output + */ + public get reportRootPath(): string { + const outputPath = this.reporterOptions.outputPath || SCOUT_REPORT_OUTPUT_ROOT; + return path.join(outputPath, `scout-playwright-${this.runId}`); + } + + printsToStdio(): boolean { + // Don't take over console output + return false; + } + + onBegin(config: FullConfig, suite: Suite) { + this.report.logEvent({ + ...environmentMetadata, + reporter: { + name: this.name, + type: 'playwright', + }, + test_run: { + id: this.runId, + }, + event: { + action: ScoutReportEventAction.RUN_BEGIN, + }, + }); + } + + onTestBegin(test: TestCase, result: TestResult) { + this.report.logEvent({ + '@timestamp': result.startTime, + ...environmentMetadata, + reporter: { + name: this.name, + type: 'playwright', + }, + test_run: { + id: this.runId, + }, + suite: { + title: test.parent.titlePath().join(' '), + type: test.parent.type, + }, + test: { + id: getTestIDForTitle(test.titlePath().join(' ')), + title: test.title, + tags: test.tags, + annotations: test.annotations, + expected_status: test.expectedStatus, + }, + event: { + action: ScoutReportEventAction.TEST_BEGIN, + }, + file: { + path: path.relative(REPO_ROOT, test.location.file), + owner: this.getFileOwners(path.relative(REPO_ROOT, test.location.file)), + }, + }); + } + + onStepBegin(test: TestCase, result: TestResult, step: TestStep) { + this.report.logEvent({ + '@timestamp': step.startTime, + ...environmentMetadata, + reporter: { + name: this.name, + type: 'playwright', + }, + test_run: { + id: this.runId, + }, + suite: { + title: test.parent.titlePath().join(' '), + type: test.parent.type, + }, + test: { + id: getTestIDForTitle(test.titlePath().join(' ')), + title: test.title, + tags: test.tags, + annotations: test.annotations, + expected_status: test.expectedStatus, + step: { + title: step.titlePath().join(' '), + category: step.category, + }, + }, + event: { + action: ScoutReportEventAction.TEST_STEP_BEGIN, + }, + file: { + path: path.relative(REPO_ROOT, test.location.file), + owner: this.getFileOwners(path.relative(REPO_ROOT, test.location.file)), + }, + }); + } + + onStepEnd(test: TestCase, result: TestResult, step: TestStep) { + this.report.logEvent({ + ...environmentMetadata, + reporter: { + name: this.name, + type: 'playwright', + }, + test_run: { + id: this.runId, + }, + suite: { + title: test.parent.titlePath().join(' '), + type: test.parent.type, + }, + test: { + id: getTestIDForTitle(test.titlePath().join(' ')), + title: test.title, + tags: test.tags, + annotations: test.annotations, + expected_status: test.expectedStatus, + step: { + title: step.titlePath().join(' '), + category: step.category, + duration: step.duration, + }, + }, + event: { + action: ScoutReportEventAction.TEST_STEP_END, + error: { + message: step.error?.message ? stripANSI(step.error.message) : undefined, + stack_trace: step.error?.stack ? stripANSI(step.error.stack) : undefined, + }, + }, + file: { + path: path.relative(REPO_ROOT, test.location.file), + owner: this.getFileOwners(path.relative(REPO_ROOT, test.location.file)), + }, + }); + } + + onTestEnd(test: TestCase, result: TestResult) { + this.report.logEvent({ + ...environmentMetadata, + reporter: { + name: this.name, + type: 'playwright', + }, + test_run: { + id: this.runId, + }, + suite: { + title: test.parent.titlePath().join(' '), + type: test.parent.type, + }, + test: { + id: getTestIDForTitle(test.titlePath().join(' ')), + title: test.title, + tags: test.tags, + annotations: test.annotations, + expected_status: test.expectedStatus, + status: result.status, + duration: result.duration, + }, + event: { + action: ScoutReportEventAction.TEST_END, + error: { + message: result.error?.message ? stripANSI(result.error.message) : undefined, + stack_trace: result.error?.stack ? stripANSI(result.error.stack) : undefined, + }, + }, + file: { + path: path.relative(REPO_ROOT, test.location.file), + owner: this.getFileOwners(path.relative(REPO_ROOT, test.location.file)), + }, + }); + } + + onEnd(result: FullResult) { + this.report.logEvent({ + ...environmentMetadata, + reporter: { + name: this.name, + type: 'playwright', + }, + test_run: { + id: this.runId, + status: result.status, + duration: result.duration, + }, + event: { + action: ScoutReportEventAction.RUN_END, + }, + }); + + // Save & conclude the report + try { + this.report.save(this.reportRootPath); + } finally { + this.report.conclude(); + } + } + + async onExit() { + // noop + } + + onError(error: TestError) { + this.report.logEvent({ + ...environmentMetadata, + reporter: { + name: this.name, + type: 'playwright', + }, + test_run: { + id: this.runId, + }, + event: { + action: ScoutReportEventAction.ERROR, + error: { + message: error.message ? stripANSI(error.message) : undefined, + stack_trace: error.stack ? stripANSI(error.stack) : undefined, + }, + }, + }); + } +} + +// eslint-disable-next-line import/no-default-export +export default ScoutPlaywrightReporter; diff --git a/packages/kbn-scout-reporting/src/reporting/report/event.ts b/packages/kbn-scout-reporting/src/reporting/report/event.ts new file mode 100644 index 0000000000000..1f6f8251f3b60 --- /dev/null +++ b/packages/kbn-scout-reporting/src/reporting/report/event.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", 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". + */ + +import { BuildkiteMetadata, HostMetadata } from '../../datasources'; + +/** + * Scout reporter event type + */ +export enum ScoutReportEventAction { + RUN_BEGIN = 'run-begin', + RUN_END = 'run-end', + TEST_BEGIN = 'test-begin', + TEST_END = 'test-end', + TEST_STEP_BEGIN = 'test-step-begin', + TEST_STEP_END = 'test-step-end', + ERROR = 'error', +} + +/** + * Scout report event info + */ +export interface ScoutReportEventInfo { + action: ScoutReportEventAction; + outcome?: 'failure' | 'success' | 'unknown'; + error?: { + message?: string; + id?: string; + code?: string; + stack_trace?: string; + type?: string; + }; +} + +/** + * Scout reporter info + */ +export interface ScoutReporterInfo { + name: string; + type: 'jest' | 'ftr' | 'playwright'; +} + +/** + * Scout test run info + */ +export interface ScoutTestRunInfo { + id: string; + status?: string; + duration?: number; +} + +/** + * Scout suite info + */ +export interface ScoutSuiteInfo { + title: string; + type: string; +} + +/** + * Scout test info + */ +export interface ScoutTestInfo { + id: string; + title: string; + tags: string[]; + annotations?: Array<{ + type: string; + description?: string; + }>; + expected_status?: string; + duration?: number; + status?: string; + step?: { + title: string; + category?: string; + duration?: number; + }; +} + +/** + * Scout file info + */ +export interface ScoutFileInfo { + path: string; + owner: string | string[]; +} + +/** + * Document that records an event to be logged by the Scout reporter + */ +export interface ScoutReportEvent { + '@timestamp'?: Date; + buildkite?: BuildkiteMetadata; + host?: HostMetadata; + event: ScoutReportEventInfo; + file?: ScoutFileInfo; + labels?: { [id: string]: string }; + reporter: ScoutReporterInfo; + test_run: ScoutTestRunInfo; + suite?: ScoutSuiteInfo; + test?: ScoutTestInfo; +} diff --git a/packages/kbn-scout-reporting/src/reporting/report/index.ts b/packages/kbn-scout-reporting/src/reporting/report/index.ts new file mode 100644 index 0000000000000..b678463c185f9 --- /dev/null +++ b/packages/kbn-scout-reporting/src/reporting/report/index.ts @@ -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", 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 max-classes-per-file +import os from 'node:os'; +import path from 'node:path'; +import fs from 'node:fs'; +import { ToolingLog } from '@kbn/tooling-log'; +import { ScoutReportEvent } from './event'; + +/** + * Generic error raised by a Scout report + */ +export class ScoutReportError extends Error {} + +/** + * + */ +export class ScoutReport { + log: ToolingLog; + workDir: string; + concluded = false; + + constructor(log?: ToolingLog) { + this.log = log || new ToolingLog(); + this.workDir = fs.mkdtempSync(path.join(os.tmpdir(), 'scout-report-')); + } + + public get eventLogPath(): string { + return path.join(this.workDir, `event-log.ndjson`); + } + + private raiseIfConcluded(additionalInfo?: string) { + if (this.concluded) { + let message = `Report at ${this.workDir} was concluded`; + + if (additionalInfo) { + message += `: ${additionalInfo}`; + } + + throw new ScoutReportError(message); + } + } + + /** + * Logs an event to be processed by this reporter + * + * @param event {ScoutReportEvent} - Event to record + */ + logEvent(event: ScoutReportEvent) { + this.raiseIfConcluded('logging new events is no longer allowed'); + + if (event['@timestamp'] === undefined) { + event['@timestamp'] = new Date(); + } + + fs.appendFileSync(this.eventLogPath, JSON.stringify(event) + '\n'); + } + + /** + * Save the report to a non-ephemeral location + * + * @param destination - Full path to the save location. Must not exist. + */ + save(destination: string) { + this.raiseIfConcluded('nothing to save because workdir has been cleared'); + + if (fs.existsSync(destination)) { + throw new ScoutReportError(`Save destination path '${destination}' already exists`); + } + + // Create the destination directory + this.log.info(`Saving Scout report to ${destination}`); + fs.mkdirSync(destination, { recursive: true }); + + // Copy the workdir data to the destination + fs.cpSync(this.workDir, destination, { recursive: true }); + } + + /** + * Call this when you're done adding information to this report. + * + * ⚠️**This will delete all the contents of the report's working directory** + */ + conclude() { + // Remove the working directory + this.log.info(`Removing Scout report working directory ${this.workDir}`); + fs.rmSync(this.workDir, { recursive: true, force: true }); + + // Mark this report as concluded + this.concluded = true; + this.log.success('Scout report has concluded.'); + } +} + +export * from './event'; +export * from './persistence'; diff --git a/packages/kbn-scout-reporting/src/reporting/report/persistence/component_templates.ts b/packages/kbn-scout-reporting/src/reporting/report/persistence/component_templates.ts new file mode 100644 index 0000000000000..bfc578825b98c --- /dev/null +++ b/packages/kbn-scout-reporting/src/reporting/report/persistence/component_templates.ts @@ -0,0 +1,92 @@ +/* + * 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". + */ + +import { ClusterPutComponentTemplateRequest } from '@elastic/elasticsearch/lib/api/types'; +import { + buildkiteProperties, + reporterProperties, + testRunProperties, + suiteProperties, + testProperties, +} from './mappings'; + +export const buildkiteMappings: ClusterPutComponentTemplateRequest = { + name: 'scout-test-event.mappings.buildkite', + version: 1, + template: { + mappings: { + properties: { + buildkite: { + type: 'object', + properties: buildkiteProperties, + }, + }, + }, + }, +}; + +export const reporterMappings: ClusterPutComponentTemplateRequest = { + name: 'scout-test-event.mappings.reporter', + version: 1, + template: { + mappings: { + properties: { + reporter: { + type: 'object', + properties: reporterProperties, + }, + }, + }, + }, +}; + +export const testRunMappings: ClusterPutComponentTemplateRequest = { + name: 'scout-test-event.mappings.test-run', + version: 1, + template: { + mappings: { + properties: { + test_run: { + type: 'object', + properties: testRunProperties, + }, + }, + }, + }, +}; + +export const suiteMappings: ClusterPutComponentTemplateRequest = { + name: 'scout-test-event.mappings.suite', + version: 1, + template: { + mappings: { + properties: { + suite: { + type: 'object', + properties: suiteProperties, + }, + }, + }, + }, +}; + +export const testMappings: ClusterPutComponentTemplateRequest = { + name: 'scout-test-event.mappings.test', + version: 1, + template: { + mappings: { + properties: { + test: { + type: 'object', + properties: testProperties, + }, + }, + }, + }, +}; diff --git a/packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts b/packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts new file mode 100644 index 0000000000000..cc95e3c4d94d4 --- /dev/null +++ b/packages/kbn-scout-reporting/src/reporting/report/persistence/index.ts @@ -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", 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". + */ + +import fs from 'node:fs'; +import path from 'node:path'; +import readline from 'node:readline'; +import { ToolingLog } from '@kbn/tooling-log'; +import { Client as ESClient } from '@elastic/elasticsearch'; +import { SCOUT_TEST_EVENTS_DATA_STREAM_NAME } from '@kbn/scout-info'; +import { ScoutReportEvent } from '../event'; +import * as componentTemplates from './component_templates'; +import * as indexTemplates from './index_templates'; + +export class ScoutReportDataStream { + private log: ToolingLog; + + constructor(private es: ESClient, log?: ToolingLog) { + this.log = log || new ToolingLog(); + } + + async exists() { + return await this.es.indices.exists({ index: SCOUT_TEST_EVENTS_DATA_STREAM_NAME }); + } + + async initialize() { + await this.setupComponentTemplates(); + await this.setupIndexTemplate(); + + if (await this.exists()) { + return; + } + + this.log.info(`Creating data stream '${SCOUT_TEST_EVENTS_DATA_STREAM_NAME}'`); + await this.es.indices.createDataStream({ + name: SCOUT_TEST_EVENTS_DATA_STREAM_NAME, + }); + } + + async setupComponentTemplates() { + for (const template of [ + componentTemplates.buildkiteMappings, + componentTemplates.reporterMappings, + componentTemplates.testRunMappings, + componentTemplates.suiteMappings, + componentTemplates.testMappings, + ]) { + const templateExists = await this.es.cluster.existsComponentTemplate({ name: template.name }); + if (!templateExists) { + this.log.info(`Creating component template '${template.name}'`); + await this.es.cluster.putComponentTemplate(template); + continue; + } + + // Template exists but might need to be updated + const newTemplateVersion = template.version || 0; + const existingTemplateVersion = + (await this.es.cluster.getComponentTemplate({ name: template.name })).component_templates[0] + .component_template.version || 0; + + if (existingTemplateVersion >= newTemplateVersion) { + this.log.info(`Component template '${template.name} exists and is up to date.`); + continue; + } + + this.log.info( + `Updating component template '${template.name}' (version ${existingTemplateVersion} -> ${newTemplateVersion})` + ); + await this.es.cluster.putComponentTemplate(template); + } + } + + async setupIndexTemplate() { + const template = indexTemplates.testEvents; + const templateExists: boolean = await this.es.indices.existsIndexTemplate({ + name: template.name, + }); + + if (!templateExists) { + this.log.info(`Creating index template '${template.name}'`); + await this.es.indices.putIndexTemplate(template); + return; + } + + // Template exists but might need to be updated + const newTemplateVersion = template.version || 0; + const existingTemplateVersion = + (await this.es.indices.getIndexTemplate({ name: template.name })).index_templates[0] + .index_template.version || 0; + + if (existingTemplateVersion >= newTemplateVersion) { + this.log.info(`Index template '${template.name} exists and is up to date.`); + return; + } + + this.log.info( + `Updating index template '${template.name}' (version ${existingTemplateVersion} -> ${newTemplateVersion})` + ); + await this.es.indices.putIndexTemplate(template); + } + + async addEvent(event: ScoutReportEvent) { + await this.es.index({ index: SCOUT_TEST_EVENTS_DATA_STREAM_NAME, document: event }); + } + + async addEventsFromFile(eventLogPath: string) { + // Make the given event log path absolute + eventLogPath = path.resolve(eventLogPath); + + const events = async function* () { + const lineReader = readline.createInterface({ + input: fs.createReadStream(eventLogPath), + crlfDelay: Infinity, + }); + + for await (const line of lineReader) { + yield line; + } + }; + + this.log.info( + `Uploading events from file ${eventLogPath} to data stream '${SCOUT_TEST_EVENTS_DATA_STREAM_NAME}'` + ); + + const stats = await this.es.helpers.bulk({ + datasource: events(), + onDocument: () => { + return { create: { _index: SCOUT_TEST_EVENTS_DATA_STREAM_NAME } }; + }, + }); + + this.log.info(`Uploaded ${stats.total} events in ${stats.time / 1000}s.`); + + if (stats.failed > 0) { + this.log.warning(`Failed to upload ${stats.failed} events`); + } + } +} diff --git a/packages/kbn-scout-reporting/src/reporting/report/persistence/index_templates.ts b/packages/kbn-scout-reporting/src/reporting/report/persistence/index_templates.ts new file mode 100644 index 0000000000000..3ad0a5809009b --- /dev/null +++ b/packages/kbn-scout-reporting/src/reporting/report/persistence/index_templates.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", 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". + */ + +import { IndicesPutIndexTemplateRequest } from '@elastic/elasticsearch/lib/api/types'; +import { SCOUT_TEST_EVENTS_TEMPLATE_NAME, SCOUT_TEST_EVENTS_INDEX_PATTERN } from '@kbn/scout-info'; +import * as componentTemplates from './component_templates'; + +export const testEvents: IndicesPutIndexTemplateRequest = { + name: SCOUT_TEST_EVENTS_TEMPLATE_NAME, + version: 1, + data_stream: {}, + index_patterns: SCOUT_TEST_EVENTS_INDEX_PATTERN, + composed_of: [ + 'ecs@mappings', + componentTemplates.buildkiteMappings.name, + componentTemplates.reporterMappings.name, + componentTemplates.testRunMappings.name, + componentTemplates.suiteMappings.name, + componentTemplates.testMappings.name, + ], +}; diff --git a/packages/kbn-scout-reporting/src/reporting/report/persistence/mappings.ts b/packages/kbn-scout-reporting/src/reporting/report/persistence/mappings.ts new file mode 100644 index 0000000000000..083b3a87dac3b --- /dev/null +++ b/packages/kbn-scout-reporting/src/reporting/report/persistence/mappings.ts @@ -0,0 +1,172 @@ +/* + * 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". + */ +import { PropertyName, MappingProperty } from '@elastic/elasticsearch/lib/api/types'; + +export const buildkiteProperties: Record = { + branch: { + type: 'keyword', + }, + commit: { + type: 'wildcard', + }, + job_id: { + type: 'wildcard', + }, + message: { + type: 'text', + }, + build: { + type: 'object', + properties: { + id: { + type: 'wildcard', + }, + number: { + type: 'integer', + }, + url: { + type: 'wildcard', + }, + }, + }, + pipeline: { + type: 'object', + properties: { + id: { + type: 'wildcard', + }, + name: { + type: 'text', + }, + slug: { + type: 'wildcard', + }, + }, + }, + agent: { + type: 'object', + properties: { + name: { + type: 'wildcard', + }, + }, + }, + group: { + type: 'object', + properties: { + id: { + type: 'wildcard', + }, + key: { + type: 'wildcard', + }, + label: { + type: 'keyword', + }, + }, + }, + step: { + type: 'object', + properties: { + id: { + type: 'wildcard', + }, + key: { + type: 'wildcard', + }, + label: { + type: 'keyword', + }, + }, + }, + command: { + type: 'wildcard', + fields: { + text: { + type: 'match_only_text', + }, + }, + }, +}; + +export const reporterProperties: Record = { + name: { + type: 'text', + }, + type: { + type: 'keyword', + }, +}; + +export const testRunProperties: Record = { + id: { + type: 'wildcard', + }, + status: { + type: 'keyword', + }, + duration: { + type: 'long', + }, +}; + +export const suiteProperties: Record = { + title: { + type: 'text', + }, + type: { + type: 'keyword', + }, +}; + +export const testProperties: Record = { + id: { + type: 'wildcard', + }, + title: { + type: 'text', + }, + tags: { + type: 'keyword', + }, + annotations: { + type: 'object', + properties: { + type: { + type: 'keyword', + }, + description: { + type: 'text', + }, + }, + }, + expected_status: { + type: 'keyword', + }, + duration: { + type: 'long', + }, + status: { + type: 'keyword', + }, + step: { + type: 'object', + properties: { + title: { + type: 'text', + }, + category: { + type: 'keyword', + }, + duration: { + type: 'long', + }, + }, + }, +}; diff --git a/packages/kbn-scout-reporting/tsconfig.json b/packages/kbn-scout-reporting/tsconfig.json new file mode 100644 index 0000000000000..30b5e3fca4e6c --- /dev/null +++ b/packages/kbn-scout-reporting/tsconfig.json @@ -0,0 +1,24 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/tooling-log", + "@kbn/dev-cli-runner", + "@kbn/dev-cli-errors", + "@kbn/scout-info", + "@kbn/repo-info", + "@kbn/code-owners", + ] +} diff --git a/packages/kbn-scout/index.ts b/packages/kbn-scout/index.ts index 34a906fcf755d..5cb95662f4228 100644 --- a/packages/kbn-scout/index.ts +++ b/packages/kbn-scout/index.ts @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -export { startServersCli, runTestsCli } from './src/cli'; +export * as cli from './src/cli'; export { expect, test, createPlaywrightConfig, createLazyPageObject } from './src/playwright'; export type { ScoutPage, diff --git a/packages/kbn-scout/src/cli/index.ts b/packages/kbn-scout/src/cli/index.ts index f30b384f351d9..c26a255bd0340 100644 --- a/packages/kbn-scout/src/cli/index.ts +++ b/packages/kbn-scout/src/cli/index.ts @@ -6,6 +6,16 @@ * your election, the "Elastic License 2.0", the "GNU Affero General Public * License v3.0 only", or the "Server Side Public License, v 1". */ +import { RunWithCommands } from '@kbn/dev-cli-runner'; +import { cli as reportingCLI } from '@kbn/scout-reporting'; +import { startServer } from './start_server'; +import { runTests } from './run_tests'; -export { runTestsCli } from './run_tests_cli'; -export { startServersCli } from './start_servers_cli'; +export async function run() { + await new RunWithCommands( + { + description: 'Scout CLI', + }, + [startServer, runTests, reportingCLI.initializeReportDatastream, reportingCLI.uploadEvents] + ).execute(); +} diff --git a/packages/kbn-scout/src/cli/run_tests.ts b/packages/kbn-scout/src/cli/run_tests.ts new file mode 100644 index 0000000000000..80a235cc1b721 --- /dev/null +++ b/packages/kbn-scout/src/cli/run_tests.ts @@ -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", 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". + */ + +import { Command } from '@kbn/dev-cli-runner'; +import { initLogsDir } from '@kbn/test'; +import { TEST_FLAG_OPTIONS } from '../playwright/runner'; +import { parseTestFlags, runTests as runTestsFn } from '../playwright/runner'; + +/** + * Start servers and run the tests + */ +export const runTests: Command = { + name: 'run-tests', + description: ` + Run a Scout Playwright config. + + Note: + This also handles server starts. Make sure a Scout test server is not already running before invoking this command. + + Common usage: + node scripts/scout run-tests --stateful --config + node scripts/scout run-tests --serverless=es --headed --config + `, + flags: TEST_FLAG_OPTIONS, + run: async ({ flagsReader, log }) => { + const options = await parseTestFlags(flagsReader); + + if (options.logsDir) { + await initLogsDir(log, options.logsDir); + } + + await runTestsFn(log, options); + }, +}; diff --git a/packages/kbn-scout/src/cli/run_tests_cli.ts b/packages/kbn-scout/src/cli/run_tests_cli.ts deleted file mode 100644 index 913f09a310a63..0000000000000 --- a/packages/kbn-scout/src/cli/run_tests_cli.ts +++ /dev/null @@ -1,39 +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". - */ - -import { run } from '@kbn/dev-cli-runner'; -import { initLogsDir } from '@kbn/test'; -import { TEST_FLAG_OPTIONS, parseTestFlags, runTests } from '../playwright/runner'; - -/** - * Start servers and run the tests - */ -export function runTestsCli() { - run( - async ({ flagsReader, log }) => { - const options = await parseTestFlags(flagsReader); - - if (options.logsDir) { - initLogsDir(log, options.logsDir); - } - - await runTests(log, options); - }, - { - description: `Run Scout UI Tests`, - usage: ` - Usage: - node scripts/scout_test --help - node scripts/scout_test --stateful --config - node scripts/scout_test --serverless=es --headed --config - `, - flags: TEST_FLAG_OPTIONS, - } - ); -} diff --git a/packages/kbn-scout/src/cli/start_servers_cli.ts b/packages/kbn-scout/src/cli/start_server.ts similarity index 59% rename from packages/kbn-scout/src/cli/start_servers_cli.ts rename to packages/kbn-scout/src/cli/start_server.ts index 3006f87f5ba57..ff6f8f164626c 100644 --- a/packages/kbn-scout/src/cli/start_servers_cli.ts +++ b/packages/kbn-scout/src/cli/start_server.ts @@ -7,8 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import { run } from '@kbn/dev-cli-runner'; - +import { Command } from '@kbn/dev-cli-runner'; import { initLogsDir } from '@kbn/test'; import { startServers, parseServerFlags, SERVER_FLAG_OPTIONS } from '../servers'; @@ -16,19 +15,16 @@ import { startServers, parseServerFlags, SERVER_FLAG_OPTIONS } from '../servers' /** * Start servers */ -export function startServersCli() { - run( - async ({ flagsReader: flags, log }) => { - const options = parseServerFlags(flags); - - if (options.logsDir) { - initLogsDir(log, options.logsDir); - } +export const startServer: Command = { + name: 'start-server', + description: 'Start Elasticsearch & Kibana for testing purposes', + flags: SERVER_FLAG_OPTIONS, + run: async ({ flagsReader, log }) => { + const options = parseServerFlags(flagsReader); - await startServers(log, options); - }, - { - flags: SERVER_FLAG_OPTIONS, + if (options.logsDir) { + await initLogsDir(log, options.logsDir); } - ); -} + await startServers(log, options); + }, +}; diff --git a/packages/kbn-scout/src/config/utils.ts b/packages/kbn-scout/src/config/utils.ts index 61bdc1b7b81ac..d15e0e094b2db 100644 --- a/packages/kbn-scout/src/config/utils.ts +++ b/packages/kbn-scout/src/config/utils.ts @@ -12,7 +12,7 @@ import getopts from 'getopts'; import path from 'path'; import { ToolingLog } from '@kbn/tooling-log'; import { ServerlessProjectType } from '@kbn/es'; -import { REPO_ROOT } from '@kbn/repo-info'; +import { SCOUT_SERVERS_ROOT } from '@kbn/scout-info'; import { CliSupportedServerModes, ScoutServerConfig } from '../types'; import { getConfigFilePath } from './get_config_file'; import { loadConfig } from './loader/config_load'; @@ -30,15 +30,14 @@ export const formatCurrentDate = () => { }; const saveTestServersConfigOnDisk = (testServersConfig: ScoutServerConfig, log: ToolingLog) => { - const configDirPath = path.resolve(REPO_ROOT, '.scout', 'servers'); - const configFilePath = path.join(configDirPath, `local.json`); + const configFilePath = path.join(SCOUT_SERVERS_ROOT, `local.json`); try { const jsonData = JSON.stringify(testServersConfig, null, 2); - if (!Fs.existsSync(configDirPath)) { - log.debug(`scout: creating configuration directory: ${configDirPath}`); - Fs.mkdirSync(configDirPath, { recursive: true }); + if (!Fs.existsSync(SCOUT_SERVERS_ROOT)) { + log.debug(`scout: creating configuration directory: ${SCOUT_SERVERS_ROOT}`); + Fs.mkdirSync(SCOUT_SERVERS_ROOT, { recursive: true }); } Fs.writeFileSync(configFilePath, jsonData, 'utf-8'); diff --git a/packages/kbn-scout/src/playwright/config/index.ts b/packages/kbn-scout/src/playwright/config/index.ts index 62f5261c08e25..cb1e371cb43e7 100644 --- a/packages/kbn-scout/src/playwright/config/index.ts +++ b/packages/kbn-scout/src/playwright/config/index.ts @@ -8,8 +8,8 @@ */ import { defineConfig, PlaywrightTestConfig, devices } from '@playwright/test'; -import * as Path from 'path'; -import { REPO_ROOT } from '@kbn/repo-info'; +import { scoutPlaywrightReporter } from '@kbn/scout-reporting'; +import { SCOUT_SERVERS_ROOT } from '@kbn/scout-info'; import { ScoutPlaywrightOptions, ScoutTestOptions, VALID_CONFIG_MARKER } from '../types'; export function createPlaywrightConfig(options: ScoutPlaywrightOptions): PlaywrightTestConfig { @@ -27,10 +27,11 @@ export function createPlaywrightConfig(options: ScoutPlaywrightOptions): Playwri reporter: [ ['html', { outputFolder: './output/reports', open: 'never' }], // HTML report configuration ['json', { outputFile: './output/reports/test-results.json' }], // JSON report + scoutPlaywrightReporter({ name: 'scout-playwright' }), // Scout report ], /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { - serversConfigDir: Path.resolve(REPO_ROOT, '.scout', 'servers'), + serversConfigDir: SCOUT_SERVERS_ROOT, [VALID_CONFIG_MARKER]: true, /* Base URL to use in actions like `await page.goto('/')`. */ // baseURL: 'http://127.0.0.1:3000', diff --git a/packages/kbn-scout/src/types/config.d.ts b/packages/kbn-scout/src/types/config.d.ts index 14cd27b47fde2..2f0c3a764d65f 100644 --- a/packages/kbn-scout/src/types/config.d.ts +++ b/packages/kbn-scout/src/types/config.d.ts @@ -29,6 +29,6 @@ export interface ScoutLoaderConfig { buildArgs?: string[]; sourceArgs?: string[]; serverArgs: string[]; - useDedicatedTastRunner?: boolean; + useDedicatedTestRunner?: boolean; }; } diff --git a/packages/kbn-scout/tsconfig.json b/packages/kbn-scout/tsconfig.json index 35d74c6437618..4be38ce4c80fd 100644 --- a/packages/kbn-scout/tsconfig.json +++ b/packages/kbn-scout/tsconfig.json @@ -27,5 +27,7 @@ "@kbn/mock-idp-utils", "@kbn/test-suites-xpack", "@kbn/test-subj-selector", + "@kbn/scout-info", + "@kbn/scout-reporting" ] } diff --git a/packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts b/packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts index c87839dfcf481..ac7db945e9492 100644 --- a/packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts +++ b/packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts @@ -25,6 +25,7 @@ export interface Suite extends Runnable { suites: Suite[]; tests: Test[]; title: string; + fullTitle(): string; file: string; parent?: Suite; eachTest: (cb: (test: Test) => void) => void; @@ -39,6 +40,7 @@ export interface Test extends Runnable { parent?: Suite; isPassed: () => boolean; pending?: boolean; + err?: Error; } export interface Runnable { @@ -51,10 +53,22 @@ export interface Runnable { parent?: Suite; } +interface Stats { + suites: number; + tests: number; + passes: number; + pending: number; + failures: number; + start?: Date; + end?: Date; + duration?: number; +} + export interface Runner extends EventEmitter { abort(): void; failures: any[]; uncaught: (error: Error) => void; + stats?: Stats; } export interface Mocha { diff --git a/packages/kbn-test/src/functional_test_runner/lib/config/schema.ts b/packages/kbn-test/src/functional_test_runner/lib/config/schema.ts index bb240a0416479..1039b53064cfb 100644 --- a/packages/kbn-test/src/functional_test_runner/lib/config/schema.ts +++ b/packages/kbn-test/src/functional_test_runner/lib/config/schema.ts @@ -178,6 +178,12 @@ export const schema = Joi.object() }) .default(), + scoutReporter: Joi.object() + .keys({ + enabled: Joi.boolean().default(process.env.ENABLE_SCOUT_REPORTER || false), + }) + .default(), + users: Joi.object().pattern( ID_PATTERN, Joi.object() diff --git a/packages/kbn-test/src/functional_test_runner/lib/mocha/reporter/reporter.js b/packages/kbn-test/src/functional_test_runner/lib/mocha/reporter/reporter.js index 42fbc6a4f7386..0ea1792266274 100644 --- a/packages/kbn-test/src/functional_test_runner/lib/mocha/reporter/reporter.js +++ b/packages/kbn-test/src/functional_test_runner/lib/mocha/reporter/reporter.js @@ -20,6 +20,7 @@ import * as symbols from './symbols'; import { ms } from './ms'; import { writeEpilogue } from './write_epilogue'; import { setupCiStatsFtrTestGroupReporter } from './ci_stats_ftr_reporter'; +import { ScoutFTRReporter } from './scout_ftr_reporter'; export function MochaReporterProvider({ getService }) { const log = getService('log'); @@ -65,6 +66,10 @@ export function MochaReporterProvider({ getService }) { }); } } + + if (config.get('scoutReporter.enabled')) { + new ScoutFTRReporter(runner); + } } onStart = () => { diff --git a/packages/kbn-test/src/functional_test_runner/lib/mocha/reporter/scout_ftr_reporter.ts b/packages/kbn-test/src/functional_test_runner/lib/mocha/reporter/scout_ftr_reporter.ts new file mode 100644 index 0000000000000..4ffef48ec6443 --- /dev/null +++ b/packages/kbn-test/src/functional_test_runner/lib/mocha/reporter/scout_ftr_reporter.ts @@ -0,0 +1,203 @@ +/* + * 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". + */ + +import path from 'node:path'; +import { ToolingLog } from '@kbn/tooling-log'; +import { SCOUT_REPORT_OUTPUT_ROOT } from '@kbn/scout-info'; +import { REPO_ROOT } from '@kbn/repo-info'; +import { + generateTestRunId, + getTestIDForTitle, + ScoutReport, + ScoutReportEventAction, + datasources, +} from '@kbn/scout-reporting'; +import { getCodeOwnersForFile, getPathsWithOwnersReversed, PathWithOwners } from '@kbn/code-owners'; +import { Runner, Test } from '../../../fake_mocha_types'; + +/** + * Configuration options for the Scout Mocha reporter + */ +export interface ScoutFTRReporterOptions { + name?: string; + outputPath?: string; +} + +/** + * Scout Mocha reporter + */ +export class ScoutFTRReporter { + readonly log: ToolingLog; + readonly name: string; + readonly runId: string; + private report: ScoutReport; + private readonly pathsWithOwners: PathWithOwners[]; + + constructor(private runner: Runner, private reporterOptions: ScoutFTRReporterOptions = {}) { + this.log = new ToolingLog({ + level: 'info', + writeTo: process.stdout, + }); + + this.name = this.reporterOptions.name || 'ftr'; + this.runId = generateTestRunId(); + this.log.info(`Scout test run ID: ${this.runId}`); + + this.report = new ScoutReport(this.log); + this.pathsWithOwners = getPathsWithOwnersReversed(); + + // Register event listeners + for (const [eventName, listener] of Object.entries({ + start: this.onRunStart, + end: this.onRunEnd, + test: this.onTestStart, + 'test end': this.onTestEnd, + })) { + runner.on(eventName, listener); + } + } + + private getFileOwners(filePath: string): string[] { + const concatenatedOwners = getCodeOwnersForFile(filePath, this.pathsWithOwners); + + if (concatenatedOwners === undefined) { + return []; + } + + return concatenatedOwners + .replace(/#.+$/, '') + .split(',') + .filter((value) => value.length > 0); + } + + /** + * Root path of this reporter's output + */ + public get reportRootPath(): string { + const outputPath = this.reporterOptions.outputPath || SCOUT_REPORT_OUTPUT_ROOT; + return path.join(outputPath, `scout-ftr-${this.runId}`); + } + + onRunStart = () => { + /** + * Root suite execution began (all files have been parsed and hooks/tests are ready for execution) + */ + this.report.logEvent({ + ...datasources.environmentMetadata, + reporter: { + name: this.name, + type: 'ftr', + }, + test_run: { + id: this.runId, + }, + event: { + action: ScoutReportEventAction.RUN_BEGIN, + }, + }); + }; + + onTestStart = (test: Test) => { + /** + * Test execution started + */ + this.report.logEvent({ + ...datasources.environmentMetadata, + reporter: { + name: this.name, + type: 'ftr', + }, + test_run: { + id: this.runId, + }, + suite: { + title: test.parent?.fullTitle() || 'unknown', + type: test.parent?.root ? 'root' : 'suite', + }, + test: { + id: getTestIDForTitle(test.fullTitle()), + title: test.title, + tags: [], + }, + event: { + action: ScoutReportEventAction.TEST_BEGIN, + }, + file: { + path: test.file ? path.relative(REPO_ROOT, test.file) : 'unknown', + owner: test.file ? this.getFileOwners(path.relative(REPO_ROOT, test.file)) : 'unknown', + }, + }); + }; + + onTestEnd = (test: Test) => { + /** + * Test execution ended + */ + this.report.logEvent({ + ...datasources.environmentMetadata, + reporter: { + name: this.name, + type: 'ftr', + }, + test_run: { + id: this.runId, + }, + suite: { + title: test.parent?.fullTitle() || 'unknown', + type: test.parent?.root ? 'root' : 'suite', + }, + test: { + id: getTestIDForTitle(test.fullTitle()), + title: test.title, + tags: [], + status: test.isPending() ? 'skipped' : test.isPassed() ? 'passed' : 'failed', + duration: test.duration, + }, + event: { + action: ScoutReportEventAction.TEST_END, + error: { + message: test.err?.message, + stack_trace: test.err?.stack, + }, + }, + file: { + path: test.file ? path.relative(REPO_ROOT, test.file) : 'unknown', + owner: test.file ? this.getFileOwners(path.relative(REPO_ROOT, test.file)) : 'unknown', + }, + }); + }; + + onRunEnd = () => { + /** + * Root suite execution has ended + */ + this.report.logEvent({ + ...datasources.environmentMetadata, + reporter: { + name: this.name, + type: 'ftr', + }, + test_run: { + id: this.runId, + status: this.runner.stats?.failures === 0 ? 'passed' : 'failed', + duration: this.runner.stats?.duration || 0, + }, + event: { + action: ScoutReportEventAction.RUN_END, + }, + }); + + // Save & conclude the report + try { + this.report.save(this.reportRootPath); + } finally { + this.report.conclude(); + } + }; +} diff --git a/packages/kbn-test/src/jest/resolver.js b/packages/kbn-test/src/jest/resolver.js index a3303ecf17e45..8698e72a2e917 100644 --- a/packages/kbn-test/src/jest/resolver.js +++ b/packages/kbn-test/src/jest/resolver.js @@ -30,6 +30,8 @@ const STATIC_FILE_EXT = .split('|') .map((e) => `.${e}`); +const IS_REACT_18 = process.env.REACT_18 === 'true'; + /** * @param {string} request * @param {import('resolve').SyncOpts} options @@ -69,6 +71,18 @@ module.exports = (request, options) => { return APM_AGENT_MOCK; } + // routes tests to the react-18 alias package + if (IS_REACT_18) { + // routes tests to the react-18 alias package + if (/^react?(\/[\s\S]*)?$/.test(request)) { + return module.exports(request.replace('react', 'react-18'), options); + } + + if (/^react-dom?(\/[\s\S]*)?$/.test(request)) { + return module.exports(request.replace('react-dom', 'react-dom-18'), options); + } + } + const reqExt = Path.extname(request); if (reqExt) { const reqBasename = Path.basename(request, reqExt); diff --git a/packages/kbn-test/src/jest/setup/react_testing_library.js b/packages/kbn-test/src/jest/setup/react_testing_library.js index 758a546a511bb..d8994fdbe00e4 100644 --- a/packages/kbn-test/src/jest/setup/react_testing_library.js +++ b/packages/kbn-test/src/jest/setup/react_testing_library.js @@ -16,6 +16,8 @@ import '@testing-library/jest-dom'; * But since newer versions it has stabilised itself */ import { configure } from '@testing-library/react'; +import { version as REACT_VERSION } from 'react'; +import { muteLegacyRootWarning } from '@kbn/react-mute-legacy-root-warning'; // instead of default 'data-testid', use kibana's 'data-test-subj' configure({ testIdAttribute: 'data-test-subj', asyncUtilTimeout: 4500 }); @@ -52,3 +54,14 @@ console.error = (...args) => { originalConsoleError(...args); }; + +/** + * After we upgrade to React 18, we will see a warning in the console that we are using the legacy ReactDOM.render API. + * This warning is expected as we are in the process of migrating to the new createRoot API. + * However, it is very noisy and we want to mute it for now. + * Tracking issue to clean this up https://github.com/elastic/kibana/issues/199100 + */ +if (REACT_VERSION.startsWith('18.')) { + console.warn('Running with React@18 and muting the legacy ReactDOM.render warning'); + muteLegacyRootWarning(); +} diff --git a/packages/kbn-test/tsconfig.json b/packages/kbn-test/tsconfig.json index 00cc594809e36..b4cd88e05db5a 100644 --- a/packages/kbn-test/tsconfig.json +++ b/packages/kbn-test/tsconfig.json @@ -37,5 +37,8 @@ "@kbn/core-saved-objects-api-server", "@kbn/mock-idp-utils", "@kbn/code-owners", + "@kbn/scout-reporting", + "@kbn/scout-info", + "@kbn/react-mute-legacy-root-warning", ] } diff --git a/packages/kbn-ui-shared-deps-npm/BUILD.bazel b/packages/kbn-ui-shared-deps-npm/BUILD.bazel index ad3f3474f1b4e..cac4840335549 100644 --- a/packages/kbn-ui-shared-deps-npm/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-npm/BUILD.bazel @@ -54,10 +54,12 @@ RUNTIME_DEPS = [ "@npm//lodash", "@npm//moment-timezone", "@npm//react-dom", + "@npm//react-dom-18", "@npm//react-router-dom", "@npm//react-router-dom-v5-compat", "@npm//react-router", "@npm//react", + "@npm//react-18", "@npm//rxjs", "@npm//styled-components", "@npm//tslib", @@ -99,6 +101,7 @@ webpack_cli( "//conditions:default": { "NODE_ENV": "development", "NODE_OPTIONS": "--openssl-legacy-provider", + "REACT_18": "$(REACT_18)", }, }) ) diff --git a/packages/kbn-ui-shared-deps-npm/webpack.config.js b/packages/kbn-ui-shared-deps-npm/webpack.config.js index 384071e0b9168..6fe4c6849f402 100644 --- a/packages/kbn-ui-shared-deps-npm/webpack.config.js +++ b/packages/kbn-ui-shared-deps-npm/webpack.config.js @@ -142,8 +142,10 @@ module.exports = (_, argv) => { moment: MOMENT_SRC, // NOTE: Used to include react profiling on bundles // https://gist.github.com/bvaughn/25e6233aeb1b4f0cdb8d8366e54a3977#webpack-4 - 'react-dom$': 'react-dom/profiling', + 'react-dom$': + process.env.REACT_18 === 'true' ? 'react-dom-18/profiling' : 'react-dom/profiling', 'scheduler/tracing': 'scheduler/tracing-profiling', + react: process.env.REACT_18 === 'true' ? 'react-18' : 'react', }, extensions: ['.js', '.ts'], }, diff --git a/packages/kbn-ui-shared-deps-src/BUILD.bazel b/packages/kbn-ui-shared-deps-src/BUILD.bazel index 80613093c093b..e8ff7302faa67 100644 --- a/packages/kbn-ui-shared-deps-src/BUILD.bazel +++ b/packages/kbn-ui-shared-deps-src/BUILD.bazel @@ -57,6 +57,7 @@ webpack_cli( "//conditions:default": { "NODE_ENV": "development", "NODE_OPTIONS": "--openssl-legacy-provider", + "REACT_18": "$(REACT_18)", }, }), visibility = ["//visibility:public"], diff --git a/packages/kbn-ui-shared-deps-src/webpack.config.js b/packages/kbn-ui-shared-deps-src/webpack.config.js index c84c8928d0864..26eac38c3060c 100644 --- a/packages/kbn-ui-shared-deps-src/webpack.config.js +++ b/packages/kbn-ui-shared-deps-src/webpack.config.js @@ -112,8 +112,10 @@ module.exports = { moment: MOMENT_SRC, // NOTE: Used to include react profiling on bundles // https://gist.github.com/bvaughn/25e6233aeb1b4f0cdb8d8366e54a3977#webpack-4 - 'react-dom$': 'react-dom/profiling', + 'react-dom$': + process.env.REACT_18 === 'true' ? 'react-dom-18/profiling' : 'react-dom/profiling', 'scheduler/tracing': 'scheduler/tracing-profiling', + react: process.env.REACT_18 === 'true' ? 'react-18' : 'react', }, }, diff --git a/packages/kbn-user-profile-components/src/services.tsx b/packages/kbn-user-profile-components/src/services.tsx index 7cf7a2d66c82f..f59caee26a034 100644 --- a/packages/kbn-user-profile-components/src/services.tsx +++ b/packages/kbn-user-profile-components/src/services.tsx @@ -13,6 +13,7 @@ import React, { useContext } from 'react'; import type { I18nStart } from '@kbn/core-i18n-browser'; import type { NotificationsStart, ToastOptions } from '@kbn/core-notifications-browser'; import type { ThemeServiceStart } from '@kbn/core-theme-browser'; +import type { UserProfileService } from '@kbn/core-user-profile-browser'; import type { toMountPoint } from '@kbn/react-kibana-mount'; import type { UserProfileAPIClient } from './types'; @@ -47,6 +48,7 @@ export interface UserProfilesKibanaDependencies { core: { notifications: NotificationsStart; theme: ThemeServiceStart; + userProfile: UserProfileService; i18n: I18nStart; }; security: { @@ -70,7 +72,7 @@ export const UserProfilesKibanaProvider: FC { const { - core: { notifications, i18n, theme }, + core: { notifications, ...startServices }, security: { userProfiles: userProfileApiClient }, toMountPoint: toMountPointUtility, } = services; @@ -86,7 +88,7 @@ export const UserProfilesKibanaProvider: FC { const child1Api = { unsavedChanges: new BehaviorSubject(undefined), - resetUnsavedChanges: () => undefined, + resetUnsavedChanges: () => true, }; const child2Api = { unsavedChanges: new BehaviorSubject(undefined), - resetUnsavedChanges: () => undefined, + resetUnsavedChanges: () => true, }; const children$ = new BehaviorSubject<{ [key: string]: unknown }>({}); const onFireMock = jest.fn(); @@ -99,7 +99,7 @@ describe('childrenUnsavedChanges$', () => { ...children$.value, child3: { unsavedChanges: new BehaviorSubject({ key1: 'modified value' }), - resetUnsavedChanges: () => undefined, + resetUnsavedChanges: () => true, }, }); diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts b/packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts index 70085b88e1a8b..fb767fb11cffd 100644 --- a/packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts +++ b/packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts @@ -95,10 +95,19 @@ export const initializeUnsavedChanges = ( unsavedChanges, resetUnsavedChanges: () => { const lastSaved = lastSavedState$.getValue(); + + // Do not reset to undefined or empty last saved state + // Temporary fix for https://github.com/elastic/kibana/issues/201627 + // TODO remove when architecture fix resolves issue. + if (comparatorKeys.length && (!lastSaved || Object.keys(lastSaved).length === 0)) { + return false; + } + for (const key of comparatorKeys) { const setter = comparators[key][1]; // setter function is the 1st element of the tuple setter(lastSaved?.[key] as RuntimeState[typeof key]); } + return true; }, snapshotRuntimeState, } as PublishesUnsavedChanges & HasSnapshottableState, diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts b/packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts index 90a01d5bc736e..e9b4adbec5384 100644 --- a/packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts +++ b/packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts @@ -11,7 +11,7 @@ import { PublishingSubject } from '../publishing_subject'; export interface PublishesUnsavedChanges { unsavedChanges: PublishingSubject | undefined>; - resetUnsavedChanges: () => void; + resetUnsavedChanges: () => boolean; } export const apiPublishesUnsavedChanges = (api: unknown): api is PublishesUnsavedChanges => { diff --git a/renovate.json b/renovate.json index 69a390b5b1127..d36be57301abb 100644 --- a/renovate.json +++ b/renovate.json @@ -1512,6 +1512,241 @@ "minimumReleaseAge": "7 days", "enabled": true }, + { + "groupName": "dnd-kit", + "matchDepNames": [ + "@dnd-kit/core", + "@dnd-kit/sortable", + "@dnd-kit/utilities" + ], + "reviewers": [ + "team:kibana-presentation" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "Team:Presentation", + "backport:all-open", + "release_note:skip" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, + { + "groupName": "@elastic/ems client", + "matchDepNames": [ + "@elastic/ems-client" + ], + "reviewers": [ + "team:kibana-presentation" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "Team:Presentation", + "backport:all-open", + "release_note:skip" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, + { + "groupName": "loaders.gl", + "matchDepNames": [ + "@loaders.gl/core", + "@loaders.gl/json", + "@loaders.gl/shapefile" + ], + "reviewers": [ + "team:kibana-presentation" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "Team:Presentation", + "backport:all-open", + "release_note:skip" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, + { + "groupName": "mapbox and maplibre", + "matchDepNames": [ + "@mapbox/geojson-rewind", + "@mapbox/mapbox-gl-draw", + "@mapbox/mapbox-gl-rtl-text", + "@mapbox/mapbox-gl-supported", + "mapbox-gl-draw-rectangle-mode", + "maplibre-gl" + ], + "reviewers": [ + "team:kibana-presentation" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "Team:Presentation", + "backport:all-open", + "release_note:skip" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, + { + "groupName": "misc kibana-presentation dependencies", + "matchDepNames": [ + "jsts", + "pbf", + "@types/flot", + "@types/pbf" + ], + "reviewers": [ + "team:kibana-presentation" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "Team:Presentation", + "backport:all-open", + "release_note:skip" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, + { + "groupName": "kibana-presentation react dependencies", + "matchDepNames": [ + "react-dropzone", + "react-grid-layout", + "react-recompose", + "react-shortcuts", + "redux-thunks", + "@types/react-grid-layout", + "@types/react-recompose" + ], + "reviewers": [ + "team:kibana-presentation" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "Team:Presentation", + "backport:all-open", + "release_note:skip" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, + { + "groupName": "kibana-presentation misc maps dependencies", + "matchDepNames": [ + "bitmap-sdf", + "canvg", + "wellknown" + ], + "reviewers": [ + "team:kibana-presentation" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "Team:Presentation", + "backport:all-open", + "release_note:skip" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, + { + "groupName": "kibana-presentation misc canvas dependencies", + "matchDepNames": [ + "expose-loader", + "html-loader", + "jsondiffpatch", + "null-loader", + "object-path-immutable", + "postcss-prefix-selector", + "safe-squel", + "string-replace-loader" + ], + "reviewers": [ + "team:kibana-presentation" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "Team:Presentation", + "backport:all-open", + "release_note:skip" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, + { + "groupName": "reporting dependencies", + "matchDepNames": [ + "@types/extract-zip", + "@types/opn", + "@types/pdfmake", + "extract-zip", + "opn", + "pdfjs-dist", + "pdfmake", + "puppeteer" + ], + "reviewers": [ + "team:kibana-presentation", + "team:response-ops" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "Team:Reporting Services", + "Team:ResponseOps", + "backport:all-open", + "release_note:skip" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, + { + "groupName": "turf", + "matchDepNames": [ + "@turf/along", + "@turf/area", + "@turf/bbox", + "@turf/bbox-polygon", + "@turf/boolean-contains", + "@turf/center-of-mass", + "@turf/circle", + "@turf/distance", + "@turf/helpers", + "@turf/length" + ], + "reviewers": [ + "team:kibana-presentation" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "Team:Presentation", + "backport:all-open", + "release_note:skip" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, { "groupName": "exit-hook", "matchDepNames": [ @@ -2207,8 +2442,7 @@ "jsonwebtoken" ], "reviewers": [ - "team:response-ops", - "team:kibana-core" + "team:response-ops" ], "matchBaseBranches": [ "main" @@ -2281,7 +2515,8 @@ { "groupName": "AlertingEmails", "matchDepNames": [ - "nodemailer" + "nodemailer", + "@types/nodemailer" ], "reviewers": [ "team:response-ops" @@ -2291,7 +2526,61 @@ ], "labels": [ "release_note:skip", - "backport:prev-minor" + "backport:all-open" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, + { + "groupName": "Response Ops HTTPS dependencies", + "matchDepNames": [ + "@types/http-proxy", + "get-port", + "google-auth-library", + "http-proxy", + "http-proxy-agent", + "https-proxy-agent", + "proxy" + ], + "reviewers": [ + "team:response-ops" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "release_note:skip", + "backport:all-open" + ], + "minimumReleaseAge": "7 days", + "enabled": true + }, + { + "groupName": "Response Ops misc dependencies", + "matchDepNames": [ + "@types/stats-lite", + "@types/textarea-caret", + "email-addresses", + "json-stringify-safe", + "murmurhash", + "mdast-util-to-hast", + "pretty-ms", + "p-settle", + "p-reflect", + "remark-stringify", + "stats-lite", + "textarea-caret", + "type-fest" + ], + "reviewers": [ + "team:response-ops" + ], + "matchBaseBranches": [ + "main" + ], + "labels": [ + "release_note:skip", + "backport:all-open" ], "minimumReleaseAge": "7 days", "enabled": true @@ -2454,4 +2743,4 @@ "datasourceTemplate": "docker" } ] -} +} \ No newline at end of file diff --git a/scripts/scout_test.js b/scripts/scout.js old mode 100644 new mode 100755 similarity index 89% rename from scripts/scout_test.js rename to scripts/scout.js index 8b14ebd33da19..dce9e52c870f2 --- a/scripts/scout_test.js +++ b/scripts/scout.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the "Elastic License @@ -8,4 +10,4 @@ */ require('../src/setup_node_env'); -require('@kbn/scout').runTestsCli(); +void require('@kbn/scout').cli.run(); diff --git a/packages/default-nav/ml/README.md b/src/platform/packages/private/default-nav/ml/README.md similarity index 100% rename from packages/default-nav/ml/README.md rename to src/platform/packages/private/default-nav/ml/README.md diff --git a/packages/default-nav/ml/default_navigation.ts b/src/platform/packages/private/default-nav/ml/default_navigation.ts similarity index 100% rename from packages/default-nav/ml/default_navigation.ts rename to src/platform/packages/private/default-nav/ml/default_navigation.ts diff --git a/packages/default-nav/ml/index.ts b/src/platform/packages/private/default-nav/ml/index.ts similarity index 100% rename from packages/default-nav/ml/index.ts rename to src/platform/packages/private/default-nav/ml/index.ts diff --git a/packages/default-nav/ml/jest.config.js b/src/platform/packages/private/default-nav/ml/jest.config.js similarity index 83% rename from packages/default-nav/ml/jest.config.js rename to src/platform/packages/private/default-nav/ml/jest.config.js index 4440d60a37451..66d4438733b5c 100644 --- a/packages/default-nav/ml/jest.config.js +++ b/src/platform/packages/private/default-nav/ml/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/default-nav/ml'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/private/default-nav/ml'], }; diff --git a/packages/default-nav/ml/kibana.jsonc b/src/platform/packages/private/default-nav/ml/kibana.jsonc similarity index 100% rename from packages/default-nav/ml/kibana.jsonc rename to src/platform/packages/private/default-nav/ml/kibana.jsonc diff --git a/packages/default-nav/ml/package.json b/src/platform/packages/private/default-nav/ml/package.json similarity index 100% rename from packages/default-nav/ml/package.json rename to src/platform/packages/private/default-nav/ml/package.json diff --git a/packages/default-nav/ml/tsconfig.json b/src/platform/packages/private/default-nav/ml/tsconfig.json similarity index 85% rename from packages/default-nav/ml/tsconfig.json rename to src/platform/packages/private/default-nav/ml/tsconfig.json index d1c9e532620f0..9a69944d1b465 100644 --- a/packages/default-nav/ml/tsconfig.json +++ b/src/platform/packages/private/default-nav/ml/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/deeplinks/ml/README.md b/src/platform/packages/shared/deeplinks/ml/README.md similarity index 100% rename from packages/deeplinks/ml/README.md rename to src/platform/packages/shared/deeplinks/ml/README.md diff --git a/packages/deeplinks/ml/deep_links.ts b/src/platform/packages/shared/deeplinks/ml/deep_links.ts similarity index 100% rename from packages/deeplinks/ml/deep_links.ts rename to src/platform/packages/shared/deeplinks/ml/deep_links.ts diff --git a/packages/deeplinks/ml/index.ts b/src/platform/packages/shared/deeplinks/ml/index.ts similarity index 100% rename from packages/deeplinks/ml/index.ts rename to src/platform/packages/shared/deeplinks/ml/index.ts diff --git a/packages/deeplinks/ml/jest.config.js b/src/platform/packages/shared/deeplinks/ml/jest.config.js similarity index 83% rename from packages/deeplinks/ml/jest.config.js rename to src/platform/packages/shared/deeplinks/ml/jest.config.js index fda145857e304..e5ba4c7150c9e 100644 --- a/packages/deeplinks/ml/jest.config.js +++ b/src/platform/packages/shared/deeplinks/ml/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/deeplinks/ml'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/deeplinks/ml'], }; diff --git a/packages/deeplinks/ml/kibana.jsonc b/src/platform/packages/shared/deeplinks/ml/kibana.jsonc similarity index 100% rename from packages/deeplinks/ml/kibana.jsonc rename to src/platform/packages/shared/deeplinks/ml/kibana.jsonc diff --git a/packages/deeplinks/ml/package.json b/src/platform/packages/shared/deeplinks/ml/package.json similarity index 100% rename from packages/deeplinks/ml/package.json rename to src/platform/packages/shared/deeplinks/ml/package.json diff --git a/x-pack/packages/ml/is_defined/tsconfig.json b/src/platform/packages/shared/deeplinks/ml/tsconfig.json similarity index 81% rename from x-pack/packages/ml/is_defined/tsconfig.json rename to src/platform/packages/shared/deeplinks/ml/tsconfig.json index b05325b824a67..18d16ae2e8837 100644 --- a/x-pack/packages/ml/is_defined/tsconfig.json +++ b/src/platform/packages/shared/deeplinks/ml/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-osquery-io-ts-types/README.md b/src/platform/packages/shared/kbn-osquery-io-ts-types/README.md similarity index 100% rename from packages/kbn-osquery-io-ts-types/README.md rename to src/platform/packages/shared/kbn-osquery-io-ts-types/README.md diff --git a/packages/kbn-osquery-io-ts-types/index.ts b/src/platform/packages/shared/kbn-osquery-io-ts-types/index.ts similarity index 100% rename from packages/kbn-osquery-io-ts-types/index.ts rename to src/platform/packages/shared/kbn-osquery-io-ts-types/index.ts diff --git a/src/platform/packages/shared/kbn-osquery-io-ts-types/jest.config.js b/src/platform/packages/shared/kbn-osquery-io-ts-types/jest.config.js new file mode 100644 index 0000000000000..c7af15d3dfcf4 --- /dev/null +++ b/src/platform/packages/shared/kbn-osquery-io-ts-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/jest_node', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-osquery-io-ts-types'], +}; diff --git a/packages/kbn-osquery-io-ts-types/kibana.jsonc b/src/platform/packages/shared/kbn-osquery-io-ts-types/kibana.jsonc similarity index 100% rename from packages/kbn-osquery-io-ts-types/kibana.jsonc rename to src/platform/packages/shared/kbn-osquery-io-ts-types/kibana.jsonc diff --git a/packages/kbn-osquery-io-ts-types/package.json b/src/platform/packages/shared/kbn-osquery-io-ts-types/package.json similarity index 100% rename from packages/kbn-osquery-io-ts-types/package.json rename to src/platform/packages/shared/kbn-osquery-io-ts-types/package.json diff --git a/packages/kbn-osquery-io-ts-types/src/live_query/index.ts b/src/platform/packages/shared/kbn-osquery-io-ts-types/src/live_query/index.ts similarity index 100% rename from packages/kbn-osquery-io-ts-types/src/live_query/index.ts rename to src/platform/packages/shared/kbn-osquery-io-ts-types/src/live_query/index.ts diff --git a/src/platform/packages/shared/kbn-osquery-io-ts-types/tsconfig.json b/src/platform/packages/shared/kbn-osquery-io-ts-types/tsconfig.json new file mode 100644 index 0000000000000..98950df02fde7 --- /dev/null +++ b/src/platform/packages/shared/kbn-osquery-io-ts-types/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + ], + "exclude": [ + "target/**/*", + ], + "kbn_references": [ + "@kbn/io-ts-utils", + ] +} diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/async_search.submit.json b/src/plugins/console/server/lib/spec_definitions/json/generated/async_search.submit.json index 3da69d695ef76..b3a72fc3463d7 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/async_search.submit.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/async_search.submit.json @@ -11,11 +11,6 @@ "0" ], "keep_on_completion": "__flag__", - "keep_alive": [ - "5d", - "-1", - "0" - ], "allow_no_indices": "__flag__", "allow_partial_search_results": "__flag__", "analyzer": "", @@ -43,9 +38,6 @@ "lenient": "__flag__", "max_concurrent_shard_requests": "", "preference": "", - "pre_filter_shard_size": [ - "1" - ], "request_cache": "__flag__", "routing": "", "search_type": [ diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json index f7363a98be8f6..313f86b340244 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json @@ -13,7 +13,12 @@ "hidden", "none" ], - "ignore_unavailable": "__flag__" + "ignore_unavailable": "__flag__", + "master_timeout": [ + "30s", + "-1", + "0" + ] }, "methods": [ "HEAD" diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json index df62ef8714edb..236cd8b363c7e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json @@ -13,7 +13,12 @@ "hidden", "none" ], - "ignore_unavailable": "__flag__" + "ignore_unavailable": "__flag__", + "master_timeout": [ + "30s", + "-1", + "0" + ] }, "methods": [ "GET" diff --git a/src/plugins/controls/public/controls/mocks/control_mocks.ts b/src/plugins/controls/public/controls/mocks/control_mocks.ts index e71ecb12e030b..128e89c5c6028 100644 --- a/src/plugins/controls/public/controls/mocks/control_mocks.ts +++ b/src/plugins/controls/public/controls/mocks/control_mocks.ts @@ -43,7 +43,9 @@ export const getMockedBuildApi = uuid, parentApi: controlGroupApi ?? getMockedControlGroupApi(), unsavedChanges: new BehaviorSubject | undefined>(undefined), - resetUnsavedChanges: () => {}, + resetUnsavedChanges: () => { + return true; + }, type: factory.type, }; }; diff --git a/src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx b/src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx index a49f1489d31d1..44574757837ce 100644 --- a/src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx +++ b/src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx @@ -48,7 +48,9 @@ describe('TimesliderControlApi', () => { uuid, parentApi: controlGroupApi, unsavedChanges: new BehaviorSubject | undefined>(undefined), - resetUnsavedChanges: () => {}, + resetUnsavedChanges: () => { + return true; + }, type: factory.type, }; } diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx b/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx index 99f4fb7c2fa90..7063414ccca7c 100644 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx +++ b/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx @@ -68,6 +68,7 @@ import { KibanaRenderContextProvider } from '@kbn/react-kibana-context-render'; import { LocatorPublic } from '@kbn/share-plugin/common'; import { ExitFullScreenButtonKibanaProvider } from '@kbn/shared-ux-button-exit-full-screen'; +import { i18n } from '@kbn/i18n'; import { DASHBOARD_CONTAINER_TYPE, DashboardApi, DashboardLocatorParams } from '../..'; import type { DashboardAttributes } from '../../../server/content_management'; import { DashboardContainerInput, DashboardPanelMap, DashboardPanelState } from '../../../common'; @@ -957,7 +958,16 @@ export class DashboardContainer for (const panelId of Object.keys(currentChildren)) { if (this.getInput().panels[panelId]) { const child = currentChildren[panelId]; - if (apiPublishesUnsavedChanges(child)) child.resetUnsavedChanges(); + if (apiPublishesUnsavedChanges(child)) { + const success = child.resetUnsavedChanges(); + if (!success) { + coreServices.notifications.toasts.addWarning( + i18n.translate('dashboard.reset.panelError', { + defaultMessage: 'Unable to reset panel changes', + }) + ); + } + } } else { // if reset resulted in panel removal, we need to update the list of children delete currentChildren[panelId]; diff --git a/src/plugins/dev_tools/public/plugin.ts b/src/plugins/dev_tools/public/plugin.ts index 9dde73d2909e0..2e82df062ff8c 100644 --- a/src/plugins/dev_tools/public/plugin.ts +++ b/src/plugins/dev_tools/public/plugin.ts @@ -116,7 +116,7 @@ export class DevToolsPlugin implements Plugin { const deepLinks: AppDeepLink[] = [...this.devTools.values()] .filter( // Some tools do not use a string title, so we filter those out - (tool) => !tool.enableRouting && !tool.isDisabled() && typeof tool.title === 'string' + (tool) => !tool.isDisabled() && typeof tool.title === 'string' ) .map((tool) => { const deepLink: AppDeepLink = { diff --git a/tsconfig.base.json b/tsconfig.base.json index 2032eae1184e8..aae90e447f0bf 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -20,20 +20,20 @@ "@kbn/ai-assistant-common/*": ["x-pack/packages/kbn-ai-assistant-common/*"], "@kbn/ai-assistant-management-plugin": ["src/plugins/ai_assistant_management/selection"], "@kbn/ai-assistant-management-plugin/*": ["src/plugins/ai_assistant_management/selection/*"], - "@kbn/aiops-change-point-detection": ["x-pack/packages/ml/aiops_change_point_detection"], - "@kbn/aiops-change-point-detection/*": ["x-pack/packages/ml/aiops_change_point_detection/*"], - "@kbn/aiops-common": ["x-pack/packages/ml/aiops_common"], - "@kbn/aiops-common/*": ["x-pack/packages/ml/aiops_common/*"], - "@kbn/aiops-components": ["x-pack/packages/ml/aiops_components"], - "@kbn/aiops-components/*": ["x-pack/packages/ml/aiops_components/*"], - "@kbn/aiops-log-pattern-analysis": ["x-pack/packages/ml/aiops_log_pattern_analysis"], - "@kbn/aiops-log-pattern-analysis/*": ["x-pack/packages/ml/aiops_log_pattern_analysis/*"], - "@kbn/aiops-log-rate-analysis": ["x-pack/packages/ml/aiops_log_rate_analysis"], - "@kbn/aiops-log-rate-analysis/*": ["x-pack/packages/ml/aiops_log_rate_analysis/*"], - "@kbn/aiops-plugin": ["x-pack/plugins/aiops"], - "@kbn/aiops-plugin/*": ["x-pack/plugins/aiops/*"], - "@kbn/aiops-test-utils": ["x-pack/packages/ml/aiops_test_utils"], - "@kbn/aiops-test-utils/*": ["x-pack/packages/ml/aiops_test_utils/*"], + "@kbn/aiops-change-point-detection": ["x-pack/platform/packages/private/ml/aiops_change_point_detection"], + "@kbn/aiops-change-point-detection/*": ["x-pack/platform/packages/private/ml/aiops_change_point_detection/*"], + "@kbn/aiops-common": ["x-pack/platform/packages/shared/ml/aiops_common"], + "@kbn/aiops-common/*": ["x-pack/platform/packages/shared/ml/aiops_common/*"], + "@kbn/aiops-components": ["x-pack/platform/packages/private/ml/aiops_components"], + "@kbn/aiops-components/*": ["x-pack/platform/packages/private/ml/aiops_components/*"], + "@kbn/aiops-log-pattern-analysis": ["x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis"], + "@kbn/aiops-log-pattern-analysis/*": ["x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/*"], + "@kbn/aiops-log-rate-analysis": ["x-pack/platform/packages/shared/ml/aiops_log_rate_analysis"], + "@kbn/aiops-log-rate-analysis/*": ["x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/*"], + "@kbn/aiops-plugin": ["x-pack/platform/plugins/shared/aiops"], + "@kbn/aiops-plugin/*": ["x-pack/platform/plugins/shared/aiops/*"], + "@kbn/aiops-test-utils": ["x-pack/platform/packages/private/ml/aiops_test_utils"], + "@kbn/aiops-test-utils/*": ["x-pack/platform/packages/private/ml/aiops_test_utils/*"], "@kbn/alerting-api-integration-helpers": ["x-pack/test/alerting_api_integration/packages/helpers"], "@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"], @@ -726,8 +726,8 @@ "@kbn/data-view-utils/*": ["packages/kbn-data-view-utils/*"], "@kbn/data-views-plugin": ["src/plugins/data_views"], "@kbn/data-views-plugin/*": ["src/plugins/data_views/*"], - "@kbn/data-visualizer-plugin": ["x-pack/plugins/data_visualizer"], - "@kbn/data-visualizer-plugin/*": ["x-pack/plugins/data_visualizer/*"], + "@kbn/data-visualizer-plugin": ["x-pack/platform/plugins/private/data_visualizer"], + "@kbn/data-visualizer-plugin/*": ["x-pack/platform/plugins/private/data_visualizer/*"], "@kbn/dataset-quality-plugin": ["x-pack/plugins/observability_solution/dataset_quality"], "@kbn/dataset-quality-plugin/*": ["x-pack/plugins/observability_solution/dataset_quality/*"], "@kbn/datemath": ["packages/kbn-datemath"], @@ -740,8 +740,8 @@ "@kbn/deeplinks-fleet/*": ["packages/deeplinks/fleet/*"], "@kbn/deeplinks-management": ["packages/deeplinks/management"], "@kbn/deeplinks-management/*": ["packages/deeplinks/management/*"], - "@kbn/deeplinks-ml": ["packages/deeplinks/ml"], - "@kbn/deeplinks-ml/*": ["packages/deeplinks/ml/*"], + "@kbn/deeplinks-ml": ["src/platform/packages/shared/deeplinks/ml"], + "@kbn/deeplinks-ml/*": ["src/platform/packages/shared/deeplinks/ml/*"], "@kbn/deeplinks-observability": ["packages/deeplinks/observability"], "@kbn/deeplinks-observability/*": ["packages/deeplinks/observability/*"], "@kbn/deeplinks-search": ["packages/deeplinks/search"], @@ -756,8 +756,8 @@ "@kbn/default-nav-devtools/*": ["packages/default-nav/devtools/*"], "@kbn/default-nav-management": ["packages/default-nav/management"], "@kbn/default-nav-management/*": ["packages/default-nav/management/*"], - "@kbn/default-nav-ml": ["packages/default-nav/ml"], - "@kbn/default-nav-ml/*": ["packages/default-nav/ml/*"], + "@kbn/default-nav-ml": ["src/platform/packages/private/default-nav/ml"], + "@kbn/default-nav-ml/*": ["src/platform/packages/private/default-nav/ml/*"], "@kbn/dependency-ownership": ["packages/kbn-dependency-ownership"], "@kbn/dependency-ownership/*": ["packages/kbn-dependency-ownership/*"], "@kbn/dependency-usage": ["packages/kbn-dependency-usage"], @@ -1060,8 +1060,8 @@ "@kbn/index-management-shared-types/*": ["x-pack/packages/index-management/index_management_shared_types/*"], "@kbn/index-patterns-test-plugin": ["test/plugin_functional/plugins/index_patterns"], "@kbn/index-patterns-test-plugin/*": ["test/plugin_functional/plugins/index_patterns/*"], - "@kbn/inference_integration_flyout": ["x-pack/packages/ml/inference_integration_flyout"], - "@kbn/inference_integration_flyout/*": ["x-pack/packages/ml/inference_integration_flyout/*"], + "@kbn/inference_integration_flyout": ["x-pack/platform/packages/private/ml/inference_integration_flyout"], + "@kbn/inference_integration_flyout/*": ["x-pack/platform/packages/private/ml/inference_integration_flyout/*"], "@kbn/inference-common": ["x-pack/packages/ai-infra/inference-common"], "@kbn/inference-common/*": ["x-pack/packages/ai-infra/inference-common/*"], "@kbn/inference-plugin": ["x-pack/plugins/inference"], @@ -1106,8 +1106,8 @@ "@kbn/journeys/*": ["packages/kbn-journeys/*"], "@kbn/json-ast": ["packages/kbn-json-ast"], "@kbn/json-ast/*": ["packages/kbn-json-ast/*"], - "@kbn/json-schemas": ["x-pack/packages/ml/json_schemas"], - "@kbn/json-schemas/*": ["x-pack/packages/ml/json_schemas/*"], + "@kbn/json-schemas": ["x-pack/platform/packages/private/ml/json_schemas"], + "@kbn/json-schemas/*": ["x-pack/platform/packages/private/ml/json_schemas/*"], "@kbn/kbn-health-gateway-status-plugin": ["test/health_gateway/plugins/status"], "@kbn/kbn-health-gateway-status-plugin/*": ["test/health_gateway/plugins/status/*"], "@kbn/kbn-sample-panel-action-plugin": ["test/plugin_functional/plugins/kbn_sample_panel_action"], @@ -1226,72 +1226,72 @@ "@kbn/maps-vector-tile-utils/*": ["x-pack/packages/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/packages/ml/agg_utils"], - "@kbn/ml-agg-utils/*": ["x-pack/packages/ml/agg_utils/*"], - "@kbn/ml-anomaly-utils": ["x-pack/packages/ml/anomaly_utils"], - "@kbn/ml-anomaly-utils/*": ["x-pack/packages/ml/anomaly_utils/*"], - "@kbn/ml-cancellable-search": ["x-pack/packages/ml/cancellable_search"], - "@kbn/ml-cancellable-search/*": ["x-pack/packages/ml/cancellable_search/*"], - "@kbn/ml-category-validator": ["x-pack/packages/ml/category_validator"], - "@kbn/ml-category-validator/*": ["x-pack/packages/ml/category_validator/*"], - "@kbn/ml-chi2test": ["x-pack/packages/ml/chi2test"], - "@kbn/ml-chi2test/*": ["x-pack/packages/ml/chi2test/*"], - "@kbn/ml-creation-wizard-utils": ["x-pack/packages/ml/creation_wizard_utils"], - "@kbn/ml-creation-wizard-utils/*": ["x-pack/packages/ml/creation_wizard_utils/*"], - "@kbn/ml-data-frame-analytics-utils": ["x-pack/packages/ml/data_frame_analytics_utils"], - "@kbn/ml-data-frame-analytics-utils/*": ["x-pack/packages/ml/data_frame_analytics_utils/*"], - "@kbn/ml-data-grid": ["x-pack/packages/ml/data_grid"], - "@kbn/ml-data-grid/*": ["x-pack/packages/ml/data_grid/*"], - "@kbn/ml-data-view-utils": ["x-pack/packages/ml/data_view_utils"], - "@kbn/ml-data-view-utils/*": ["x-pack/packages/ml/data_view_utils/*"], - "@kbn/ml-date-picker": ["x-pack/packages/ml/date_picker"], - "@kbn/ml-date-picker/*": ["x-pack/packages/ml/date_picker/*"], - "@kbn/ml-date-utils": ["x-pack/packages/ml/date_utils"], - "@kbn/ml-date-utils/*": ["x-pack/packages/ml/date_utils/*"], - "@kbn/ml-error-utils": ["x-pack/packages/ml/error_utils"], - "@kbn/ml-error-utils/*": ["x-pack/packages/ml/error_utils/*"], - "@kbn/ml-field-stats-flyout": ["x-pack/packages/ml/field_stats_flyout"], - "@kbn/ml-field-stats-flyout/*": ["x-pack/packages/ml/field_stats_flyout/*"], - "@kbn/ml-in-memory-table": ["x-pack/packages/ml/in_memory_table"], - "@kbn/ml-in-memory-table/*": ["x-pack/packages/ml/in_memory_table/*"], - "@kbn/ml-is-defined": ["x-pack/packages/ml/is_defined"], - "@kbn/ml-is-defined/*": ["x-pack/packages/ml/is_defined/*"], - "@kbn/ml-is-populated-object": ["x-pack/packages/ml/is_populated_object"], - "@kbn/ml-is-populated-object/*": ["x-pack/packages/ml/is_populated_object/*"], - "@kbn/ml-kibana-theme": ["x-pack/packages/ml/kibana_theme"], - "@kbn/ml-kibana-theme/*": ["x-pack/packages/ml/kibana_theme/*"], - "@kbn/ml-local-storage": ["x-pack/packages/ml/local_storage"], - "@kbn/ml-local-storage/*": ["x-pack/packages/ml/local_storage/*"], - "@kbn/ml-nested-property": ["x-pack/packages/ml/nested_property"], - "@kbn/ml-nested-property/*": ["x-pack/packages/ml/nested_property/*"], - "@kbn/ml-number-utils": ["x-pack/packages/ml/number_utils"], - "@kbn/ml-number-utils/*": ["x-pack/packages/ml/number_utils/*"], - "@kbn/ml-parse-interval": ["x-pack/packages/ml/parse_interval"], - "@kbn/ml-parse-interval/*": ["x-pack/packages/ml/parse_interval/*"], - "@kbn/ml-plugin": ["x-pack/plugins/ml"], - "@kbn/ml-plugin/*": ["x-pack/plugins/ml/*"], - "@kbn/ml-query-utils": ["x-pack/packages/ml/query_utils"], - "@kbn/ml-query-utils/*": ["x-pack/packages/ml/query_utils/*"], - "@kbn/ml-random-sampler-utils": ["x-pack/packages/ml/random_sampler_utils"], - "@kbn/ml-random-sampler-utils/*": ["x-pack/packages/ml/random_sampler_utils/*"], - "@kbn/ml-response-stream": ["x-pack/packages/ml/response_stream"], - "@kbn/ml-response-stream/*": ["x-pack/packages/ml/response_stream/*"], - "@kbn/ml-route-utils": ["x-pack/packages/ml/route_utils"], - "@kbn/ml-route-utils/*": ["x-pack/packages/ml/route_utils/*"], - "@kbn/ml-runtime-field-utils": ["x-pack/packages/ml/runtime_field_utils"], - "@kbn/ml-runtime-field-utils/*": ["x-pack/packages/ml/runtime_field_utils/*"], - "@kbn/ml-string-hash": ["x-pack/packages/ml/string_hash"], - "@kbn/ml-string-hash/*": ["x-pack/packages/ml/string_hash/*"], - "@kbn/ml-time-buckets": ["x-pack/packages/ml/time_buckets"], - "@kbn/ml-time-buckets/*": ["x-pack/packages/ml/time_buckets/*"], - "@kbn/ml-trained-models-utils": ["x-pack/packages/ml/trained_models_utils"], - "@kbn/ml-trained-models-utils/*": ["x-pack/packages/ml/trained_models_utils/*"], - "@kbn/ml-ui-actions": ["x-pack/packages/ml/ui_actions"], - "@kbn/ml-ui-actions/*": ["x-pack/packages/ml/ui_actions/*"], - "@kbn/ml-url-state": ["x-pack/packages/ml/url_state"], - "@kbn/ml-url-state/*": ["x-pack/packages/ml/url_state/*"], - "@kbn/ml-validators": ["x-pack/packages/ml/validators"], - "@kbn/ml-validators/*": ["x-pack/packages/ml/validators/*"], + "@kbn/ml-agg-utils": ["x-pack/platform/packages/private/ml/agg_utils"], + "@kbn/ml-agg-utils/*": ["x-pack/platform/packages/private/ml/agg_utils/*"], + "@kbn/ml-anomaly-utils": ["x-pack/platform/packages/shared/ml/anomaly_utils"], + "@kbn/ml-anomaly-utils/*": ["x-pack/platform/packages/shared/ml/anomaly_utils/*"], + "@kbn/ml-cancellable-search": ["x-pack/platform/packages/private/ml/cancellable_search"], + "@kbn/ml-cancellable-search/*": ["x-pack/platform/packages/private/ml/cancellable_search/*"], + "@kbn/ml-category-validator": ["x-pack/platform/packages/private/ml/category_validator"], + "@kbn/ml-category-validator/*": ["x-pack/platform/packages/private/ml/category_validator/*"], + "@kbn/ml-chi2test": ["x-pack/platform/packages/shared/ml/chi2test"], + "@kbn/ml-chi2test/*": ["x-pack/platform/packages/shared/ml/chi2test/*"], + "@kbn/ml-creation-wizard-utils": ["x-pack/platform/packages/private/ml/creation_wizard_utils"], + "@kbn/ml-creation-wizard-utils/*": ["x-pack/platform/packages/private/ml/creation_wizard_utils/*"], + "@kbn/ml-data-frame-analytics-utils": ["x-pack/platform/packages/private/ml/data_frame_analytics_utils"], + "@kbn/ml-data-frame-analytics-utils/*": ["x-pack/platform/packages/private/ml/data_frame_analytics_utils/*"], + "@kbn/ml-data-grid": ["x-pack/platform/packages/private/ml/data_grid"], + "@kbn/ml-data-grid/*": ["x-pack/platform/packages/private/ml/data_grid/*"], + "@kbn/ml-data-view-utils": ["x-pack/platform/packages/private/ml/data_view_utils"], + "@kbn/ml-data-view-utils/*": ["x-pack/platform/packages/private/ml/data_view_utils/*"], + "@kbn/ml-date-picker": ["x-pack/platform/packages/private/ml/date_picker"], + "@kbn/ml-date-picker/*": ["x-pack/platform/packages/private/ml/date_picker/*"], + "@kbn/ml-date-utils": ["x-pack/platform/packages/private/ml/date_utils"], + "@kbn/ml-date-utils/*": ["x-pack/platform/packages/private/ml/date_utils/*"], + "@kbn/ml-error-utils": ["x-pack/platform/packages/shared/ml/error_utils"], + "@kbn/ml-error-utils/*": ["x-pack/platform/packages/shared/ml/error_utils/*"], + "@kbn/ml-field-stats-flyout": ["x-pack/platform/packages/private/ml/field_stats_flyout"], + "@kbn/ml-field-stats-flyout/*": ["x-pack/platform/packages/private/ml/field_stats_flyout/*"], + "@kbn/ml-in-memory-table": ["x-pack/platform/packages/private/ml/in_memory_table"], + "@kbn/ml-in-memory-table/*": ["x-pack/platform/packages/private/ml/in_memory_table/*"], + "@kbn/ml-is-defined": ["x-pack/platform/packages/private/ml/is_defined"], + "@kbn/ml-is-defined/*": ["x-pack/platform/packages/private/ml/is_defined/*"], + "@kbn/ml-is-populated-object": ["x-pack/platform/packages/private/ml/is_populated_object"], + "@kbn/ml-is-populated-object/*": ["x-pack/platform/packages/private/ml/is_populated_object/*"], + "@kbn/ml-kibana-theme": ["x-pack/platform/packages/private/ml/kibana_theme"], + "@kbn/ml-kibana-theme/*": ["x-pack/platform/packages/private/ml/kibana_theme/*"], + "@kbn/ml-local-storage": ["x-pack/platform/packages/private/ml/local_storage"], + "@kbn/ml-local-storage/*": ["x-pack/platform/packages/private/ml/local_storage/*"], + "@kbn/ml-nested-property": ["x-pack/platform/packages/private/ml/nested_property"], + "@kbn/ml-nested-property/*": ["x-pack/platform/packages/private/ml/nested_property/*"], + "@kbn/ml-number-utils": ["x-pack/platform/packages/private/ml/number_utils"], + "@kbn/ml-number-utils/*": ["x-pack/platform/packages/private/ml/number_utils/*"], + "@kbn/ml-parse-interval": ["x-pack/platform/packages/private/ml/parse_interval"], + "@kbn/ml-parse-interval/*": ["x-pack/platform/packages/private/ml/parse_interval/*"], + "@kbn/ml-plugin": ["x-pack/platform/plugins/shared/ml"], + "@kbn/ml-plugin/*": ["x-pack/platform/plugins/shared/ml/*"], + "@kbn/ml-query-utils": ["x-pack/platform/packages/private/ml/query_utils"], + "@kbn/ml-query-utils/*": ["x-pack/platform/packages/private/ml/query_utils/*"], + "@kbn/ml-random-sampler-utils": ["x-pack/platform/packages/shared/ml/random_sampler_utils"], + "@kbn/ml-random-sampler-utils/*": ["x-pack/platform/packages/shared/ml/random_sampler_utils/*"], + "@kbn/ml-response-stream": ["x-pack/platform/packages/shared/ml/response_stream"], + "@kbn/ml-response-stream/*": ["x-pack/platform/packages/shared/ml/response_stream/*"], + "@kbn/ml-route-utils": ["x-pack/platform/packages/private/ml/route_utils"], + "@kbn/ml-route-utils/*": ["x-pack/platform/packages/private/ml/route_utils/*"], + "@kbn/ml-runtime-field-utils": ["x-pack/platform/packages/shared/ml/runtime_field_utils"], + "@kbn/ml-runtime-field-utils/*": ["x-pack/platform/packages/shared/ml/runtime_field_utils/*"], + "@kbn/ml-string-hash": ["x-pack/platform/packages/private/ml/string_hash"], + "@kbn/ml-string-hash/*": ["x-pack/platform/packages/private/ml/string_hash/*"], + "@kbn/ml-time-buckets": ["x-pack/platform/packages/private/ml/time_buckets"], + "@kbn/ml-time-buckets/*": ["x-pack/platform/packages/private/ml/time_buckets/*"], + "@kbn/ml-trained-models-utils": ["x-pack/platform/packages/shared/ml/trained_models_utils"], + "@kbn/ml-trained-models-utils/*": ["x-pack/platform/packages/shared/ml/trained_models_utils/*"], + "@kbn/ml-ui-actions": ["x-pack/platform/packages/private/ml/ui_actions"], + "@kbn/ml-ui-actions/*": ["x-pack/platform/packages/private/ml/ui_actions/*"], + "@kbn/ml-url-state": ["x-pack/platform/packages/private/ml/url_state"], + "@kbn/ml-url-state/*": ["x-pack/platform/packages/private/ml/url_state/*"], + "@kbn/ml-validators": ["x-pack/platform/packages/private/ml/validators"], + "@kbn/ml-validators/*": ["x-pack/platform/packages/private/ml/validators/*"], "@kbn/mock-idp-plugin": ["packages/kbn-mock-idp-plugin"], "@kbn/mock-idp-plugin/*": ["packages/kbn-mock-idp-plugin/*"], "@kbn/mock-idp-utils": ["packages/kbn-mock-idp-utils"], @@ -1366,8 +1366,8 @@ "@kbn/optimizer/*": ["packages/kbn-optimizer/*"], "@kbn/optimizer-webpack-helpers": ["packages/kbn-optimizer-webpack-helpers"], "@kbn/optimizer-webpack-helpers/*": ["packages/kbn-optimizer-webpack-helpers/*"], - "@kbn/osquery-io-ts-types": ["packages/kbn-osquery-io-ts-types"], - "@kbn/osquery-io-ts-types/*": ["packages/kbn-osquery-io-ts-types/*"], + "@kbn/osquery-io-ts-types": ["src/platform/packages/shared/kbn-osquery-io-ts-types"], + "@kbn/osquery-io-ts-types/*": ["src/platform/packages/shared/kbn-osquery-io-ts-types/*"], "@kbn/osquery-plugin": ["x-pack/plugins/osquery"], "@kbn/osquery-plugin/*": ["x-pack/plugins/osquery/*"], "@kbn/paertial-results-example-plugin": ["examples/partial_results_example"], @@ -1432,6 +1432,8 @@ "@kbn/react-kibana-context-theme/*": ["packages/react/kibana_context/theme/*"], "@kbn/react-kibana-mount": ["packages/react/kibana_mount"], "@kbn/react-kibana-mount/*": ["packages/react/kibana_mount/*"], + "@kbn/react-mute-legacy-root-warning": ["packages/kbn-react-mute-legacy-root-warning"], + "@kbn/react-mute-legacy-root-warning/*": ["packages/kbn-react-mute-legacy-root-warning/*"], "@kbn/recently-accessed": ["packages/kbn-recently-accessed"], "@kbn/recently-accessed/*": ["packages/kbn-recently-accessed/*"], "@kbn/remote-clusters-plugin": ["x-pack/plugins/remote_clusters"], @@ -1546,6 +1548,10 @@ "@kbn/saved-search-plugin/*": ["src/plugins/saved_search/*"], "@kbn/scout": ["packages/kbn-scout"], "@kbn/scout/*": ["packages/kbn-scout/*"], + "@kbn/scout-info": ["packages/kbn-scout-info"], + "@kbn/scout-info/*": ["packages/kbn-scout-info/*"], + "@kbn/scout-reporting": ["packages/kbn-scout-reporting"], + "@kbn/scout-reporting/*": ["packages/kbn-scout-reporting/*"], "@kbn/screenshot-mode-example-plugin": ["examples/screenshot_mode_example"], "@kbn/screenshot-mode-example-plugin/*": ["examples/screenshot_mode_example/*"], "@kbn/screenshot-mode-plugin": ["src/plugins/screenshot_mode"], @@ -1924,8 +1930,8 @@ "@kbn/tinymath/*": ["packages/kbn-tinymath/*"], "@kbn/tooling-log": ["packages/kbn-tooling-log"], "@kbn/tooling-log/*": ["packages/kbn-tooling-log/*"], - "@kbn/transform-plugin": ["x-pack/plugins/transform"], - "@kbn/transform-plugin/*": ["x-pack/plugins/transform/*"], + "@kbn/transform-plugin": ["x-pack/platform/plugins/private/transform"], + "@kbn/transform-plugin/*": ["x-pack/platform/plugins/private/transform/*"], "@kbn/translations-plugin": ["x-pack/plugins/translations"], "@kbn/translations-plugin/*": ["x-pack/plugins/translations/*"], "@kbn/transpose-utils": ["packages/kbn-transpose-utils"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 213c3f06f34aa..29cd97f61b970 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -3,11 +3,11 @@ "paths": { "xpack.actions": "plugins/actions", "xpack.aiops": [ - "packages/ml/aiops_common", - "packages/ml/aiops_components", - "packages/ml/aiops_log_pattern_analysis", - "packages/ml/aiops_log_rate_analysis", - "plugins/aiops" + "platform/packages/shared/ml/aiops_common", + "platform/packages/private/ml/aiops_components", + "platform/packages/shared/ml/aiops_log_pattern_analysis", + "platform/packages/shared/ml/aiops_log_rate_analysis", + "platform/plugins/shared/aiops" ], "xpack.aiAssistant": "packages/kbn-ai-assistant", "xpack.alerting": "plugins/alerting", @@ -43,7 +43,7 @@ "xpack.endpoint": "plugins/endpoint", "xpack.enterpriseSearch": "plugins/enterprise_search", "xpack.features": "plugins/features", - "xpack.dataVisualizer": "plugins/data_visualizer", + "xpack.dataVisualizer": "platform/plugins/private/data_visualizer", "xpack.exploratoryView": "plugins/observability_solution/exploratory_view", "xpack.fileUpload": "plugins/file_upload", "xpack.globalSearch": [ @@ -85,17 +85,17 @@ ], "xpack.metricsData": "plugins/observability_solution/metrics_data_access", "xpack.ml": [ - "packages/ml/anomaly_utils", - "packages/ml/creation_wizard_utils", - "packages/ml/data_grid", - "packages/ml/data_view_utils", - "packages/ml/date_picker", - "packages/ml/field_stats_flyout", - "packages/ml/inference_integration_flyout", - "packages/ml/trained_models_utils", - "packages/ml/category_validator", - "packages/ml/ui_actions", - "plugins/ml" + "platform/packages/shared/ml/anomaly_utils", + "platform/packages/private/ml/creation_wizard_utils", + "platform/packages/private/ml/data_grid", + "platform/packages/private/ml/data_view_utils", + "platform/packages/private/ml/date_picker", + "platform/packages/private/ml/field_stats_flyout", + "platform/packages/private/ml/inference_integration_flyout", + "platform/packages/shared/ml/trained_models_utils", + "platform/packages/private/ml/category_validator", + "platform/packages/private/ml/ui_actions", + "platform/plugins/shared/ml" ], "xpack.monitoring": [ "plugins/monitoring" @@ -162,7 +162,7 @@ "xpack.taskManager": "legacy/plugins/task_manager", "xpack.threatIntelligence": "plugins/threat_intelligence", "xpack.timelines": "plugins/timelines", - "xpack.transform": "plugins/transform", + "xpack.transform": "platform/plugins/private/transform", "xpack.triggersActionsUI": "plugins/triggers_actions_ui", "xpack.upgradeAssistant": "plugins/upgrade_assistant", "xpack.uptime": [ diff --git a/x-pack/packages/kbn-ai-assistant/src/hooks/use_json_editor_model.ts b/x-pack/packages/kbn-ai-assistant/src/hooks/use_json_editor_model.ts index 6412aeb6a870e..5cba3fbb78d75 100644 --- a/x-pack/packages/kbn-ai-assistant/src/hooks/use_json_editor_model.ts +++ b/x-pack/packages/kbn-ai-assistant/src/hooks/use_json_editor_model.ts @@ -43,7 +43,7 @@ export const useJsonEditorModel = ({ const initialJsonString = initialJsonValue ? JSON.stringify(safeJsonParse(initialJsonValue), null, 4) // prettify the json - : functionDefinition.parameters.properties + : functionDefinition.parameters?.properties ? JSON.stringify(createInitializedObject(functionDefinition.parameters), null, 4) : ''; diff --git a/x-pack/packages/kbn-ai-assistant/src/utils/create_initialized_object.ts b/x-pack/packages/kbn-ai-assistant/src/utils/create_initialized_object.ts index e06800aca07a0..22d173f7da67c 100644 --- a/x-pack/packages/kbn-ai-assistant/src/utils/create_initialized_object.ts +++ b/x-pack/packages/kbn-ai-assistant/src/utils/create_initialized_object.ts @@ -7,7 +7,7 @@ import type { FunctionDefinition } from '@kbn/observability-ai-assistant-plugin/common'; -type Params = FunctionDefinition['parameters']; +type Params = NonNullable; export function createInitializedObject(parameters: Params) { const emptyObject: Record = {}; diff --git a/x-pack/packages/ml/aiops_test_utils/jest.config.js b/x-pack/packages/ml/aiops_test_utils/jest.config.js deleted file mode 100644 index 39dea48501808..0000000000000 --- a/x-pack/packages/ml/aiops_test_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/aiops_test_utils'], -}; diff --git a/x-pack/packages/ml/anomaly_utils/jest.config.js b/x-pack/packages/ml/anomaly_utils/jest.config.js deleted file mode 100644 index d16d2ef76a83c..0000000000000 --- a/x-pack/packages/ml/anomaly_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/anomaly_utils'], -}; diff --git a/x-pack/packages/ml/cancellable_search/jest.config.js b/x-pack/packages/ml/cancellable_search/jest.config.js deleted file mode 100644 index 450cf6662aa45..0000000000000 --- a/x-pack/packages/ml/cancellable_search/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/cancellable_search'], -}; diff --git a/x-pack/packages/ml/chi2test/jest.config.js b/x-pack/packages/ml/chi2test/jest.config.js deleted file mode 100644 index 1a1e0ce1f29c4..0000000000000 --- a/x-pack/packages/ml/chi2test/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/chi2test'], -}; diff --git a/x-pack/packages/ml/data_frame_analytics_utils/jest.config.js b/x-pack/packages/ml/data_frame_analytics_utils/jest.config.js deleted file mode 100644 index a8cecda847dc3..0000000000000 --- a/x-pack/packages/ml/data_frame_analytics_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/data_frame_analytics_utils'], -}; diff --git a/x-pack/packages/ml/data_grid/jest.config.js b/x-pack/packages/ml/data_grid/jest.config.js deleted file mode 100644 index 8dac505e19dbd..0000000000000 --- a/x-pack/packages/ml/data_grid/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/data_grid'], -}; diff --git a/x-pack/packages/ml/data_view_utils/jest.config.js b/x-pack/packages/ml/data_view_utils/jest.config.js deleted file mode 100644 index 783a52cc9f53e..0000000000000 --- a/x-pack/packages/ml/data_view_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/data_view_utils'], -}; diff --git a/x-pack/packages/ml/date_picker/jest.config.js b/x-pack/packages/ml/date_picker/jest.config.js deleted file mode 100644 index 7538f57ac314e..0000000000000 --- a/x-pack/packages/ml/date_picker/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/date_picker'], -}; diff --git a/x-pack/packages/ml/date_utils/jest.config.js b/x-pack/packages/ml/date_utils/jest.config.js deleted file mode 100644 index 3b493da80d9b4..0000000000000 --- a/x-pack/packages/ml/date_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/date_utils'], -}; diff --git a/x-pack/packages/ml/error_utils/jest.config.js b/x-pack/packages/ml/error_utils/jest.config.js deleted file mode 100644 index f5da401040575..0000000000000 --- a/x-pack/packages/ml/error_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/error_utils'], -}; diff --git a/x-pack/packages/ml/field_stats_flyout/jest.config.js b/x-pack/packages/ml/field_stats_flyout/jest.config.js deleted file mode 100644 index 92a117be85f1b..0000000000000 --- a/x-pack/packages/ml/field_stats_flyout/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/field_stats_flyout'], -}; diff --git a/x-pack/packages/ml/in_memory_table/jest.config.js b/x-pack/packages/ml/in_memory_table/jest.config.js deleted file mode 100644 index a0dd7192dac50..0000000000000 --- a/x-pack/packages/ml/in_memory_table/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/in_memory_table'], -}; diff --git a/x-pack/packages/ml/inference_integration_flyout/jest.config.js b/x-pack/packages/ml/inference_integration_flyout/jest.config.js deleted file mode 100644 index 18482d601ee24..0000000000000 --- a/x-pack/packages/ml/inference_integration_flyout/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/inference_integration_flyout'], -}; diff --git a/x-pack/packages/ml/is_defined/jest.config.js b/x-pack/packages/ml/is_defined/jest.config.js deleted file mode 100644 index a4deb4d18ecf8..0000000000000 --- a/x-pack/packages/ml/is_defined/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/is_defined'], -}; diff --git a/x-pack/packages/ml/json_schemas/jest.config.js b/x-pack/packages/ml/json_schemas/jest.config.js deleted file mode 100644 index ee3bee9c626bf..0000000000000 --- a/x-pack/packages/ml/json_schemas/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/json_schemas'], -}; diff --git a/x-pack/packages/ml/kibana_theme/jest.config.js b/x-pack/packages/ml/kibana_theme/jest.config.js deleted file mode 100644 index 267dfc52f2b12..0000000000000 --- a/x-pack/packages/ml/kibana_theme/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/kibana_theme'], -}; diff --git a/x-pack/packages/ml/local_storage/jest.config.js b/x-pack/packages/ml/local_storage/jest.config.js deleted file mode 100644 index 7de0a696c57ef..0000000000000 --- a/x-pack/packages/ml/local_storage/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/local_storage'], -}; diff --git a/x-pack/packages/ml/nested_property/jest.config.js b/x-pack/packages/ml/nested_property/jest.config.js deleted file mode 100644 index 1f242155d4093..0000000000000 --- a/x-pack/packages/ml/nested_property/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/nested_property'], -}; diff --git a/x-pack/packages/ml/number_utils/jest.config.js b/x-pack/packages/ml/number_utils/jest.config.js deleted file mode 100644 index 8705572d76963..0000000000000 --- a/x-pack/packages/ml/number_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/number_utils'], -}; diff --git a/x-pack/packages/ml/number_utils/tsconfig.json b/x-pack/packages/ml/number_utils/tsconfig.json deleted file mode 100644 index b05325b824a67..0000000000000 --- a/x-pack/packages/ml/number_utils/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [] -} diff --git a/x-pack/packages/ml/parse_interval/jest.config.js b/x-pack/packages/ml/parse_interval/jest.config.js deleted file mode 100644 index 01fc21724c5bf..0000000000000 --- a/x-pack/packages/ml/parse_interval/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/parse_interval'], -}; diff --git a/x-pack/packages/ml/query_utils/jest.config.js b/x-pack/packages/ml/query_utils/jest.config.js deleted file mode 100644 index d02c9d5ca6173..0000000000000 --- a/x-pack/packages/ml/query_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/query_utils'], -}; diff --git a/x-pack/packages/ml/random_sampler_utils/jest.config.js b/x-pack/packages/ml/random_sampler_utils/jest.config.js deleted file mode 100644 index 72446f7039aa7..0000000000000 --- a/x-pack/packages/ml/random_sampler_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/random_sampler_utils'], -}; diff --git a/x-pack/packages/ml/response_stream/jest.config.js b/x-pack/packages/ml/response_stream/jest.config.js deleted file mode 100644 index df4232d130e89..0000000000000 --- a/x-pack/packages/ml/response_stream/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/response_stream'], -}; diff --git a/x-pack/packages/ml/route_utils/jest.config.js b/x-pack/packages/ml/route_utils/jest.config.js deleted file mode 100644 index a102ea958c48d..0000000000000 --- a/x-pack/packages/ml/route_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/route_utils'], -}; diff --git a/x-pack/packages/ml/runtime_field_utils/jest.config.js b/x-pack/packages/ml/runtime_field_utils/jest.config.js deleted file mode 100644 index db561f50a515d..0000000000000 --- a/x-pack/packages/ml/runtime_field_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/runtime_field_utils'], -}; diff --git a/x-pack/packages/ml/string_hash/jest.config.js b/x-pack/packages/ml/string_hash/jest.config.js deleted file mode 100644 index 4f9fe0d1c70e0..0000000000000 --- a/x-pack/packages/ml/string_hash/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/string_hash'], -}; diff --git a/x-pack/packages/ml/time_buckets/jest.config.js b/x-pack/packages/ml/time_buckets/jest.config.js deleted file mode 100644 index b2267ec660090..0000000000000 --- a/x-pack/packages/ml/time_buckets/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/time_buckets'], -}; diff --git a/x-pack/packages/ml/trained_models_utils/jest.config.js b/x-pack/packages/ml/trained_models_utils/jest.config.js deleted file mode 100644 index 1f771ba2fa4c5..0000000000000 --- a/x-pack/packages/ml/trained_models_utils/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/trained_models_utils'], -}; diff --git a/x-pack/packages/ml/ui_actions/jest.config.js b/x-pack/packages/ml/ui_actions/jest.config.js deleted file mode 100644 index 8efadb42705fa..0000000000000 --- a/x-pack/packages/ml/ui_actions/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/ui_actions'], -}; diff --git a/x-pack/packages/ml/url_state/jest.config.js b/x-pack/packages/ml/url_state/jest.config.js deleted file mode 100644 index 34c3a85409e99..0000000000000 --- a/x-pack/packages/ml/url_state/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/url_state'], -}; diff --git a/x-pack/packages/ml/validators/jest.config.js b/x-pack/packages/ml/validators/jest.config.js deleted file mode 100644 index 67f28da8589d9..0000000000000 --- a/x-pack/packages/ml/validators/jest.config.js +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/validators'], -}; diff --git a/x-pack/packages/observability/alert_details/src/hooks/use_alerts_history.test.tsx b/x-pack/packages/observability/alert_details/src/hooks/use_alerts_history.test.tsx index 2707a0cecd185..d46d109dd21fb 100644 --- a/x-pack/packages/observability/alert_details/src/hooks/use_alerts_history.test.tsx +++ b/x-pack/packages/observability/alert_details/src/hooks/use_alerts_history.test.tsx @@ -6,13 +6,9 @@ */ import React from 'react'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; -import { act, renderHook } from '@testing-library/react-hooks'; +import { waitFor, renderHook } from '@testing-library/react'; import { httpServiceMock } from '@kbn/core-http-browser-mocks'; -import { - type UseAlertsHistory, - useAlertsHistory, - type Props as useAlertsHistoryProps, -} from './use_alerts_history'; +import { useAlertsHistory } from './use_alerts_history'; const queryClient = new QueryClient({ logger: { @@ -44,7 +40,7 @@ describe('useAlertsHistory', () => { it('returns no data with error when http client is not provided', async () => { const http = undefined; - const { result, waitFor } = renderHook( + const { result } = renderHook( () => useAlertsHistory({ http, @@ -56,18 +52,14 @@ describe('useAlertsHistory', () => { wrapper, } ); - await act(async () => { - await waitFor(() => result.current.isError); - }); - expect(result.current.isError).toBeTruthy(); + await waitFor(() => expect(result.current.isError).toBeTruthy()); expect(result.current.isSuccess).toBeFalsy(); expect(result.current.isLoading).toBeFalsy(); }); it('returns no data when API error', async () => { mockServices.http.post.mockRejectedValueOnce(new Error('ES error')); - - const { result, waitFor } = renderHook( + const { result } = renderHook( () => useAlertsHistory({ ...mockServices, @@ -79,10 +71,7 @@ describe('useAlertsHistory', () => { wrapper, } ); - await act(async () => { - await waitFor(() => result.current.isError); - }); - expect(result.current.isError).toBeTruthy(); + await waitFor(() => expect(result.current.isError).toBeTruthy()); expect(result.current.isSuccess).toBeFalsy(); expect(result.current.isLoading).toBeFalsy(); }); @@ -130,7 +119,7 @@ describe('useAlertsHistory', () => { }, }); - const { result, waitFor } = renderHook( + const { result } = renderHook( () => useAlertsHistory({ ...mockServices, @@ -142,9 +131,7 @@ describe('useAlertsHistory', () => { wrapper, } ); - await act(async () => { - await waitFor(() => result.current.isSuccess); - }); + await waitFor(() => expect(result.current.isSuccess).toBe(true)); expect(result.current.isLoading).toBeFalsy(); expect(result.current.isError).toBeFalsy(); expect(result.current.data.avgTimeToRecoverUS).toEqual(134959464.2857143); @@ -167,7 +154,7 @@ describe('useAlertsHistory', () => { }, }); - const { result, waitFor } = renderHook( + const { result } = renderHook( () => useAlertsHistory({ ...mockServices, @@ -181,11 +168,7 @@ describe('useAlertsHistory', () => { wrapper, } ); - - await act(async () => { - await waitFor(() => result.current.isSuccess); - }); - + await waitFor(() => expect(result.current.isSuccess).toBe(true)); expect(mockServices.http.post).toBeCalledWith('/internal/rac/alerts/find', { body: '{"size":0,"rule_type_ids":["apm"],"consumers":["foo"],"query":{"bool":{"must":[' + @@ -215,7 +198,7 @@ describe('useAlertsHistory', () => { }, }); - const { result, waitFor } = renderHook( + const { result } = renderHook( () => useAlertsHistory({ ...mockServices, @@ -229,10 +212,7 @@ describe('useAlertsHistory', () => { } ); - await act(async () => { - await waitFor(() => result.current.isSuccess); - }); - + await waitFor(() => expect(result.current.isSuccess).toBe(true)); expect(mockServices.http.post).toBeCalledWith('/internal/rac/alerts/find', { body: '{"size":0,"rule_type_ids":["apm"],"query":{"bool":{"must":[' + diff --git a/x-pack/packages/security-solution/navigation/src/constants.ts b/x-pack/packages/security-solution/navigation/src/constants.ts index 249b834f929bd..d05d6c26807b5 100644 --- a/x-pack/packages/security-solution/navigation/src/constants.ts +++ b/x-pack/packages/security-solution/navigation/src/constants.ts @@ -38,7 +38,7 @@ export enum ExternalPageName { maps = 'maps:', visualize = 'visualize:', // Machine Learning - // Ref: packages/default-nav/ml/default_navigation.ts + // Ref: src/platform/packages/private/default-nav/ml/default_navigation.ts mlOverview = 'ml:overview', mlNotifications = 'ml:notifications', mlMemoryUsage = 'ml:memoryUsage', diff --git a/x-pack/packages/ml/agg_utils/README.md b/x-pack/platform/packages/private/ml/agg_utils/README.md similarity index 100% rename from x-pack/packages/ml/agg_utils/README.md rename to x-pack/platform/packages/private/ml/agg_utils/README.md diff --git a/x-pack/packages/ml/agg_utils/index.ts b/x-pack/platform/packages/private/ml/agg_utils/index.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/index.ts rename to x-pack/platform/packages/private/ml/agg_utils/index.ts diff --git a/x-pack/packages/ml/aiops_common/jest.config.js b/x-pack/platform/packages/private/ml/agg_utils/jest.config.js similarity index 75% rename from x-pack/packages/ml/aiops_common/jest.config.js rename to x-pack/platform/packages/private/ml/agg_utils/jest.config.js index 1eca070fa62c0..2709a876d33b8 100644 --- a/x-pack/packages/ml/aiops_common/jest.config.js +++ b/x-pack/platform/packages/private/ml/agg_utils/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/aiops_common'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/agg_utils'], }; diff --git a/x-pack/packages/ml/agg_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/agg_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/agg_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/agg_utils/kibana.jsonc diff --git a/x-pack/packages/ml/agg_utils/package.json b/x-pack/platform/packages/private/ml/agg_utils/package.json similarity index 100% rename from x-pack/packages/ml/agg_utils/package.json rename to x-pack/platform/packages/private/ml/agg_utils/package.json diff --git a/x-pack/packages/ml/agg_utils/src/build_sampler_aggregation.test.ts b/x-pack/platform/packages/private/ml/agg_utils/src/build_sampler_aggregation.test.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/build_sampler_aggregation.test.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/build_sampler_aggregation.test.ts diff --git a/x-pack/packages/ml/agg_utils/src/build_sampler_aggregation.ts b/x-pack/platform/packages/private/ml/agg_utils/src/build_sampler_aggregation.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/build_sampler_aggregation.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/build_sampler_aggregation.ts diff --git a/x-pack/packages/ml/agg_utils/src/fetch_agg_intervals.ts b/x-pack/platform/packages/private/ml/agg_utils/src/fetch_agg_intervals.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/fetch_agg_intervals.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/fetch_agg_intervals.ts diff --git a/x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts b/x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts diff --git a/x-pack/packages/ml/agg_utils/src/field_histograms.ts b/x-pack/platform/packages/private/ml/agg_utils/src/field_histograms.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/field_histograms.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/field_histograms.ts diff --git a/x-pack/packages/ml/agg_utils/src/get_sampler_aggregations_response_path.test.ts b/x-pack/platform/packages/private/ml/agg_utils/src/get_sampler_aggregations_response_path.test.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/get_sampler_aggregations_response_path.test.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/get_sampler_aggregations_response_path.test.ts diff --git a/x-pack/packages/ml/agg_utils/src/get_sampler_aggregations_response_path.ts b/x-pack/platform/packages/private/ml/agg_utils/src/get_sampler_aggregations_response_path.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/get_sampler_aggregations_response_path.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/get_sampler_aggregations_response_path.ts diff --git a/x-pack/packages/ml/agg_utils/src/is_multi_bucket_aggregate.ts b/x-pack/platform/packages/private/ml/agg_utils/src/is_multi_bucket_aggregate.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/is_multi_bucket_aggregate.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/is_multi_bucket_aggregate.ts diff --git a/x-pack/packages/ml/agg_utils/src/time_series_metric_fields.ts b/x-pack/platform/packages/private/ml/agg_utils/src/time_series_metric_fields.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/time_series_metric_fields.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/time_series_metric_fields.ts diff --git a/x-pack/packages/ml/agg_utils/src/type_guards.test.ts b/x-pack/platform/packages/private/ml/agg_utils/src/type_guards.test.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/type_guards.test.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/type_guards.test.ts diff --git a/x-pack/packages/ml/agg_utils/src/type_guards.ts b/x-pack/platform/packages/private/ml/agg_utils/src/type_guards.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/type_guards.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/type_guards.ts diff --git a/x-pack/packages/ml/agg_utils/src/types.ts b/x-pack/platform/packages/private/ml/agg_utils/src/types.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/types.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/types.ts diff --git a/x-pack/packages/ml/agg_utils/src/validate_number.test.ts b/x-pack/platform/packages/private/ml/agg_utils/src/validate_number.test.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/validate_number.test.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/validate_number.test.ts diff --git a/x-pack/packages/ml/agg_utils/src/validate_number.ts b/x-pack/platform/packages/private/ml/agg_utils/src/validate_number.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/validate_number.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/validate_number.ts diff --git a/x-pack/packages/ml/agg_utils/tsconfig.json b/x-pack/platform/packages/private/ml/agg_utils/tsconfig.json similarity index 89% rename from x-pack/packages/ml/agg_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/agg_utils/tsconfig.json index fc8993c828529..8246980e72f2a 100644 --- a/x-pack/packages/ml/agg_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/agg_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/x-pack/packages/ml/aiops_change_point_detection/README.md b/x-pack/platform/packages/private/ml/aiops_change_point_detection/README.md similarity index 100% rename from x-pack/packages/ml/aiops_change_point_detection/README.md rename to x-pack/platform/packages/private/ml/aiops_change_point_detection/README.md diff --git a/x-pack/packages/ml/aiops_change_point_detection/constants.ts b/x-pack/platform/packages/private/ml/aiops_change_point_detection/constants.ts similarity index 100% rename from x-pack/packages/ml/aiops_change_point_detection/constants.ts rename to x-pack/platform/packages/private/ml/aiops_change_point_detection/constants.ts diff --git a/x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js b/x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js new file mode 100644 index 0000000000000..29c2261f5968e --- /dev/null +++ b/x-pack/platform/packages/private/ml/aiops_change_point_detection/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/ml/aiops_change_point_detection'], +}; diff --git a/x-pack/packages/ml/aiops_change_point_detection/kibana.jsonc b/x-pack/platform/packages/private/ml/aiops_change_point_detection/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_change_point_detection/kibana.jsonc rename to x-pack/platform/packages/private/ml/aiops_change_point_detection/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_change_point_detection/package.json b/x-pack/platform/packages/private/ml/aiops_change_point_detection/package.json similarity index 100% rename from x-pack/packages/ml/aiops_change_point_detection/package.json rename to x-pack/platform/packages/private/ml/aiops_change_point_detection/package.json diff --git a/packages/deeplinks/ml/tsconfig.json b/x-pack/platform/packages/private/ml/aiops_change_point_detection/tsconfig.json similarity index 81% rename from packages/deeplinks/ml/tsconfig.json rename to x-pack/platform/packages/private/ml/aiops_change_point_detection/tsconfig.json index d1414086f2187..18d16ae2e8837 100644 --- a/packages/deeplinks/ml/tsconfig.json +++ b/x-pack/platform/packages/private/ml/aiops_change_point_detection/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/ml/aiops_components/README.md b/x-pack/platform/packages/private/ml/aiops_components/README.md similarity index 100% rename from x-pack/packages/ml/aiops_components/README.md rename to x-pack/platform/packages/private/ml/aiops_components/README.md diff --git a/x-pack/packages/ml/aiops_components/index.ts b/x-pack/platform/packages/private/ml/aiops_components/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_components/index.ts rename to x-pack/platform/packages/private/ml/aiops_components/index.ts diff --git a/x-pack/platform/packages/private/ml/aiops_components/jest.config.js b/x-pack/platform/packages/private/ml/aiops_components/jest.config.js new file mode 100644 index 0000000000000..435c591ffdbeb --- /dev/null +++ b/x-pack/platform/packages/private/ml/aiops_components/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/ml/aiops_components'], +}; diff --git a/x-pack/packages/ml/aiops_components/kibana.jsonc b/x-pack/platform/packages/private/ml/aiops_components/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_components/kibana.jsonc rename to x-pack/platform/packages/private/ml/aiops_components/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_components/package.json b/x-pack/platform/packages/private/ml/aiops_components/package.json similarity index 100% rename from x-pack/packages/ml/aiops_components/package.json rename to x-pack/platform/packages/private/ml/aiops_components/package.json diff --git a/x-pack/packages/ml/aiops_components/src/document_count_chart/brush_badge.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/brush_badge.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/document_count_chart/brush_badge.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/brush_badge.tsx diff --git a/x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx diff --git a/x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx diff --git a/x-pack/packages/ml/aiops_components/src/document_count_chart/index.ts b/x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_components/src/document_count_chart/index.ts rename to x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/index.ts diff --git a/x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.scss b/x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush.scss similarity index 100% rename from x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.scss rename to x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush.scss diff --git a/x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush.tsx diff --git a/x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx diff --git a/x-pack/packages/ml/aiops_components/src/dual_brush/index.ts b/x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_components/src/dual_brush/index.ts rename to x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/index.ts diff --git a/x-pack/packages/ml/aiops_components/src/progress_controls/index.ts b/x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_components/src/progress_controls/index.ts rename to x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/index.ts diff --git a/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/progress_controls.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/progress_controls.tsx diff --git a/x-pack/packages/ml/aiops_components/src/progress_controls/use_animated_progress_bar_background.ts b/x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/use_animated_progress_bar_background.ts similarity index 100% rename from x-pack/packages/ml/aiops_components/src/progress_controls/use_animated_progress_bar_background.ts rename to x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/use_animated_progress_bar_background.ts diff --git a/x-pack/packages/ml/aiops_components/tsconfig.json b/x-pack/platform/packages/private/ml/aiops_components/tsconfig.json similarity index 92% rename from x-pack/packages/ml/aiops_components/tsconfig.json rename to x-pack/platform/packages/private/ml/aiops_components/tsconfig.json index 23cf9e9d60d4b..697ba566f34d9 100644 --- a/x-pack/packages/ml/aiops_components/tsconfig.json +++ b/x-pack/platform/packages/private/ml/aiops_components/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/x-pack/packages/ml/aiops_test_utils/README.md b/x-pack/platform/packages/private/ml/aiops_test_utils/README.md similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/README.md rename to x-pack/platform/packages/private/ml/aiops_test_utils/README.md diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/fields.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/fields.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/fields.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/fields.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/filtered_frequent_item_sets.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/filtered_frequent_item_sets.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/filtered_frequent_item_sets.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/filtered_frequent_item_sets.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/final_significant_item_groups.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/final_significant_item_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/final_significant_item_groups.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/final_significant_item_groups.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/final_significant_item_groups_textfield.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/final_significant_item_groups_textfield.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/final_significant_item_groups_textfield.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/final_significant_item_groups_textfield.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/frequent_item_sets.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/frequent_item_sets.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/frequent_item_sets.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/frequent_item_sets.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_item_groups.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_item_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_item_groups.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_item_groups.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_log_patterns.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_log_patterns.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_log_patterns.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_log_patterns.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_terms.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_terms.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_terms.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_terms.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/top_terms.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/top_terms.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/top_terms.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/top_terms.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/top_terms_groups.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/top_terms_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/top_terms_groups.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/top_terms_groups.ts diff --git a/x-pack/packages/ml/aiops_test_utils/farequote/significant_item_groups.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/farequote/significant_item_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/farequote/significant_item_groups.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/farequote/significant_item_groups.ts diff --git a/x-pack/packages/ml/aiops_test_utils/frequent_item_sets_large_arrays.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/frequent_item_sets_large_arrays.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/frequent_item_sets_large_arrays.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/frequent_item_sets_large_arrays.ts diff --git a/x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js b/x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js new file mode 100644 index 0000000000000..356b3d678c445 --- /dev/null +++ b/x-pack/platform/packages/private/ml/aiops_test_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/ml/aiops_test_utils'], +}; diff --git a/x-pack/packages/ml/aiops_test_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/aiops_test_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/aiops_test_utils/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_test_utils/kibana_sample_data_logs/significant_terms.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/kibana_sample_data_logs/significant_terms.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/kibana_sample_data_logs/significant_terms.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/kibana_sample_data_logs/significant_terms.ts diff --git a/x-pack/packages/ml/aiops_test_utils/package.json b/x-pack/platform/packages/private/ml/aiops_test_utils/package.json similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/package.json rename to x-pack/platform/packages/private/ml/aiops_test_utils/package.json diff --git a/x-pack/packages/ml/aiops_test_utils/tsconfig.json b/x-pack/platform/packages/private/ml/aiops_test_utils/tsconfig.json similarity index 83% rename from x-pack/packages/ml/aiops_test_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/aiops_test_utils/tsconfig.json index d9046fb446c1d..ead29b0529fe0 100644 --- a/x-pack/packages/ml/aiops_test_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/aiops_test_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/packages/ml/cancellable_search/README.md b/x-pack/platform/packages/private/ml/cancellable_search/README.md similarity index 100% rename from x-pack/packages/ml/cancellable_search/README.md rename to x-pack/platform/packages/private/ml/cancellable_search/README.md diff --git a/x-pack/packages/ml/cancellable_search/index.ts b/x-pack/platform/packages/private/ml/cancellable_search/index.ts similarity index 100% rename from x-pack/packages/ml/cancellable_search/index.ts rename to x-pack/platform/packages/private/ml/cancellable_search/index.ts diff --git a/x-pack/platform/packages/private/ml/cancellable_search/jest.config.js b/x-pack/platform/packages/private/ml/cancellable_search/jest.config.js new file mode 100644 index 0000000000000..9d89101ba02ba --- /dev/null +++ b/x-pack/platform/packages/private/ml/cancellable_search/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/ml/cancellable_search'], +}; diff --git a/x-pack/packages/ml/cancellable_search/kibana.jsonc b/x-pack/platform/packages/private/ml/cancellable_search/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/cancellable_search/kibana.jsonc rename to x-pack/platform/packages/private/ml/cancellable_search/kibana.jsonc diff --git a/x-pack/packages/ml/cancellable_search/package.json b/x-pack/platform/packages/private/ml/cancellable_search/package.json similarity index 100% rename from x-pack/packages/ml/cancellable_search/package.json rename to x-pack/platform/packages/private/ml/cancellable_search/package.json diff --git a/x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts b/x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts similarity index 100% rename from x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts rename to x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts diff --git a/x-pack/packages/ml/cancellable_search/tsconfig.json b/x-pack/platform/packages/private/ml/cancellable_search/tsconfig.json similarity index 84% rename from x-pack/packages/ml/cancellable_search/tsconfig.json rename to x-pack/platform/packages/private/ml/cancellable_search/tsconfig.json index 096fcd47fd25b..9875b747b7755 100644 --- a/x-pack/packages/ml/cancellable_search/tsconfig.json +++ b/x-pack/platform/packages/private/ml/cancellable_search/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/ml/category_validator/README.md b/x-pack/platform/packages/private/ml/category_validator/README.md similarity index 100% rename from x-pack/packages/ml/category_validator/README.md rename to x-pack/platform/packages/private/ml/category_validator/README.md diff --git a/x-pack/packages/ml/category_validator/common/constants/categorization.ts b/x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts similarity index 100% rename from x-pack/packages/ml/category_validator/common/constants/categorization.ts rename to x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts diff --git a/x-pack/packages/ml/category_validator/common/types/categories.ts b/x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts similarity index 100% rename from x-pack/packages/ml/category_validator/common/types/categories.ts rename to x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts diff --git a/x-pack/packages/ml/category_validator/index.ts b/x-pack/platform/packages/private/ml/category_validator/index.ts similarity index 100% rename from x-pack/packages/ml/category_validator/index.ts rename to x-pack/platform/packages/private/ml/category_validator/index.ts diff --git a/x-pack/platform/packages/private/ml/category_validator/jest.config.js b/x-pack/platform/packages/private/ml/category_validator/jest.config.js new file mode 100644 index 0000000000000..e8cf31682353d --- /dev/null +++ b/x-pack/platform/packages/private/ml/category_validator/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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/category_validator'], +}; diff --git a/x-pack/packages/ml/category_validator/kibana.jsonc b/x-pack/platform/packages/private/ml/category_validator/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/category_validator/kibana.jsonc rename to x-pack/platform/packages/private/ml/category_validator/kibana.jsonc diff --git a/x-pack/packages/ml/category_validator/package.json b/x-pack/platform/packages/private/ml/category_validator/package.json similarity index 100% rename from x-pack/packages/ml/category_validator/package.json rename to x-pack/platform/packages/private/ml/category_validator/package.json diff --git a/x-pack/packages/ml/category_validator/src/examples.ts b/x-pack/platform/packages/private/ml/category_validator/src/examples.ts similarity index 100% rename from x-pack/packages/ml/category_validator/src/examples.ts rename to x-pack/platform/packages/private/ml/category_validator/src/examples.ts diff --git a/x-pack/packages/ml/category_validator/src/util.ts b/x-pack/platform/packages/private/ml/category_validator/src/util.ts similarity index 100% rename from x-pack/packages/ml/category_validator/src/util.ts rename to x-pack/platform/packages/private/ml/category_validator/src/util.ts diff --git a/x-pack/packages/ml/category_validator/src/validation_results.ts b/x-pack/platform/packages/private/ml/category_validator/src/validation_results.ts similarity index 100% rename from x-pack/packages/ml/category_validator/src/validation_results.ts rename to x-pack/platform/packages/private/ml/category_validator/src/validation_results.ts diff --git a/x-pack/packages/ml/category_validator/tsconfig.json b/x-pack/platform/packages/private/ml/category_validator/tsconfig.json similarity index 83% rename from x-pack/packages/ml/category_validator/tsconfig.json rename to x-pack/platform/packages/private/ml/category_validator/tsconfig.json index 51c0faec5b5c0..60f536dcd4d92 100644 --- a/x-pack/packages/ml/category_validator/tsconfig.json +++ b/x-pack/platform/packages/private/ml/category_validator/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/ml/creation_wizard_utils/README.md b/x-pack/platform/packages/private/ml/creation_wizard_utils/README.md similarity index 100% rename from x-pack/packages/ml/creation_wizard_utils/README.md rename to x-pack/platform/packages/private/ml/creation_wizard_utils/README.md diff --git a/x-pack/packages/ml/creation_wizard_utils/components/destination_index_form.tsx b/x-pack/platform/packages/private/ml/creation_wizard_utils/components/destination_index_form.tsx similarity index 100% rename from x-pack/packages/ml/creation_wizard_utils/components/destination_index_form.tsx rename to x-pack/platform/packages/private/ml/creation_wizard_utils/components/destination_index_form.tsx diff --git a/x-pack/packages/ml/creation_wizard_utils/components/use_id_as_index_name_switch.tsx b/x-pack/platform/packages/private/ml/creation_wizard_utils/components/use_id_as_index_name_switch.tsx similarity index 100% rename from x-pack/packages/ml/creation_wizard_utils/components/use_id_as_index_name_switch.tsx rename to x-pack/platform/packages/private/ml/creation_wizard_utils/components/use_id_as_index_name_switch.tsx diff --git a/x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js b/x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js new file mode 100644 index 0000000000000..f86efaebdddda --- /dev/null +++ b/x-pack/platform/packages/private/ml/creation_wizard_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/ml/creation_wizard_utils'], +}; diff --git a/x-pack/packages/ml/creation_wizard_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/creation_wizard_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/creation_wizard_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/creation_wizard_utils/kibana.jsonc diff --git a/x-pack/packages/ml/creation_wizard_utils/package.json b/x-pack/platform/packages/private/ml/creation_wizard_utils/package.json similarity index 100% rename from x-pack/packages/ml/creation_wizard_utils/package.json rename to x-pack/platform/packages/private/ml/creation_wizard_utils/package.json diff --git a/x-pack/packages/ml/trained_models_utils/tsconfig.json b/x-pack/platform/packages/private/ml/creation_wizard_utils/tsconfig.json similarity index 82% rename from x-pack/packages/ml/trained_models_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/creation_wizard_utils/tsconfig.json index df10dcf5b4b50..b87274720351a 100644 --- a/x-pack/packages/ml/trained_models_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/creation_wizard_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/packages/ml/data_frame_analytics_utils/README.md b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/README.md similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/README.md rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/README.md diff --git a/x-pack/packages/ml/data_frame_analytics_utils/index.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/index.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/index.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/index.ts diff --git a/x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js new file mode 100644 index 0000000000000..9c4bcd6447308 --- /dev/null +++ b/x-pack/platform/packages/private/ml/data_frame_analytics_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/ml/data_frame_analytics_utils'], +}; diff --git a/x-pack/packages/ml/data_frame_analytics_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/kibana.jsonc diff --git a/x-pack/packages/ml/data_frame_analytics_utils/package.json b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/package.json similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/package.json rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/package.json diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.test.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.test.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.test.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.test.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_classes.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_classes.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_classes.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_classes.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/types.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/types.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/tsconfig.json b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/tsconfig.json similarity index 87% rename from x-pack/packages/ml/data_frame_analytics_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/tsconfig.json index b3a8f3600a328..952dac2510b37 100644 --- a/x-pack/packages/ml/data_frame_analytics_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/data_frame_analytics_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/packages/ml/data_grid/README.md b/x-pack/platform/packages/private/ml/data_grid/README.md similarity index 100% rename from x-pack/packages/ml/data_grid/README.md rename to x-pack/platform/packages/private/ml/data_grid/README.md diff --git a/x-pack/packages/ml/data_grid/components/column_chart.tsx b/x-pack/platform/packages/private/ml/data_grid/components/column_chart.tsx similarity index 100% rename from x-pack/packages/ml/data_grid/components/column_chart.tsx rename to x-pack/platform/packages/private/ml/data_grid/components/column_chart.tsx diff --git a/x-pack/packages/ml/data_grid/components/data_grid.tsx b/x-pack/platform/packages/private/ml/data_grid/components/data_grid.tsx similarity index 100% rename from x-pack/packages/ml/data_grid/components/data_grid.tsx rename to x-pack/platform/packages/private/ml/data_grid/components/data_grid.tsx diff --git a/x-pack/packages/ml/data_grid/hooks/use_column_chart.test.tsx b/x-pack/platform/packages/private/ml/data_grid/hooks/use_column_chart.test.tsx similarity index 100% rename from x-pack/packages/ml/data_grid/hooks/use_column_chart.test.tsx rename to x-pack/platform/packages/private/ml/data_grid/hooks/use_column_chart.test.tsx diff --git a/x-pack/packages/ml/data_grid/hooks/use_column_chart.tsx b/x-pack/platform/packages/private/ml/data_grid/hooks/use_column_chart.tsx similarity index 100% rename from x-pack/packages/ml/data_grid/hooks/use_column_chart.tsx rename to x-pack/platform/packages/private/ml/data_grid/hooks/use_column_chart.tsx diff --git a/x-pack/packages/ml/data_grid/hooks/use_data_grid.tsx b/x-pack/platform/packages/private/ml/data_grid/hooks/use_data_grid.tsx similarity index 100% rename from x-pack/packages/ml/data_grid/hooks/use_data_grid.tsx rename to x-pack/platform/packages/private/ml/data_grid/hooks/use_data_grid.tsx diff --git a/x-pack/packages/ml/data_grid/index.ts b/x-pack/platform/packages/private/ml/data_grid/index.ts similarity index 100% rename from x-pack/packages/ml/data_grid/index.ts rename to x-pack/platform/packages/private/ml/data_grid/index.ts diff --git a/x-pack/packages/ml/aiops_change_point_detection/jest.config.js b/x-pack/platform/packages/private/ml/data_grid/jest.config.js similarity index 74% rename from x-pack/packages/ml/aiops_change_point_detection/jest.config.js rename to x-pack/platform/packages/private/ml/data_grid/jest.config.js index f6d1246fd9f66..550e09aa8c366 100644 --- a/x-pack/packages/ml/aiops_change_point_detection/jest.config.js +++ b/x-pack/platform/packages/private/ml/data_grid/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/aiops_change_point_detection'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/data_grid'], }; diff --git a/x-pack/packages/ml/data_grid/kibana.jsonc b/x-pack/platform/packages/private/ml/data_grid/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/data_grid/kibana.jsonc rename to x-pack/platform/packages/private/ml/data_grid/kibana.jsonc diff --git a/x-pack/packages/ml/data_grid/lib/common.test.ts b/x-pack/platform/packages/private/ml/data_grid/lib/common.test.ts similarity index 100% rename from x-pack/packages/ml/data_grid/lib/common.test.ts rename to x-pack/platform/packages/private/ml/data_grid/lib/common.test.ts diff --git a/x-pack/packages/ml/data_grid/lib/common.ts b/x-pack/platform/packages/private/ml/data_grid/lib/common.ts similarity index 100% rename from x-pack/packages/ml/data_grid/lib/common.ts rename to x-pack/platform/packages/private/ml/data_grid/lib/common.ts diff --git a/x-pack/packages/ml/data_grid/lib/field_histograms.ts b/x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts similarity index 100% rename from x-pack/packages/ml/data_grid/lib/field_histograms.ts rename to x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts diff --git a/x-pack/packages/ml/data_grid/lib/types.ts b/x-pack/platform/packages/private/ml/data_grid/lib/types.ts similarity index 100% rename from x-pack/packages/ml/data_grid/lib/types.ts rename to x-pack/platform/packages/private/ml/data_grid/lib/types.ts diff --git a/x-pack/packages/ml/data_grid/package.json b/x-pack/platform/packages/private/ml/data_grid/package.json similarity index 100% rename from x-pack/packages/ml/data_grid/package.json rename to x-pack/platform/packages/private/ml/data_grid/package.json diff --git a/x-pack/packages/ml/data_grid/tsconfig.json b/x-pack/platform/packages/private/ml/data_grid/tsconfig.json similarity index 88% rename from x-pack/packages/ml/data_grid/tsconfig.json rename to x-pack/platform/packages/private/ml/data_grid/tsconfig.json index 16e44151edb55..db1fefe7ccca0 100644 --- a/x-pack/packages/ml/data_grid/tsconfig.json +++ b/x-pack/platform/packages/private/ml/data_grid/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ @@ -14,7 +14,7 @@ "include": [ "**/*.ts", "**/*.tsx", - "../../../../typings/emotion.d.ts" + "../../../../../../typings/emotion.d.ts" ], "exclude": [ "target/**/*" diff --git a/x-pack/packages/ml/data_view_utils/README.md b/x-pack/platform/packages/private/ml/data_view_utils/README.md similarity index 100% rename from x-pack/packages/ml/data_view_utils/README.md rename to x-pack/platform/packages/private/ml/data_view_utils/README.md diff --git a/x-pack/packages/ml/data_view_utils/actions/create.ts b/x-pack/platform/packages/private/ml/data_view_utils/actions/create.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/actions/create.ts rename to x-pack/platform/packages/private/ml/data_view_utils/actions/create.ts diff --git a/x-pack/packages/ml/data_view_utils/actions/data_view_handler.ts b/x-pack/platform/packages/private/ml/data_view_utils/actions/data_view_handler.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/actions/data_view_handler.ts rename to x-pack/platform/packages/private/ml/data_view_utils/actions/data_view_handler.ts diff --git a/x-pack/packages/ml/data_view_utils/actions/delete.ts b/x-pack/platform/packages/private/ml/data_view_utils/actions/delete.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/actions/delete.ts rename to x-pack/platform/packages/private/ml/data_view_utils/actions/delete.ts diff --git a/x-pack/packages/ml/data_view_utils/components/create_data_view_form_row.tsx b/x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_form_row.tsx similarity index 100% rename from x-pack/packages/ml/data_view_utils/components/create_data_view_form_row.tsx rename to x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_form_row.tsx diff --git a/x-pack/packages/ml/data_view_utils/components/create_data_view_switch.tsx b/x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_switch.tsx similarity index 100% rename from x-pack/packages/ml/data_view_utils/components/create_data_view_switch.tsx rename to x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_switch.tsx diff --git a/x-pack/packages/ml/data_view_utils/components/create_data_view_time_field.tsx b/x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_time_field.tsx similarity index 100% rename from x-pack/packages/ml/data_view_utils/components/create_data_view_time_field.tsx rename to x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_time_field.tsx diff --git a/x-pack/platform/packages/private/ml/data_view_utils/jest.config.js b/x-pack/platform/packages/private/ml/data_view_utils/jest.config.js new file mode 100644 index 0000000000000..646171178c758 --- /dev/null +++ b/x-pack/platform/packages/private/ml/data_view_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/ml/data_view_utils'], +}; diff --git a/x-pack/packages/ml/data_view_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/data_view_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/data_view_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/data_view_utils/kibana.jsonc diff --git a/x-pack/packages/ml/data_view_utils/package.json b/x-pack/platform/packages/private/ml/data_view_utils/package.json similarity index 100% rename from x-pack/packages/ml/data_view_utils/package.json rename to x-pack/platform/packages/private/ml/data_view_utils/package.json diff --git a/x-pack/packages/ml/data_view_utils/schemas/api_create_query_schema.ts b/x-pack/platform/packages/private/ml/data_view_utils/schemas/api_create_query_schema.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/schemas/api_create_query_schema.ts rename to x-pack/platform/packages/private/ml/data_view_utils/schemas/api_create_query_schema.ts diff --git a/x-pack/packages/ml/data_view_utils/tsconfig.json b/x-pack/platform/packages/private/ml/data_view_utils/tsconfig.json similarity index 87% rename from x-pack/packages/ml/data_view_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/data_view_utils/tsconfig.json index 957b027bc2f20..4c01f381b79d1 100644 --- a/x-pack/packages/ml/data_view_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/data_view_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/packages/ml/data_view_utils/types/api_create_response_schema.ts b/x-pack/platform/packages/private/ml/data_view_utils/types/api_create_response_schema.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/types/api_create_response_schema.ts rename to x-pack/platform/packages/private/ml/data_view_utils/types/api_create_response_schema.ts diff --git a/x-pack/packages/ml/data_view_utils/types/api_delete_response_schema.ts b/x-pack/platform/packages/private/ml/data_view_utils/types/api_delete_response_schema.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/types/api_delete_response_schema.ts rename to x-pack/platform/packages/private/ml/data_view_utils/types/api_delete_response_schema.ts diff --git a/x-pack/packages/ml/date_picker/README.md b/x-pack/platform/packages/private/ml/date_picker/README.md similarity index 100% rename from x-pack/packages/ml/date_picker/README.md rename to x-pack/platform/packages/private/ml/date_picker/README.md diff --git a/x-pack/packages/ml/date_picker/index.ts b/x-pack/platform/packages/private/ml/date_picker/index.ts similarity index 100% rename from x-pack/packages/ml/date_picker/index.ts rename to x-pack/platform/packages/private/ml/date_picker/index.ts diff --git a/x-pack/platform/packages/private/ml/date_picker/jest.config.js b/x-pack/platform/packages/private/ml/date_picker/jest.config.js new file mode 100644 index 0000000000000..87306b61d8bc4 --- /dev/null +++ b/x-pack/platform/packages/private/ml/date_picker/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/ml/date_picker'], +}; diff --git a/x-pack/packages/ml/date_picker/kibana.jsonc b/x-pack/platform/packages/private/ml/date_picker/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/date_picker/kibana.jsonc rename to x-pack/platform/packages/private/ml/date_picker/kibana.jsonc diff --git a/x-pack/packages/ml/date_picker/package.json b/x-pack/platform/packages/private/ml/date_picker/package.json similarity index 100% rename from x-pack/packages/ml/date_picker/package.json rename to x-pack/platform/packages/private/ml/date_picker/package.json diff --git a/x-pack/packages/ml/date_picker/src/components/date_picker_wrapper.test.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.test.tsx similarity index 100% rename from x-pack/packages/ml/date_picker/src/components/date_picker_wrapper.test.tsx rename to x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.test.tsx diff --git a/x-pack/packages/ml/date_picker/src/components/date_picker_wrapper.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx similarity index 100% rename from x-pack/packages/ml/date_picker/src/components/date_picker_wrapper.tsx rename to x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx diff --git a/x-pack/packages/ml/date_picker/src/components/full_time_range_selector.test.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.test.tsx similarity index 100% rename from x-pack/packages/ml/date_picker/src/components/full_time_range_selector.test.tsx rename to x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.test.tsx diff --git a/x-pack/packages/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 similarity index 100% rename from x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx rename to x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx diff --git a/x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx b/x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx similarity index 100% rename from x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx rename to x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx diff --git a/x-pack/packages/ml/date_picker/src/hooks/use_timefilter.test.ts b/x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.test.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/hooks/use_timefilter.test.ts rename to x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.test.ts diff --git a/x-pack/packages/ml/date_picker/src/hooks/use_timefilter.ts b/x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/hooks/use_timefilter.ts rename to x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts diff --git a/x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.test.ts b/x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.test.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.test.ts rename to x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.test.ts diff --git a/x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.ts b/x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.ts rename to x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts diff --git a/x-pack/packages/ml/date_picker/src/services/time_field_range.ts b/x-pack/platform/packages/private/ml/date_picker/src/services/time_field_range.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/services/time_field_range.ts rename to x-pack/platform/packages/private/ml/date_picker/src/services/time_field_range.ts diff --git a/x-pack/packages/ml/date_picker/src/services/timefilter_refresh_service.ts b/x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/services/timefilter_refresh_service.ts rename to x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts diff --git a/x-pack/packages/ml/date_picker/src/services/types.ts b/x-pack/platform/packages/private/ml/date_picker/src/services/types.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/services/types.ts rename to x-pack/platform/packages/private/ml/date_picker/src/services/types.ts diff --git a/x-pack/packages/ml/date_picker/src/storage.ts b/x-pack/platform/packages/private/ml/date_picker/src/storage.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/storage.ts rename to x-pack/platform/packages/private/ml/date_picker/src/storage.ts diff --git a/x-pack/packages/ml/date_picker/tsconfig.json b/x-pack/platform/packages/private/ml/date_picker/tsconfig.json similarity index 90% rename from x-pack/packages/ml/date_picker/tsconfig.json rename to x-pack/platform/packages/private/ml/date_picker/tsconfig.json index d85c1a4cf4613..323eaf200913a 100644 --- a/x-pack/packages/ml/date_picker/tsconfig.json +++ b/x-pack/platform/packages/private/ml/date_picker/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/ml/date_utils/README.md b/x-pack/platform/packages/private/ml/date_utils/README.md similarity index 100% rename from x-pack/packages/ml/date_utils/README.md rename to x-pack/platform/packages/private/ml/date_utils/README.md diff --git a/x-pack/packages/ml/date_utils/index.ts b/x-pack/platform/packages/private/ml/date_utils/index.ts similarity index 100% rename from x-pack/packages/ml/date_utils/index.ts rename to x-pack/platform/packages/private/ml/date_utils/index.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/jest.config.js b/x-pack/platform/packages/private/ml/date_utils/jest.config.js similarity index 74% rename from x-pack/packages/ml/aiops_log_rate_analysis/jest.config.js rename to x-pack/platform/packages/private/ml/date_utils/jest.config.js index bce4baf78402d..2fdf51410786c 100644 --- a/x-pack/packages/ml/aiops_log_rate_analysis/jest.config.js +++ b/x-pack/platform/packages/private/ml/date_utils/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/aiops_log_rate_analysis'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/date_utils'], }; diff --git a/x-pack/packages/ml/date_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/date_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/date_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/date_utils/kibana.jsonc diff --git a/x-pack/packages/ml/date_utils/package.json b/x-pack/platform/packages/private/ml/date_utils/package.json similarity index 100% rename from x-pack/packages/ml/date_utils/package.json rename to x-pack/platform/packages/private/ml/date_utils/package.json diff --git a/x-pack/packages/ml/date_utils/src/date_utils.test.ts b/x-pack/platform/packages/private/ml/date_utils/src/date_utils.test.ts similarity index 100% rename from x-pack/packages/ml/date_utils/src/date_utils.test.ts rename to x-pack/platform/packages/private/ml/date_utils/src/date_utils.test.ts diff --git a/x-pack/packages/ml/date_utils/src/date_utils.ts b/x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts similarity index 100% rename from x-pack/packages/ml/date_utils/src/date_utils.ts rename to x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts diff --git a/x-pack/packages/ml/date_utils/src/time_format.ts b/x-pack/platform/packages/private/ml/date_utils/src/time_format.ts similarity index 100% rename from x-pack/packages/ml/date_utils/src/time_format.ts rename to x-pack/platform/packages/private/ml/date_utils/src/time_format.ts diff --git a/x-pack/packages/ml/date_utils/tsconfig.json b/x-pack/platform/packages/private/ml/date_utils/tsconfig.json similarity index 84% rename from x-pack/packages/ml/date_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/date_utils/tsconfig.json index 5eb9555f8841e..69c45cb343c50 100644 --- a/x-pack/packages/ml/date_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/date_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/packages/ml/field_stats_flyout/README.md b/x-pack/platform/packages/private/ml/field_stats_flyout/README.md similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/README.md rename to x-pack/platform/packages/private/ml/field_stats_flyout/README.md diff --git a/x-pack/packages/ml/field_stats_flyout/field_stats_content.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_content.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/field_stats_content.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_content.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/field_stats_flyout.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/field_stats_flyout.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/field_stats_flyout_provider.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout_provider.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/field_stats_flyout_provider.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout_provider.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/get_kbn_field_icon_types.test.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/get_kbn_field_icon_types.test.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/get_kbn_field_icon_types.test.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/get_kbn_field_icon_types.test.ts diff --git a/x-pack/packages/ml/field_stats_flyout/get_kbn_field_icon_types.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/get_kbn_field_icon_types.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/get_kbn_field_icon_types.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/get_kbn_field_icon_types.ts diff --git a/x-pack/packages/ml/field_stats_flyout/index.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/index.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/index.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/index.ts diff --git a/x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js b/x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js new file mode 100644 index 0000000000000..b73790b1a48a5 --- /dev/null +++ b/x-pack/platform/packages/private/ml/field_stats_flyout/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/ml/field_stats_flyout'], +}; diff --git a/x-pack/packages/ml/field_stats_flyout/kibana.jsonc b/x-pack/platform/packages/private/ml/field_stats_flyout/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/kibana.jsonc rename to x-pack/platform/packages/private/ml/field_stats_flyout/kibana.jsonc diff --git a/x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_popover.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_popover.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_popover.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_popover.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_popover_footer.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_popover_footer.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_popover_footer.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_popover_footer.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/options_list_with_stats/types.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/types.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/options_list_with_stats/types.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/types.ts diff --git a/x-pack/packages/ml/field_stats_flyout/package.json b/x-pack/platform/packages/private/ml/field_stats_flyout/package.json similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/package.json rename to x-pack/platform/packages/private/ml/field_stats_flyout/package.json diff --git a/x-pack/packages/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.test.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.test.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.test.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.test.ts diff --git a/x-pack/packages/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.ts diff --git a/x-pack/packages/ml/field_stats_flyout/populated_fields/index.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/index.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/populated_fields/index.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/index.ts diff --git a/x-pack/packages/ml/field_stats_flyout/populated_fields/populated_fields_cache_manager.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/populated_fields_cache_manager.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/populated_fields/populated_fields_cache_manager.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/populated_fields_cache_manager.ts diff --git a/x-pack/packages/ml/field_stats_flyout/tsconfig.json b/x-pack/platform/packages/private/ml/field_stats_flyout/tsconfig.json similarity index 92% rename from x-pack/packages/ml/field_stats_flyout/tsconfig.json rename to x-pack/platform/packages/private/ml/field_stats_flyout/tsconfig.json index df70aa27788b8..33e65f0cebcae 100644 --- a/x-pack/packages/ml/field_stats_flyout/tsconfig.json +++ b/x-pack/platform/packages/private/ml/field_stats_flyout/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/ml/field_stats_flyout/use_field_stats_flyout_context.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/use_field_stats_flyout_context.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/use_field_stats_flyout_context.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/use_field_stats_flyout_context.ts diff --git a/x-pack/packages/ml/field_stats_flyout/use_field_stats_trigger.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/use_field_stats_trigger.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/use_field_stats_trigger.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/use_field_stats_trigger.tsx diff --git a/x-pack/packages/ml/in_memory_table/README.md b/x-pack/platform/packages/private/ml/in_memory_table/README.md similarity index 100% rename from x-pack/packages/ml/in_memory_table/README.md rename to x-pack/platform/packages/private/ml/in_memory_table/README.md diff --git a/x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts b/x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts similarity index 100% rename from x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts rename to x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts diff --git a/x-pack/packages/ml/in_memory_table/index.ts b/x-pack/platform/packages/private/ml/in_memory_table/index.ts similarity index 100% rename from x-pack/packages/ml/in_memory_table/index.ts rename to x-pack/platform/packages/private/ml/in_memory_table/index.ts diff --git a/x-pack/platform/packages/private/ml/in_memory_table/jest.config.js b/x-pack/platform/packages/private/ml/in_memory_table/jest.config.js new file mode 100644 index 0000000000000..efd1a3a47c989 --- /dev/null +++ b/x-pack/platform/packages/private/ml/in_memory_table/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/ml/in_memory_table'], +}; diff --git a/x-pack/packages/ml/in_memory_table/kibana.jsonc b/x-pack/platform/packages/private/ml/in_memory_table/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/in_memory_table/kibana.jsonc rename to x-pack/platform/packages/private/ml/in_memory_table/kibana.jsonc diff --git a/x-pack/packages/ml/in_memory_table/package.json b/x-pack/platform/packages/private/ml/in_memory_table/package.json similarity index 100% rename from x-pack/packages/ml/in_memory_table/package.json rename to x-pack/platform/packages/private/ml/in_memory_table/package.json diff --git a/x-pack/packages/ml/in_memory_table/tsconfig.json b/x-pack/platform/packages/private/ml/in_memory_table/tsconfig.json similarity index 86% rename from x-pack/packages/ml/in_memory_table/tsconfig.json rename to x-pack/platform/packages/private/ml/in_memory_table/tsconfig.json index 67fc862a62f30..9ddef10b3ed07 100644 --- a/x-pack/packages/ml/in_memory_table/tsconfig.json +++ b/x-pack/platform/packages/private/ml/in_memory_table/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/ml/inference_integration_flyout/README.md b/x-pack/platform/packages/private/ml/inference_integration_flyout/README.md similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/README.md rename to x-pack/platform/packages/private/ml/inference_integration_flyout/README.md diff --git a/x-pack/packages/ml/inference_integration_flyout/components/connect_to_api.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/connect_to_api.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/connect_to_api.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/connect_to_api.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/eland_python_client.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/eland_python_client.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/eland_python_client.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/eland_python_client.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/elasticsearch_models.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/elasticsearch_models.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/elasticsearch_models.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/elasticsearch_models.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/flyout_layout.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/flyout_layout.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/flyout_layout.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/flyout_layout.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/inference_flyout_wrapper.test.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/inference_flyout_wrapper.test.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/inference_flyout_wrapper.test.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/inference_flyout_wrapper.test.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/save_inference_mappings_button.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/save_inference_mappings_button.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/save_inference_mappings_button.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/save_inference_mappings_button.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/service_forms/cohere_form.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/cohere_form.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/service_forms/cohere_form.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/cohere_form.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/service_forms/huggingface_form.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/huggingface_form.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/service_forms/huggingface_form.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/huggingface_form.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/service_forms/openai_form.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/openai_form.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/service_forms/openai_form.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/openai_form.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/service_options.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_options.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/service_options.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_options.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/index.ts b/x-pack/platform/packages/private/ml/inference_integration_flyout/index.ts similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/index.ts rename to x-pack/platform/packages/private/ml/inference_integration_flyout/index.ts diff --git a/x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js b/x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js new file mode 100644 index 0000000000000..81ae0f207bf50 --- /dev/null +++ b/x-pack/platform/packages/private/ml/inference_integration_flyout/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/ml/inference_integration_flyout'], +}; diff --git a/x-pack/packages/ml/inference_integration_flyout/kibana.jsonc b/x-pack/platform/packages/private/ml/inference_integration_flyout/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/kibana.jsonc rename to x-pack/platform/packages/private/ml/inference_integration_flyout/kibana.jsonc diff --git a/x-pack/packages/ml/inference_integration_flyout/lib/shared_values.ts b/x-pack/platform/packages/private/ml/inference_integration_flyout/lib/shared_values.ts similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/lib/shared_values.ts rename to x-pack/platform/packages/private/ml/inference_integration_flyout/lib/shared_values.ts diff --git a/x-pack/packages/ml/inference_integration_flyout/package.json b/x-pack/platform/packages/private/ml/inference_integration_flyout/package.json similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/package.json rename to x-pack/platform/packages/private/ml/inference_integration_flyout/package.json diff --git a/x-pack/packages/ml/inference_integration_flyout/tsconfig.json b/x-pack/platform/packages/private/ml/inference_integration_flyout/tsconfig.json similarity index 85% rename from x-pack/packages/ml/inference_integration_flyout/tsconfig.json rename to x-pack/platform/packages/private/ml/inference_integration_flyout/tsconfig.json index 0b0b6b65972af..b846fdc0972dd 100644 --- a/x-pack/packages/ml/inference_integration_flyout/tsconfig.json +++ b/x-pack/platform/packages/private/ml/inference_integration_flyout/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/ml/inference_integration_flyout/types.ts b/x-pack/platform/packages/private/ml/inference_integration_flyout/types.ts similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/types.ts rename to x-pack/platform/packages/private/ml/inference_integration_flyout/types.ts diff --git a/x-pack/packages/ml/is_defined/README.md b/x-pack/platform/packages/private/ml/is_defined/README.md similarity index 100% rename from x-pack/packages/ml/is_defined/README.md rename to x-pack/platform/packages/private/ml/is_defined/README.md diff --git a/x-pack/packages/ml/is_defined/index.ts b/x-pack/platform/packages/private/ml/is_defined/index.ts similarity index 100% rename from x-pack/packages/ml/is_defined/index.ts rename to x-pack/platform/packages/private/ml/is_defined/index.ts diff --git a/x-pack/platform/packages/private/ml/is_defined/jest.config.js b/x-pack/platform/packages/private/ml/is_defined/jest.config.js new file mode 100644 index 0000000000000..f2be233565d7f --- /dev/null +++ b/x-pack/platform/packages/private/ml/is_defined/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/ml/is_defined'], +}; diff --git a/x-pack/packages/ml/is_defined/kibana.jsonc b/x-pack/platform/packages/private/ml/is_defined/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/is_defined/kibana.jsonc rename to x-pack/platform/packages/private/ml/is_defined/kibana.jsonc diff --git a/x-pack/packages/ml/is_defined/package.json b/x-pack/platform/packages/private/ml/is_defined/package.json similarity index 100% rename from x-pack/packages/ml/is_defined/package.json rename to x-pack/platform/packages/private/ml/is_defined/package.json diff --git a/x-pack/packages/ml/is_defined/src/is_defined.ts b/x-pack/platform/packages/private/ml/is_defined/src/is_defined.ts similarity index 100% rename from x-pack/packages/ml/is_defined/src/is_defined.ts rename to x-pack/platform/packages/private/ml/is_defined/src/is_defined.ts diff --git a/x-pack/packages/ml/aiops_change_point_detection/tsconfig.json b/x-pack/platform/packages/private/ml/is_defined/tsconfig.json similarity index 81% rename from x-pack/packages/ml/aiops_change_point_detection/tsconfig.json rename to x-pack/platform/packages/private/ml/is_defined/tsconfig.json index b05325b824a67..18d16ae2e8837 100644 --- a/x-pack/packages/ml/aiops_change_point_detection/tsconfig.json +++ b/x-pack/platform/packages/private/ml/is_defined/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/ml/is_populated_object/README.md b/x-pack/platform/packages/private/ml/is_populated_object/README.md similarity index 100% rename from x-pack/packages/ml/is_populated_object/README.md rename to x-pack/platform/packages/private/ml/is_populated_object/README.md diff --git a/x-pack/packages/ml/is_populated_object/index.ts b/x-pack/platform/packages/private/ml/is_populated_object/index.ts similarity index 100% rename from x-pack/packages/ml/is_populated_object/index.ts rename to x-pack/platform/packages/private/ml/is_populated_object/index.ts diff --git a/x-pack/platform/packages/private/ml/is_populated_object/jest.config.js b/x-pack/platform/packages/private/ml/is_populated_object/jest.config.js new file mode 100644 index 0000000000000..853897e001cb8 --- /dev/null +++ b/x-pack/platform/packages/private/ml/is_populated_object/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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/is_populated_object'], +}; diff --git a/x-pack/packages/ml/is_populated_object/kibana.jsonc b/x-pack/platform/packages/private/ml/is_populated_object/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/is_populated_object/kibana.jsonc rename to x-pack/platform/packages/private/ml/is_populated_object/kibana.jsonc diff --git a/x-pack/packages/ml/is_populated_object/package.json b/x-pack/platform/packages/private/ml/is_populated_object/package.json similarity index 100% rename from x-pack/packages/ml/is_populated_object/package.json rename to x-pack/platform/packages/private/ml/is_populated_object/package.json diff --git a/x-pack/packages/ml/is_populated_object/src/is_populated_object.test.ts b/x-pack/platform/packages/private/ml/is_populated_object/src/is_populated_object.test.ts similarity index 100% rename from x-pack/packages/ml/is_populated_object/src/is_populated_object.test.ts rename to x-pack/platform/packages/private/ml/is_populated_object/src/is_populated_object.test.ts diff --git a/x-pack/packages/ml/is_populated_object/src/is_populated_object.ts b/x-pack/platform/packages/private/ml/is_populated_object/src/is_populated_object.ts similarity index 100% rename from x-pack/packages/ml/is_populated_object/src/is_populated_object.ts rename to x-pack/platform/packages/private/ml/is_populated_object/src/is_populated_object.ts diff --git a/x-pack/packages/ml/string_hash/tsconfig.json b/x-pack/platform/packages/private/ml/is_populated_object/tsconfig.json similarity index 79% rename from x-pack/packages/ml/string_hash/tsconfig.json rename to x-pack/platform/packages/private/ml/is_populated_object/tsconfig.json index 0036df9dd1a20..4306fab3f0afd 100644 --- a/x-pack/packages/ml/string_hash/tsconfig.json +++ b/x-pack/platform/packages/private/ml/is_populated_object/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/x-pack/packages/ml/json_schemas/README.md b/x-pack/platform/packages/private/ml/json_schemas/README.md similarity index 100% rename from x-pack/packages/ml/json_schemas/README.md rename to x-pack/platform/packages/private/ml/json_schemas/README.md diff --git a/x-pack/packages/ml/json_schemas/index.ts b/x-pack/platform/packages/private/ml/json_schemas/index.ts similarity index 100% rename from x-pack/packages/ml/json_schemas/index.ts rename to x-pack/platform/packages/private/ml/json_schemas/index.ts diff --git a/x-pack/platform/packages/private/ml/json_schemas/jest.config.js b/x-pack/platform/packages/private/ml/json_schemas/jest.config.js new file mode 100644 index 0000000000000..1a62b9c635d59 --- /dev/null +++ b/x-pack/platform/packages/private/ml/json_schemas/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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/json_schemas'], +}; diff --git a/x-pack/packages/ml/json_schemas/kibana.jsonc b/x-pack/platform/packages/private/ml/json_schemas/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/json_schemas/kibana.jsonc rename to x-pack/platform/packages/private/ml/json_schemas/kibana.jsonc diff --git a/x-pack/packages/ml/json_schemas/package.json b/x-pack/platform/packages/private/ml/json_schemas/package.json similarity index 59% rename from x-pack/packages/ml/json_schemas/package.json rename to x-pack/platform/packages/private/ml/json_schemas/package.json index 62e2574b153a5..dfa4afe017258 100644 --- a/x-pack/packages/ml/json_schemas/package.json +++ b/x-pack/platform/packages/private/ml/json_schemas/package.json @@ -4,6 +4,6 @@ "version": "1.0.0", "license": "Elastic License 2.0", "scripts": { - "jsonSchema": "../../../../node_modules/ts-node/dist/bin.js scripts/index.ts" + "jsonSchema": "../../../../../../node_modules/ts-node/dist/bin.js scripts/index.ts" } } diff --git a/x-pack/packages/ml/json_schemas/scripts/index.ts b/x-pack/platform/packages/private/ml/json_schemas/scripts/index.ts similarity index 100% rename from x-pack/packages/ml/json_schemas/scripts/index.ts rename to x-pack/platform/packages/private/ml/json_schemas/scripts/index.ts diff --git a/x-pack/packages/ml/json_schemas/src/json_schema_service.ts b/x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts similarity index 100% rename from x-pack/packages/ml/json_schemas/src/json_schema_service.ts rename to x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts diff --git a/x-pack/packages/ml/json_schemas/src/put___ml_anomaly_detectors__job_id__schema.json b/x-pack/platform/packages/private/ml/json_schemas/src/put___ml_anomaly_detectors__job_id__schema.json similarity index 100% rename from x-pack/packages/ml/json_schemas/src/put___ml_anomaly_detectors__job_id__schema.json rename to x-pack/platform/packages/private/ml/json_schemas/src/put___ml_anomaly_detectors__job_id__schema.json diff --git a/x-pack/packages/ml/json_schemas/src/put___ml_data_frame_analytics__id__schema.json b/x-pack/platform/packages/private/ml/json_schemas/src/put___ml_data_frame_analytics__id__schema.json similarity index 100% rename from x-pack/packages/ml/json_schemas/src/put___ml_data_frame_analytics__id__schema.json rename to x-pack/platform/packages/private/ml/json_schemas/src/put___ml_data_frame_analytics__id__schema.json diff --git a/x-pack/packages/ml/json_schemas/src/put___ml_datafeeds__datafeed_id__schema.json b/x-pack/platform/packages/private/ml/json_schemas/src/put___ml_datafeeds__datafeed_id__schema.json similarity index 100% rename from x-pack/packages/ml/json_schemas/src/put___ml_datafeeds__datafeed_id__schema.json rename to x-pack/platform/packages/private/ml/json_schemas/src/put___ml_datafeeds__datafeed_id__schema.json diff --git a/x-pack/packages/ml/json_schemas/src/put___transform__transform_id___pivot_schema.json b/x-pack/platform/packages/private/ml/json_schemas/src/put___transform__transform_id___pivot_schema.json similarity index 100% rename from x-pack/packages/ml/json_schemas/src/put___transform__transform_id___pivot_schema.json rename to x-pack/platform/packages/private/ml/json_schemas/src/put___transform__transform_id___pivot_schema.json diff --git a/x-pack/packages/ml/json_schemas/src/schema_overrides.ts b/x-pack/platform/packages/private/ml/json_schemas/src/schema_overrides.ts similarity index 100% rename from x-pack/packages/ml/json_schemas/src/schema_overrides.ts rename to x-pack/platform/packages/private/ml/json_schemas/src/schema_overrides.ts diff --git a/x-pack/packages/ml/json_schemas/src/types.ts b/x-pack/platform/packages/private/ml/json_schemas/src/types.ts similarity index 100% rename from x-pack/packages/ml/json_schemas/src/types.ts rename to x-pack/platform/packages/private/ml/json_schemas/src/types.ts diff --git a/x-pack/packages/ml/json_schemas/tsconfig.json b/x-pack/platform/packages/private/ml/json_schemas/tsconfig.json similarity index 82% rename from x-pack/packages/ml/json_schemas/tsconfig.json rename to x-pack/platform/packages/private/ml/json_schemas/tsconfig.json index e036ed4845c6b..07f297b124994 100644 --- a/x-pack/packages/ml/json_schemas/tsconfig.json +++ b/x-pack/platform/packages/private/ml/json_schemas/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/ml/kibana_theme/README.md b/x-pack/platform/packages/private/ml/kibana_theme/README.md similarity index 100% rename from x-pack/packages/ml/kibana_theme/README.md rename to x-pack/platform/packages/private/ml/kibana_theme/README.md diff --git a/x-pack/packages/ml/kibana_theme/index.ts b/x-pack/platform/packages/private/ml/kibana_theme/index.ts similarity index 100% rename from x-pack/packages/ml/kibana_theme/index.ts rename to x-pack/platform/packages/private/ml/kibana_theme/index.ts diff --git a/x-pack/platform/packages/private/ml/kibana_theme/jest.config.js b/x-pack/platform/packages/private/ml/kibana_theme/jest.config.js new file mode 100644 index 0000000000000..98e6c95b278b3 --- /dev/null +++ b/x-pack/platform/packages/private/ml/kibana_theme/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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/kibana_theme'], +}; diff --git a/x-pack/packages/ml/kibana_theme/kibana.jsonc b/x-pack/platform/packages/private/ml/kibana_theme/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/kibana_theme/kibana.jsonc rename to x-pack/platform/packages/private/ml/kibana_theme/kibana.jsonc diff --git a/x-pack/packages/ml/kibana_theme/package.json b/x-pack/platform/packages/private/ml/kibana_theme/package.json similarity index 100% rename from x-pack/packages/ml/kibana_theme/package.json rename to x-pack/platform/packages/private/ml/kibana_theme/package.json diff --git a/x-pack/packages/ml/kibana_theme/src/hooks.ts b/x-pack/platform/packages/private/ml/kibana_theme/src/hooks.ts similarity index 100% rename from x-pack/packages/ml/kibana_theme/src/hooks.ts rename to x-pack/platform/packages/private/ml/kibana_theme/src/hooks.ts diff --git a/x-pack/packages/ml/kibana_theme/tsconfig.json b/x-pack/platform/packages/private/ml/kibana_theme/tsconfig.json similarity index 83% rename from x-pack/packages/ml/kibana_theme/tsconfig.json rename to x-pack/platform/packages/private/ml/kibana_theme/tsconfig.json index 9783a201c7e75..263f34ba27581 100644 --- a/x-pack/packages/ml/kibana_theme/tsconfig.json +++ b/x-pack/platform/packages/private/ml/kibana_theme/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/ml/local_storage/README.md b/x-pack/platform/packages/private/ml/local_storage/README.md similarity index 100% rename from x-pack/packages/ml/local_storage/README.md rename to x-pack/platform/packages/private/ml/local_storage/README.md diff --git a/x-pack/packages/ml/local_storage/index.ts b/x-pack/platform/packages/private/ml/local_storage/index.ts similarity index 100% rename from x-pack/packages/ml/local_storage/index.ts rename to x-pack/platform/packages/private/ml/local_storage/index.ts diff --git a/x-pack/platform/packages/private/ml/local_storage/jest.config.js b/x-pack/platform/packages/private/ml/local_storage/jest.config.js new file mode 100644 index 0000000000000..79d5f350a3871 --- /dev/null +++ b/x-pack/platform/packages/private/ml/local_storage/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/ml/local_storage'], +}; diff --git a/x-pack/packages/ml/local_storage/kibana.jsonc b/x-pack/platform/packages/private/ml/local_storage/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/local_storage/kibana.jsonc rename to x-pack/platform/packages/private/ml/local_storage/kibana.jsonc diff --git a/x-pack/packages/ml/local_storage/package.json b/x-pack/platform/packages/private/ml/local_storage/package.json similarity index 100% rename from x-pack/packages/ml/local_storage/package.json rename to x-pack/platform/packages/private/ml/local_storage/package.json diff --git a/x-pack/packages/ml/local_storage/src/storage_context.tsx b/x-pack/platform/packages/private/ml/local_storage/src/storage_context.tsx similarity index 100% rename from x-pack/packages/ml/local_storage/src/storage_context.tsx rename to x-pack/platform/packages/private/ml/local_storage/src/storage_context.tsx diff --git a/x-pack/packages/ml/local_storage/tsconfig.json b/x-pack/platform/packages/private/ml/local_storage/tsconfig.json similarity index 84% rename from x-pack/packages/ml/local_storage/tsconfig.json rename to x-pack/platform/packages/private/ml/local_storage/tsconfig.json index 23b139e6f3aeb..32660382b94eb 100644 --- a/x-pack/packages/ml/local_storage/tsconfig.json +++ b/x-pack/platform/packages/private/ml/local_storage/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/ml/nested_property/README.md b/x-pack/platform/packages/private/ml/nested_property/README.md similarity index 100% rename from x-pack/packages/ml/nested_property/README.md rename to x-pack/platform/packages/private/ml/nested_property/README.md diff --git a/x-pack/packages/ml/nested_property/index.ts b/x-pack/platform/packages/private/ml/nested_property/index.ts similarity index 100% rename from x-pack/packages/ml/nested_property/index.ts rename to x-pack/platform/packages/private/ml/nested_property/index.ts diff --git a/x-pack/platform/packages/private/ml/nested_property/jest.config.js b/x-pack/platform/packages/private/ml/nested_property/jest.config.js new file mode 100644 index 0000000000000..05e4ab37147db --- /dev/null +++ b/x-pack/platform/packages/private/ml/nested_property/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/ml/nested_property'], +}; diff --git a/x-pack/packages/ml/nested_property/kibana.jsonc b/x-pack/platform/packages/private/ml/nested_property/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/nested_property/kibana.jsonc rename to x-pack/platform/packages/private/ml/nested_property/kibana.jsonc diff --git a/x-pack/packages/ml/nested_property/package.json b/x-pack/platform/packages/private/ml/nested_property/package.json similarity index 100% rename from x-pack/packages/ml/nested_property/package.json rename to x-pack/platform/packages/private/ml/nested_property/package.json diff --git a/x-pack/packages/ml/nested_property/src/get_nested_property.test.ts b/x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.test.ts similarity index 100% rename from x-pack/packages/ml/nested_property/src/get_nested_property.test.ts rename to x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.test.ts diff --git a/x-pack/packages/ml/nested_property/src/get_nested_property.ts b/x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.ts similarity index 100% rename from x-pack/packages/ml/nested_property/src/get_nested_property.ts rename to x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.ts diff --git a/x-pack/packages/ml/nested_property/src/set_nested_property.test.ts b/x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.test.ts similarity index 100% rename from x-pack/packages/ml/nested_property/src/set_nested_property.test.ts rename to x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.test.ts diff --git a/x-pack/packages/ml/nested_property/src/set_nested_property.ts b/x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.ts similarity index 100% rename from x-pack/packages/ml/nested_property/src/set_nested_property.ts rename to x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.ts diff --git a/x-pack/packages/ml/nested_property/tsconfig.json b/x-pack/platform/packages/private/ml/nested_property/tsconfig.json similarity index 80% rename from x-pack/packages/ml/nested_property/tsconfig.json rename to x-pack/platform/packages/private/ml/nested_property/tsconfig.json index 693d1ee9ce31e..2b9453a424187 100644 --- a/x-pack/packages/ml/nested_property/tsconfig.json +++ b/x-pack/platform/packages/private/ml/nested_property/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/ml/number_utils/README.md b/x-pack/platform/packages/private/ml/number_utils/README.md similarity index 100% rename from x-pack/packages/ml/number_utils/README.md rename to x-pack/platform/packages/private/ml/number_utils/README.md diff --git a/x-pack/packages/ml/number_utils/index.ts b/x-pack/platform/packages/private/ml/number_utils/index.ts similarity index 100% rename from x-pack/packages/ml/number_utils/index.ts rename to x-pack/platform/packages/private/ml/number_utils/index.ts diff --git a/x-pack/platform/packages/private/ml/number_utils/jest.config.js b/x-pack/platform/packages/private/ml/number_utils/jest.config.js new file mode 100644 index 0000000000000..30b8a2f58cdc3 --- /dev/null +++ b/x-pack/platform/packages/private/ml/number_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/ml/number_utils'], +}; diff --git a/x-pack/packages/ml/number_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/number_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/number_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/number_utils/kibana.jsonc diff --git a/x-pack/packages/ml/number_utils/package.json b/x-pack/platform/packages/private/ml/number_utils/package.json similarity index 100% rename from x-pack/packages/ml/number_utils/package.json rename to x-pack/platform/packages/private/ml/number_utils/package.json diff --git a/x-pack/packages/ml/number_utils/src/round_to_decimal_place.test.ts b/x-pack/platform/packages/private/ml/number_utils/src/round_to_decimal_place.test.ts similarity index 100% rename from x-pack/packages/ml/number_utils/src/round_to_decimal_place.test.ts rename to x-pack/platform/packages/private/ml/number_utils/src/round_to_decimal_place.test.ts diff --git a/x-pack/packages/ml/number_utils/src/round_to_decimal_place.ts b/x-pack/platform/packages/private/ml/number_utils/src/round_to_decimal_place.ts similarity index 100% rename from x-pack/packages/ml/number_utils/src/round_to_decimal_place.ts rename to x-pack/platform/packages/private/ml/number_utils/src/round_to_decimal_place.ts diff --git a/x-pack/packages/ml/chi2test/tsconfig.json b/x-pack/platform/packages/private/ml/number_utils/tsconfig.json similarity index 81% rename from x-pack/packages/ml/chi2test/tsconfig.json rename to x-pack/platform/packages/private/ml/number_utils/tsconfig.json index b05325b824a67..18d16ae2e8837 100644 --- a/x-pack/packages/ml/chi2test/tsconfig.json +++ b/x-pack/platform/packages/private/ml/number_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/packages/ml/parse_interval/README.md b/x-pack/platform/packages/private/ml/parse_interval/README.md similarity index 100% rename from x-pack/packages/ml/parse_interval/README.md rename to x-pack/platform/packages/private/ml/parse_interval/README.md diff --git a/x-pack/packages/ml/parse_interval/index.ts b/x-pack/platform/packages/private/ml/parse_interval/index.ts similarity index 100% rename from x-pack/packages/ml/parse_interval/index.ts rename to x-pack/platform/packages/private/ml/parse_interval/index.ts diff --git a/x-pack/platform/packages/private/ml/parse_interval/jest.config.js b/x-pack/platform/packages/private/ml/parse_interval/jest.config.js new file mode 100644 index 0000000000000..553e68f10c738 --- /dev/null +++ b/x-pack/platform/packages/private/ml/parse_interval/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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/parse_interval'], +}; diff --git a/x-pack/packages/ml/parse_interval/kibana.jsonc b/x-pack/platform/packages/private/ml/parse_interval/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/parse_interval/kibana.jsonc rename to x-pack/platform/packages/private/ml/parse_interval/kibana.jsonc diff --git a/x-pack/packages/ml/parse_interval/package.json b/x-pack/platform/packages/private/ml/parse_interval/package.json similarity index 100% rename from x-pack/packages/ml/parse_interval/package.json rename to x-pack/platform/packages/private/ml/parse_interval/package.json diff --git a/x-pack/packages/ml/parse_interval/parse_interval.test.ts b/x-pack/platform/packages/private/ml/parse_interval/parse_interval.test.ts similarity index 100% rename from x-pack/packages/ml/parse_interval/parse_interval.test.ts rename to x-pack/platform/packages/private/ml/parse_interval/parse_interval.test.ts diff --git a/x-pack/packages/ml/parse_interval/parse_interval.ts b/x-pack/platform/packages/private/ml/parse_interval/parse_interval.ts similarity index 100% rename from x-pack/packages/ml/parse_interval/parse_interval.ts rename to x-pack/platform/packages/private/ml/parse_interval/parse_interval.ts diff --git a/x-pack/packages/ml/parse_interval/tsconfig.json b/x-pack/platform/packages/private/ml/parse_interval/tsconfig.json similarity index 81% rename from x-pack/packages/ml/parse_interval/tsconfig.json rename to x-pack/platform/packages/private/ml/parse_interval/tsconfig.json index e1bbb08bab509..4eae15a6d2a24 100644 --- a/x-pack/packages/ml/parse_interval/tsconfig.json +++ b/x-pack/platform/packages/private/ml/parse_interval/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/ml/query_utils/README.md b/x-pack/platform/packages/private/ml/query_utils/README.md similarity index 100% rename from x-pack/packages/ml/query_utils/README.md rename to x-pack/platform/packages/private/ml/query_utils/README.md diff --git a/x-pack/packages/ml/query_utils/index.ts b/x-pack/platform/packages/private/ml/query_utils/index.ts similarity index 100% rename from x-pack/packages/ml/query_utils/index.ts rename to x-pack/platform/packages/private/ml/query_utils/index.ts diff --git a/x-pack/platform/packages/private/ml/query_utils/jest.config.js b/x-pack/platform/packages/private/ml/query_utils/jest.config.js new file mode 100644 index 0000000000000..e3ff59ad969d7 --- /dev/null +++ b/x-pack/platform/packages/private/ml/query_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/ml/query_utils'], +}; diff --git a/x-pack/packages/ml/query_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/query_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/query_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/query_utils/kibana.jsonc diff --git a/x-pack/packages/ml/query_utils/package.json b/x-pack/platform/packages/private/ml/query_utils/package.json similarity index 100% rename from x-pack/packages/ml/query_utils/package.json rename to x-pack/platform/packages/private/ml/query_utils/package.json diff --git a/x-pack/packages/ml/query_utils/src/__mocks__/simple_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/__mocks__/simple_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/__mocks__/simple_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/__mocks__/simple_query.ts diff --git a/x-pack/packages/ml/query_utils/src/add_exclude_frozen_to_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/add_exclude_frozen_to_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/add_exclude_frozen_to_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/add_exclude_frozen_to_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/add_exclude_frozen_to_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/add_exclude_frozen_to_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/add_exclude_frozen_to_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/add_exclude_frozen_to_query.ts diff --git a/x-pack/packages/ml/query_utils/src/bool_filter_based_simple_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/bool_filter_based_simple_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/bool_filter_based_simple_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/bool_filter_based_simple_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/bool_filter_based_simple_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/bool_filter_based_simple_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/bool_filter_based_simple_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/bool_filter_based_simple_query.ts diff --git a/x-pack/packages/ml/query_utils/src/build_base_filter_criteria.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/build_base_filter_criteria.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.test.ts diff --git a/x-pack/packages/ml/query_utils/src/build_base_filter_criteria.ts b/x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/build_base_filter_criteria.ts rename to x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.ts diff --git a/x-pack/packages/ml/query_utils/src/default_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/default_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/default_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/default_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/default_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/default_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/default_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/default_query.ts diff --git a/x-pack/packages/ml/query_utils/src/es_client_total_hits_relation.ts b/x-pack/platform/packages/private/ml/query_utils/src/es_client_total_hits_relation.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/es_client_total_hits_relation.ts rename to x-pack/platform/packages/private/ml/query_utils/src/es_client_total_hits_relation.ts diff --git a/x-pack/packages/ml/query_utils/src/filter_based_default_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/filter_based_default_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/filter_based_default_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/filter_based_default_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/filter_based_default_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/filter_based_default_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/filter_based_default_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/filter_based_default_query.ts diff --git a/x-pack/packages/ml/query_utils/src/get_default_dsl_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/get_default_dsl_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/get_default_dsl_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/get_default_dsl_query.ts diff --git a/x-pack/packages/ml/query_utils/src/get_safe_aggregation_name.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/get_safe_aggregation_name.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/get_safe_aggregation_name.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/get_safe_aggregation_name.test.ts diff --git a/x-pack/packages/ml/query_utils/src/get_safe_aggregation_name.ts b/x-pack/platform/packages/private/ml/query_utils/src/get_safe_aggregation_name.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/get_safe_aggregation_name.ts rename to x-pack/platform/packages/private/ml/query_utils/src/get_safe_aggregation_name.ts diff --git a/x-pack/packages/ml/query_utils/src/match_all_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/match_all_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/match_all_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/match_all_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/match_all_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/match_all_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/match_all_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/match_all_query.ts diff --git a/x-pack/packages/ml/query_utils/src/simple_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/simple_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/simple_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/simple_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/simple_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/simple_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/simple_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/simple_query.ts diff --git a/x-pack/packages/ml/query_utils/src/types.ts b/x-pack/platform/packages/private/ml/query_utils/src/types.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/types.ts rename to x-pack/platform/packages/private/ml/query_utils/src/types.ts diff --git a/x-pack/packages/ml/query_utils/tsconfig.json b/x-pack/platform/packages/private/ml/query_utils/tsconfig.json similarity index 84% rename from x-pack/packages/ml/query_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/query_utils/tsconfig.json index acdb082c874b7..fc68fe24642a3 100644 --- a/x-pack/packages/ml/query_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/query_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/packages/ml/route_utils/README.md b/x-pack/platform/packages/private/ml/route_utils/README.md similarity index 100% rename from x-pack/packages/ml/route_utils/README.md rename to x-pack/platform/packages/private/ml/route_utils/README.md diff --git a/x-pack/packages/ml/route_utils/index.ts b/x-pack/platform/packages/private/ml/route_utils/index.ts similarity index 100% rename from x-pack/packages/ml/route_utils/index.ts rename to x-pack/platform/packages/private/ml/route_utils/index.ts diff --git a/x-pack/platform/packages/private/ml/route_utils/jest.config.js b/x-pack/platform/packages/private/ml/route_utils/jest.config.js new file mode 100644 index 0000000000000..11409dc629a0a --- /dev/null +++ b/x-pack/platform/packages/private/ml/route_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/ml/route_utils'], +}; diff --git a/x-pack/packages/ml/route_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/route_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/route_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/route_utils/kibana.jsonc diff --git a/x-pack/packages/ml/route_utils/package.json b/x-pack/platform/packages/private/ml/route_utils/package.json similarity index 100% rename from x-pack/packages/ml/route_utils/package.json rename to x-pack/platform/packages/private/ml/route_utils/package.json diff --git a/x-pack/packages/ml/route_utils/src/create_execution_context.test.ts b/x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.test.ts similarity index 100% rename from x-pack/packages/ml/route_utils/src/create_execution_context.test.ts rename to x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.test.ts diff --git a/x-pack/packages/ml/route_utils/src/create_execution_context.ts b/x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts similarity index 100% rename from x-pack/packages/ml/route_utils/src/create_execution_context.ts rename to x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts diff --git a/x-pack/packages/ml/route_utils/tsconfig.json b/x-pack/platform/packages/private/ml/route_utils/tsconfig.json similarity index 84% rename from x-pack/packages/ml/route_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/route_utils/tsconfig.json index d7a348f37f8e8..b346b9a234a51 100644 --- a/x-pack/packages/ml/route_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/route_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/packages/ml/string_hash/README.md b/x-pack/platform/packages/private/ml/string_hash/README.md similarity index 100% rename from x-pack/packages/ml/string_hash/README.md rename to x-pack/platform/packages/private/ml/string_hash/README.md diff --git a/x-pack/packages/ml/string_hash/index.ts b/x-pack/platform/packages/private/ml/string_hash/index.ts similarity index 100% rename from x-pack/packages/ml/string_hash/index.ts rename to x-pack/platform/packages/private/ml/string_hash/index.ts diff --git a/x-pack/packages/ml/agg_utils/jest.config.js b/x-pack/platform/packages/private/ml/string_hash/jest.config.js similarity index 74% rename from x-pack/packages/ml/agg_utils/jest.config.js rename to x-pack/platform/packages/private/ml/string_hash/jest.config.js index a22a76d5bf951..c15c13d767054 100644 --- a/x-pack/packages/ml/agg_utils/jest.config.js +++ b/x-pack/platform/packages/private/ml/string_hash/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/agg_utils'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/string_hash'], }; diff --git a/x-pack/packages/ml/string_hash/kibana.jsonc b/x-pack/platform/packages/private/ml/string_hash/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/string_hash/kibana.jsonc rename to x-pack/platform/packages/private/ml/string_hash/kibana.jsonc diff --git a/x-pack/packages/ml/string_hash/package.json b/x-pack/platform/packages/private/ml/string_hash/package.json similarity index 100% rename from x-pack/packages/ml/string_hash/package.json rename to x-pack/platform/packages/private/ml/string_hash/package.json diff --git a/x-pack/packages/ml/string_hash/src/string_hash.test.ts b/x-pack/platform/packages/private/ml/string_hash/src/string_hash.test.ts similarity index 100% rename from x-pack/packages/ml/string_hash/src/string_hash.test.ts rename to x-pack/platform/packages/private/ml/string_hash/src/string_hash.test.ts diff --git a/x-pack/packages/ml/string_hash/src/string_hash.ts b/x-pack/platform/packages/private/ml/string_hash/src/string_hash.ts similarity index 100% rename from x-pack/packages/ml/string_hash/src/string_hash.ts rename to x-pack/platform/packages/private/ml/string_hash/src/string_hash.ts diff --git a/x-pack/packages/ml/is_populated_object/tsconfig.json b/x-pack/platform/packages/private/ml/string_hash/tsconfig.json similarity index 79% rename from x-pack/packages/ml/is_populated_object/tsconfig.json rename to x-pack/platform/packages/private/ml/string_hash/tsconfig.json index 0036df9dd1a20..4306fab3f0afd 100644 --- a/x-pack/packages/ml/is_populated_object/tsconfig.json +++ b/x-pack/platform/packages/private/ml/string_hash/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/x-pack/packages/ml/time_buckets/README.md b/x-pack/platform/packages/private/ml/time_buckets/README.md similarity index 100% rename from x-pack/packages/ml/time_buckets/README.md rename to x-pack/platform/packages/private/ml/time_buckets/README.md diff --git a/x-pack/packages/ml/time_buckets/calc_auto_interval.js b/x-pack/platform/packages/private/ml/time_buckets/calc_auto_interval.js similarity index 100% rename from x-pack/packages/ml/time_buckets/calc_auto_interval.js rename to x-pack/platform/packages/private/ml/time_buckets/calc_auto_interval.js diff --git a/x-pack/packages/ml/time_buckets/calc_auto_interval.test.js b/x-pack/platform/packages/private/ml/time_buckets/calc_auto_interval.test.js similarity index 100% rename from x-pack/packages/ml/time_buckets/calc_auto_interval.test.js rename to x-pack/platform/packages/private/ml/time_buckets/calc_auto_interval.test.js diff --git a/x-pack/packages/ml/time_buckets/index.ts b/x-pack/platform/packages/private/ml/time_buckets/index.ts similarity index 100% rename from x-pack/packages/ml/time_buckets/index.ts rename to x-pack/platform/packages/private/ml/time_buckets/index.ts diff --git a/x-pack/platform/packages/private/ml/time_buckets/jest.config.js b/x-pack/platform/packages/private/ml/time_buckets/jest.config.js new file mode 100644 index 0000000000000..108e234fc66e4 --- /dev/null +++ b/x-pack/platform/packages/private/ml/time_buckets/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/ml/time_buckets'], +}; diff --git a/x-pack/packages/ml/time_buckets/kibana.jsonc b/x-pack/platform/packages/private/ml/time_buckets/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/time_buckets/kibana.jsonc rename to x-pack/platform/packages/private/ml/time_buckets/kibana.jsonc diff --git a/x-pack/packages/ml/time_buckets/package.json b/x-pack/platform/packages/private/ml/time_buckets/package.json similarity index 100% rename from x-pack/packages/ml/time_buckets/package.json rename to x-pack/platform/packages/private/ml/time_buckets/package.json diff --git a/x-pack/packages/ml/time_buckets/parse_interval.ts b/x-pack/platform/packages/private/ml/time_buckets/parse_interval.ts similarity index 100% rename from x-pack/packages/ml/time_buckets/parse_interval.ts rename to x-pack/platform/packages/private/ml/time_buckets/parse_interval.ts diff --git a/x-pack/packages/ml/time_buckets/time_buckets.d.ts b/x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts similarity index 100% rename from x-pack/packages/ml/time_buckets/time_buckets.d.ts rename to x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts diff --git a/x-pack/packages/ml/time_buckets/time_buckets.js b/x-pack/platform/packages/private/ml/time_buckets/time_buckets.js similarity index 100% rename from x-pack/packages/ml/time_buckets/time_buckets.js rename to x-pack/platform/packages/private/ml/time_buckets/time_buckets.js diff --git a/x-pack/packages/ml/time_buckets/time_buckets.test.js b/x-pack/platform/packages/private/ml/time_buckets/time_buckets.test.js similarity index 100% rename from x-pack/packages/ml/time_buckets/time_buckets.test.js rename to x-pack/platform/packages/private/ml/time_buckets/time_buckets.test.js diff --git a/x-pack/packages/ml/time_buckets/tsconfig.json b/x-pack/platform/packages/private/ml/time_buckets/tsconfig.json similarity index 85% rename from x-pack/packages/ml/time_buckets/tsconfig.json rename to x-pack/platform/packages/private/ml/time_buckets/tsconfig.json index 234950c8bbb52..472be1a7a547e 100644 --- a/x-pack/packages/ml/time_buckets/tsconfig.json +++ b/x-pack/platform/packages/private/ml/time_buckets/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/ml/time_buckets/use_time_buckets.ts b/x-pack/platform/packages/private/ml/time_buckets/use_time_buckets.ts similarity index 100% rename from x-pack/packages/ml/time_buckets/use_time_buckets.ts rename to x-pack/platform/packages/private/ml/time_buckets/use_time_buckets.ts diff --git a/x-pack/packages/ml/ui_actions/README.md b/x-pack/platform/packages/private/ml/ui_actions/README.md similarity index 100% rename from x-pack/packages/ml/ui_actions/README.md rename to x-pack/platform/packages/private/ml/ui_actions/README.md diff --git a/x-pack/packages/ml/ui_actions/index.ts b/x-pack/platform/packages/private/ml/ui_actions/index.ts similarity index 100% rename from x-pack/packages/ml/ui_actions/index.ts rename to x-pack/platform/packages/private/ml/ui_actions/index.ts diff --git a/x-pack/packages/ml/category_validator/jest.config.js b/x-pack/platform/packages/private/ml/ui_actions/jest.config.js similarity index 75% rename from x-pack/packages/ml/category_validator/jest.config.js rename to x-pack/platform/packages/private/ml/ui_actions/jest.config.js index 16140d5a9b1f7..b6660b8915a6c 100644 --- a/x-pack/packages/ml/category_validator/jest.config.js +++ b/x-pack/platform/packages/private/ml/ui_actions/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/category_validator'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/ui_actions'], }; diff --git a/x-pack/packages/ml/ui_actions/kibana.jsonc b/x-pack/platform/packages/private/ml/ui_actions/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/ui_actions/kibana.jsonc rename to x-pack/platform/packages/private/ml/ui_actions/kibana.jsonc diff --git a/x-pack/packages/ml/ui_actions/package.json b/x-pack/platform/packages/private/ml/ui_actions/package.json similarity index 100% rename from x-pack/packages/ml/ui_actions/package.json rename to x-pack/platform/packages/private/ml/ui_actions/package.json diff --git a/x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts b/x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts similarity index 100% rename from x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts rename to x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts diff --git a/x-pack/packages/ml/ui_actions/src/ml/ui_actions.ts b/x-pack/platform/packages/private/ml/ui_actions/src/ml/ui_actions.ts similarity index 100% rename from x-pack/packages/ml/ui_actions/src/ml/ui_actions.ts rename to x-pack/platform/packages/private/ml/ui_actions/src/ml/ui_actions.ts diff --git a/x-pack/packages/ml/ui_actions/tsconfig.json b/x-pack/platform/packages/private/ml/ui_actions/tsconfig.json similarity index 85% rename from x-pack/packages/ml/ui_actions/tsconfig.json rename to x-pack/platform/packages/private/ml/ui_actions/tsconfig.json index ca3f66082b5c9..05e1553704748 100644 --- a/x-pack/packages/ml/ui_actions/tsconfig.json +++ b/x-pack/platform/packages/private/ml/ui_actions/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/ml/url_state/README.md b/x-pack/platform/packages/private/ml/url_state/README.md similarity index 100% rename from x-pack/packages/ml/url_state/README.md rename to x-pack/platform/packages/private/ml/url_state/README.md diff --git a/x-pack/packages/ml/url_state/index.ts b/x-pack/platform/packages/private/ml/url_state/index.ts similarity index 100% rename from x-pack/packages/ml/url_state/index.ts rename to x-pack/platform/packages/private/ml/url_state/index.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/jest.config.js b/x-pack/platform/packages/private/ml/url_state/jest.config.js similarity index 74% rename from x-pack/packages/ml/aiops_log_pattern_analysis/jest.config.js rename to x-pack/platform/packages/private/ml/url_state/jest.config.js index a8495ca86189f..afe5a25fa0a04 100644 --- a/x-pack/packages/ml/aiops_log_pattern_analysis/jest.config.js +++ b/x-pack/platform/packages/private/ml/url_state/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/aiops_log_pattern_analysis'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/url_state'], }; diff --git a/x-pack/packages/ml/url_state/kibana.jsonc b/x-pack/platform/packages/private/ml/url_state/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/url_state/kibana.jsonc rename to x-pack/platform/packages/private/ml/url_state/kibana.jsonc diff --git a/x-pack/packages/ml/url_state/package.json b/x-pack/platform/packages/private/ml/url_state/package.json similarity index 100% rename from x-pack/packages/ml/url_state/package.json rename to x-pack/platform/packages/private/ml/url_state/package.json diff --git a/x-pack/packages/ml/url_state/src/url_state.test.tsx b/x-pack/platform/packages/private/ml/url_state/src/url_state.test.tsx similarity index 100% rename from x-pack/packages/ml/url_state/src/url_state.test.tsx rename to x-pack/platform/packages/private/ml/url_state/src/url_state.test.tsx diff --git a/x-pack/packages/ml/url_state/src/url_state.tsx b/x-pack/platform/packages/private/ml/url_state/src/url_state.tsx similarity index 100% rename from x-pack/packages/ml/url_state/src/url_state.tsx rename to x-pack/platform/packages/private/ml/url_state/src/url_state.tsx diff --git a/x-pack/packages/ml/url_state/tsconfig.json b/x-pack/platform/packages/private/ml/url_state/tsconfig.json similarity index 85% rename from x-pack/packages/ml/url_state/tsconfig.json rename to x-pack/platform/packages/private/ml/url_state/tsconfig.json index a28af8027f17d..192c3142fce78 100644 --- a/x-pack/packages/ml/url_state/tsconfig.json +++ b/x-pack/platform/packages/private/ml/url_state/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/ml/validators/README.md b/x-pack/platform/packages/private/ml/validators/README.md similarity index 100% rename from x-pack/packages/ml/validators/README.md rename to x-pack/platform/packages/private/ml/validators/README.md diff --git a/x-pack/packages/ml/validators/constants.ts b/x-pack/platform/packages/private/ml/validators/constants.ts similarity index 100% rename from x-pack/packages/ml/validators/constants.ts rename to x-pack/platform/packages/private/ml/validators/constants.ts diff --git a/x-pack/packages/ml/validators/index.ts b/x-pack/platform/packages/private/ml/validators/index.ts similarity index 100% rename from x-pack/packages/ml/validators/index.ts rename to x-pack/platform/packages/private/ml/validators/index.ts diff --git a/x-pack/packages/ml/is_populated_object/jest.config.js b/x-pack/platform/packages/private/ml/validators/jest.config.js similarity index 75% rename from x-pack/packages/ml/is_populated_object/jest.config.js rename to x-pack/platform/packages/private/ml/validators/jest.config.js index 8ce420d82a0a4..f155382a34a71 100644 --- a/x-pack/packages/ml/is_populated_object/jest.config.js +++ b/x-pack/platform/packages/private/ml/validators/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/is_populated_object'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/validators'], }; diff --git a/x-pack/packages/ml/validators/kibana.jsonc b/x-pack/platform/packages/private/ml/validators/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/validators/kibana.jsonc rename to x-pack/platform/packages/private/ml/validators/kibana.jsonc diff --git a/x-pack/packages/ml/validators/package.json b/x-pack/platform/packages/private/ml/validators/package.json similarity index 100% rename from x-pack/packages/ml/validators/package.json rename to x-pack/platform/packages/private/ml/validators/package.json diff --git a/x-pack/packages/ml/validators/tsconfig.json b/x-pack/platform/packages/private/ml/validators/tsconfig.json similarity index 81% rename from x-pack/packages/ml/validators/tsconfig.json rename to x-pack/platform/packages/private/ml/validators/tsconfig.json index ca25f09b5cd50..1ce538a580178 100644 --- a/x-pack/packages/ml/validators/tsconfig.json +++ b/x-pack/platform/packages/private/ml/validators/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/ml/validators/validators.test.ts b/x-pack/platform/packages/private/ml/validators/validators.test.ts similarity index 100% rename from x-pack/packages/ml/validators/validators.test.ts rename to x-pack/platform/packages/private/ml/validators/validators.test.ts diff --git a/x-pack/packages/ml/validators/validators.ts b/x-pack/platform/packages/private/ml/validators/validators.ts similarity index 100% rename from x-pack/packages/ml/validators/validators.ts rename to x-pack/platform/packages/private/ml/validators/validators.ts diff --git a/x-pack/packages/ml/aiops_common/README.md b/x-pack/platform/packages/shared/ml/aiops_common/README.md similarity index 100% rename from x-pack/packages/ml/aiops_common/README.md rename to x-pack/platform/packages/shared/ml/aiops_common/README.md diff --git a/x-pack/packages/ml/aiops_common/constants.ts b/x-pack/platform/packages/shared/ml/aiops_common/constants.ts similarity index 100% rename from x-pack/packages/ml/aiops_common/constants.ts rename to x-pack/platform/packages/shared/ml/aiops_common/constants.ts diff --git a/x-pack/packages/ml/aiops_common/create_default_query.test.ts b/x-pack/platform/packages/shared/ml/aiops_common/create_default_query.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_common/create_default_query.test.ts rename to x-pack/platform/packages/shared/ml/aiops_common/create_default_query.test.ts diff --git a/x-pack/packages/ml/aiops_common/create_default_query.ts b/x-pack/platform/packages/shared/ml/aiops_common/create_default_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_common/create_default_query.ts rename to x-pack/platform/packages/shared/ml/aiops_common/create_default_query.ts diff --git a/x-pack/packages/ml/aiops_common/is_request_aborted_error.test.ts b/x-pack/platform/packages/shared/ml/aiops_common/is_request_aborted_error.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_common/is_request_aborted_error.test.ts rename to x-pack/platform/packages/shared/ml/aiops_common/is_request_aborted_error.test.ts diff --git a/x-pack/packages/ml/aiops_common/is_request_aborted_error.ts b/x-pack/platform/packages/shared/ml/aiops_common/is_request_aborted_error.ts similarity index 100% rename from x-pack/packages/ml/aiops_common/is_request_aborted_error.ts rename to x-pack/platform/packages/shared/ml/aiops_common/is_request_aborted_error.ts diff --git a/x-pack/platform/packages/shared/ml/aiops_common/jest.config.js b/x-pack/platform/packages/shared/ml/aiops_common/jest.config.js new file mode 100644 index 0000000000000..c1952478b1274 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/aiops_common/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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/aiops_common'], +}; diff --git a/x-pack/packages/ml/aiops_common/kibana.jsonc b/x-pack/platform/packages/shared/ml/aiops_common/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_common/kibana.jsonc rename to x-pack/platform/packages/shared/ml/aiops_common/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_common/package.json b/x-pack/platform/packages/shared/ml/aiops_common/package.json similarity index 100% rename from x-pack/packages/ml/aiops_common/package.json rename to x-pack/platform/packages/shared/ml/aiops_common/package.json diff --git a/x-pack/packages/ml/aiops_common/tsconfig.json b/x-pack/platform/packages/shared/ml/aiops_common/tsconfig.json similarity index 85% rename from x-pack/packages/ml/aiops_common/tsconfig.json rename to x-pack/platform/packages/shared/ml/aiops_common/tsconfig.json index ffd8c074a421d..e63b96b4623f4 100644 --- a/x-pack/packages/ml/aiops_common/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/aiops_common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/README.md b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/README.md similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/README.md rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/README.md diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/constants.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/constants.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/constants.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/constants.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/create_category_request.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/create_category_request.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/create_category_request.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/create_category_request.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/embeddable.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/embeddable.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/embeddable.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/embeddable.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/get_category_query.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/get_category_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/get_category_query.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/get_category_query.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/index.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/index.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/index.ts diff --git a/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js new file mode 100644 index 0000000000000..4d2e1c2444130 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/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/shared/ml/aiops_log_pattern_analysis'], +}; diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/kibana.jsonc b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/kibana.jsonc rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/package.json b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/package.json similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/package.json rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/package.json diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/process_category_results.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/process_category_results.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/process_category_results.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/process_category_results.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/schema.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/schema.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/schema.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/schema.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/tsconfig.json b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/tsconfig.json similarity index 89% rename from x-pack/packages/ml/aiops_log_pattern_analysis/tsconfig.json rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/tsconfig.json index fe2542b34c5e9..8f12c49ce6d4e 100644 --- a/x-pack/packages/ml/aiops_log_pattern_analysis/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/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/ml/aiops_log_pattern_analysis/types.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/types.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/types.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/types.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/README.md b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/README.md similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/README.md rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/README.md diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/__mocks__/date_histogram.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/__mocks__/date_histogram.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/__mocks__/date_histogram.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/__mocks__/date_histogram.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/api/schema.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/api/schema.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/api/schema_v2.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema_v2.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/api/schema_v2.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema_v2.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/api/schema_v3.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema_v3.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/api/schema_v3.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema_v3.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/api/stream_reducer.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/stream_reducer.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/api/stream_reducer.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/stream_reducer.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/api/stream_reducer.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/stream_reducer.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/api/stream_reducer.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/stream_reducer.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/constants.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/constants.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/constants.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/constants.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/ecs_fields.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/ecs_fields.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/ecs_fields.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/ecs_fields.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/ecs_fields.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/ecs_fields.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/ecs_fields.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/ecs_fields.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_extended_change_point.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_extended_change_point.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_extended_change_point.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_extended_change_point.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_extended_change_point.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_extended_change_point.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_extended_change_point.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_extended_change_point.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_parameters_from_alert.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_parameters_from_alert.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_parameters_from_alert.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_parameters_from_alert.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_window_parameters.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_window_parameters.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_window_parameters.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_window_parameters.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_swapped_window_parameters.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_swapped_window_parameters.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_swapped_window_parameters.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_swapped_window_parameters.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/index.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/index.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/index.ts diff --git a/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js new file mode 100644 index 0000000000000..c15f190870304 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/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/shared/ml/aiops_log_rate_analysis'], +}; diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/kibana.jsonc b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/kibana.jsonc rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/package.json b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/package.json similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/package.json rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/package.json diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_ecommerce.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_ecommerce.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_ecommerce.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_ecommerce.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_large_arrays.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_large_arrays.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_large_arrays.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_large_arrays.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_pgbench.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_pgbench.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_pgbench.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_pgbench.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/params_match_all.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/params_match_all.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/params_match_all.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/params_match_all.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/params_search_query.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/params_search_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/params_search_query.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/params_search_query.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/search_query.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/search_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/search_query.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/search_query.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_result.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_result.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_result.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_result.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_search_response.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_search_response.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_search_response.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_search_response.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_result.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_result.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_result.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_result.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_search_response.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_search_response.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_search_response.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_search_response.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/duplicate_identifier.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/duplicate_identifier.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/duplicate_identifier.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/duplicate_identifier.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_categories.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_categories.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_categories.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_categories.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_categories.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_categories.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_categories.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_categories.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_category_counts.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_category_counts.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_category_counts.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_category_counts.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_category_counts.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_category_counts.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_category_counts.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_category_counts.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_index_info.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_index_info.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_log_rate_analysis_for_alert.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_log_rate_analysis_for_alert.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_log_rate_analysis_for_alert.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_log_rate_analysis_for_alert.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_groups.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_groups.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_groups.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_items.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_items.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_items.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_items.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_significant_categories.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_categories.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_significant_categories.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_categories.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_terms_2_categories_counts.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_terms_2_categories_counts.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_terms_2_categories_counts.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_terms_2_categories_counts.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_categories.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_categories.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_categories.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_categories.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_categories.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_categories.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_categories.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_categories.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_terms.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_terms.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_types.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_types.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_types.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_types.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_group_filter.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_group_filter.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_group_filter.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_group_filter.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_group_filter.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_group_filter.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_group_filter.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_group_filter.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_histogram_query.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_histogram_query.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_histogram_query.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_histogram_query.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_histogram_query.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_histogram_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_histogram_query.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_histogram_query.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_normalized_score.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_normalized_score.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_normalized_score.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_normalized_score.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_query_with_params.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_query_with_params.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_query_with_params.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_query_with_params.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_query_with_params.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_query_with_params.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_query_with_params.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_query_with_params.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_range_query.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_range_query.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_range_query.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_range_query.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_range_query.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_range_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_range_query.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_range_query.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_request_base.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_request_base.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_request_base.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_request_base.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_total_doc_count_request.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_total_doc_count_request.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_total_doc_count_request.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_total_doc_count_request.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_value_counts.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_value_counts.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_value_counts.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_value_counts.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_value_counts.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_value_counts.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_value_counts.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_value_counts.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_values_descending.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_values_descending.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_values_descending.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_values_descending.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_values_descending.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_values_descending.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_values_descending.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_values_descending.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queue_field_candidates.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queue_field_candidates.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queue_field_candidates.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queue_field_candidates.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/hooks.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/hooks.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/hooks.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/hooks.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/index.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/index.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/index.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_slice.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_slice.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_slice.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_slice.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/store.tsx b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/store.tsx similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/store.tsx rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/store.tsx diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/types.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/types.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/types.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/types.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/use_current_selected_group.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/use_current_selected_group.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/use_current_selected_group.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/use_current_selected_group.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/use_current_selected_significant_item.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/use_current_selected_significant_item.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/use_current_selected_significant_item.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/use_current_selected_significant_item.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/tsconfig.json b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/tsconfig.json similarity index 92% rename from x-pack/packages/ml/aiops_log_rate_analysis/tsconfig.json rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/tsconfig.json index 66b978764464e..bcdea10e7609e 100644 --- a/x-pack/packages/ml/aiops_log_rate_analysis/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/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/ml/aiops_log_rate_analysis/types.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/types.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/window_parameters.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/window_parameters.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/window_parameters.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/window_parameters.ts diff --git a/x-pack/packages/ml/anomaly_utils/README.md b/x-pack/platform/packages/shared/ml/anomaly_utils/README.md similarity index 100% rename from x-pack/packages/ml/anomaly_utils/README.md rename to x-pack/platform/packages/shared/ml/anomaly_utils/README.md diff --git a/x-pack/packages/ml/anomaly_utils/aggregation_types.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/aggregation_types.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/aggregation_types.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/aggregation_types.ts diff --git a/x-pack/packages/ml/anomaly_utils/anomaly_severity.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/anomaly_severity.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity.ts diff --git a/x-pack/packages/ml/anomaly_utils/anomaly_severity_types.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity_types.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/anomaly_severity_types.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity_types.ts diff --git a/x-pack/packages/ml/anomaly_utils/anomaly_threshold.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_threshold.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/anomaly_threshold.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_threshold.ts diff --git a/x-pack/packages/ml/anomaly_utils/anomaly_utils.test.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.test.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/anomaly_utils.test.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.test.ts diff --git a/x-pack/packages/ml/anomaly_utils/anomaly_utils.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/anomaly_utils.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts diff --git a/x-pack/packages/ml/anomaly_utils/constants.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/constants.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/constants.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/constants.ts diff --git a/x-pack/packages/ml/anomaly_utils/custom_urls.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/custom_urls.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts diff --git a/x-pack/packages/ml/anomaly_utils/detector_rule.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/detector_rule.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/detector_rule.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/detector_rule.ts diff --git a/x-pack/packages/ml/anomaly_utils/es_client.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/es_client.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/es_client.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/es_client.ts diff --git a/x-pack/packages/ml/anomaly_utils/field_types.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/field_types.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/field_types.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/field_types.ts diff --git a/x-pack/packages/ml/anomaly_utils/fields.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/fields.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_formatted_severity_score.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_formatted_severity_score.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_formatted_severity_score.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_formatted_severity_score.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_severity.test.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_severity.test.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_severity.test.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_severity.test.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_severity.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_severity.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_severity.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_severity.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_severity_color.test.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_color.test.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_severity_color.test.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_color.test.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_severity_color.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_color.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_severity_color.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_color.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_severity_type.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_type.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_severity_type.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_type.ts diff --git a/x-pack/packages/ml/anomaly_utils/index.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/index.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/index.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/index.ts diff --git a/x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js b/x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js new file mode 100644 index 0000000000000..6204a955cb060 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/anomaly_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/shared/ml/anomaly_utils'], +}; diff --git a/x-pack/packages/ml/anomaly_utils/kibana.jsonc b/x-pack/platform/packages/shared/ml/anomaly_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/anomaly_utils/kibana.jsonc rename to x-pack/platform/packages/shared/ml/anomaly_utils/kibana.jsonc diff --git a/x-pack/packages/ml/anomaly_utils/package.json b/x-pack/platform/packages/shared/ml/anomaly_utils/package.json similarity index 100% rename from x-pack/packages/ml/anomaly_utils/package.json rename to x-pack/platform/packages/shared/ml/anomaly_utils/package.json diff --git a/x-pack/packages/ml/anomaly_utils/severity_colors.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/severity_colors.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/severity_colors.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/severity_colors.ts diff --git a/x-pack/packages/ml/anomaly_utils/tsconfig.json b/x-pack/platform/packages/shared/ml/anomaly_utils/tsconfig.json similarity index 85% rename from x-pack/packages/ml/anomaly_utils/tsconfig.json rename to x-pack/platform/packages/shared/ml/anomaly_utils/tsconfig.json index f9061f738b271..4c41d973c4a59 100644 --- a/x-pack/packages/ml/anomaly_utils/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/anomaly_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/packages/ml/anomaly_utils/types.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/types.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/types.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/types.ts diff --git a/x-pack/packages/ml/chi2test/README.md b/x-pack/platform/packages/shared/ml/chi2test/README.md similarity index 100% rename from x-pack/packages/ml/chi2test/README.md rename to x-pack/platform/packages/shared/ml/chi2test/README.md diff --git a/x-pack/packages/ml/chi2test/compute_chi_2_pvalue.test.ts b/x-pack/platform/packages/shared/ml/chi2test/compute_chi_2_pvalue.test.ts similarity index 100% rename from x-pack/packages/ml/chi2test/compute_chi_2_pvalue.test.ts rename to x-pack/platform/packages/shared/ml/chi2test/compute_chi_2_pvalue.test.ts diff --git a/x-pack/packages/ml/chi2test/compute_chi_2_pvalue.ts b/x-pack/platform/packages/shared/ml/chi2test/compute_chi_2_pvalue.ts similarity index 100% rename from x-pack/packages/ml/chi2test/compute_chi_2_pvalue.ts rename to x-pack/platform/packages/shared/ml/chi2test/compute_chi_2_pvalue.ts diff --git a/x-pack/packages/ml/chi2test/constants.ts b/x-pack/platform/packages/shared/ml/chi2test/constants.ts similarity index 100% rename from x-pack/packages/ml/chi2test/constants.ts rename to x-pack/platform/packages/shared/ml/chi2test/constants.ts diff --git a/x-pack/packages/ml/chi2test/critical_table_lookup.ts b/x-pack/platform/packages/shared/ml/chi2test/critical_table_lookup.ts similarity index 100% rename from x-pack/packages/ml/chi2test/critical_table_lookup.ts rename to x-pack/platform/packages/shared/ml/chi2test/critical_table_lookup.ts diff --git a/x-pack/packages/ml/chi2test/index.ts b/x-pack/platform/packages/shared/ml/chi2test/index.ts similarity index 100% rename from x-pack/packages/ml/chi2test/index.ts rename to x-pack/platform/packages/shared/ml/chi2test/index.ts diff --git a/x-pack/packages/ml/aiops_components/jest.config.js b/x-pack/platform/packages/shared/ml/chi2test/jest.config.js similarity index 74% rename from x-pack/packages/ml/aiops_components/jest.config.js rename to x-pack/platform/packages/shared/ml/chi2test/jest.config.js index cadc9733723e9..692eb59a37d92 100644 --- a/x-pack/packages/ml/aiops_components/jest.config.js +++ b/x-pack/platform/packages/shared/ml/chi2test/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/aiops_components'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/chi2test'], }; diff --git a/x-pack/packages/ml/chi2test/kibana.jsonc b/x-pack/platform/packages/shared/ml/chi2test/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/chi2test/kibana.jsonc rename to x-pack/platform/packages/shared/ml/chi2test/kibana.jsonc diff --git a/x-pack/packages/ml/chi2test/package.json b/x-pack/platform/packages/shared/ml/chi2test/package.json similarity index 100% rename from x-pack/packages/ml/chi2test/package.json rename to x-pack/platform/packages/shared/ml/chi2test/package.json diff --git a/x-pack/platform/packages/shared/ml/chi2test/tsconfig.json b/x-pack/platform/packages/shared/ml/chi2test/tsconfig.json new file mode 100644 index 0000000000000..18d16ae2e8837 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/chi2test/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [] +} diff --git a/x-pack/packages/ml/chi2test/types.ts b/x-pack/platform/packages/shared/ml/chi2test/types.ts similarity index 100% rename from x-pack/packages/ml/chi2test/types.ts rename to x-pack/platform/packages/shared/ml/chi2test/types.ts diff --git a/x-pack/packages/ml/error_utils/README.md b/x-pack/platform/packages/shared/ml/error_utils/README.md similarity index 100% rename from x-pack/packages/ml/error_utils/README.md rename to x-pack/platform/packages/shared/ml/error_utils/README.md diff --git a/x-pack/packages/ml/error_utils/index.ts b/x-pack/platform/packages/shared/ml/error_utils/index.ts similarity index 100% rename from x-pack/packages/ml/error_utils/index.ts rename to x-pack/platform/packages/shared/ml/error_utils/index.ts diff --git a/x-pack/platform/packages/shared/ml/error_utils/jest.config.js b/x-pack/platform/packages/shared/ml/error_utils/jest.config.js new file mode 100644 index 0000000000000..be835d2f3d7a4 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/error_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/shared/ml/error_utils'], +}; diff --git a/x-pack/packages/ml/error_utils/kibana.jsonc b/x-pack/platform/packages/shared/ml/error_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/error_utils/kibana.jsonc rename to x-pack/platform/packages/shared/ml/error_utils/kibana.jsonc diff --git a/x-pack/packages/ml/error_utils/package.json b/x-pack/platform/packages/shared/ml/error_utils/package.json similarity index 100% rename from x-pack/packages/ml/error_utils/package.json rename to x-pack/platform/packages/shared/ml/error_utils/package.json diff --git a/x-pack/packages/ml/error_utils/src/process_errors.test.ts b/x-pack/platform/packages/shared/ml/error_utils/src/process_errors.test.ts similarity index 100% rename from x-pack/packages/ml/error_utils/src/process_errors.test.ts rename to x-pack/platform/packages/shared/ml/error_utils/src/process_errors.test.ts diff --git a/x-pack/packages/ml/error_utils/src/process_errors.ts b/x-pack/platform/packages/shared/ml/error_utils/src/process_errors.ts similarity index 100% rename from x-pack/packages/ml/error_utils/src/process_errors.ts rename to x-pack/platform/packages/shared/ml/error_utils/src/process_errors.ts diff --git a/x-pack/packages/ml/error_utils/src/request_error.ts b/x-pack/platform/packages/shared/ml/error_utils/src/request_error.ts similarity index 100% rename from x-pack/packages/ml/error_utils/src/request_error.ts rename to x-pack/platform/packages/shared/ml/error_utils/src/request_error.ts diff --git a/x-pack/packages/ml/error_utils/src/types.ts b/x-pack/platform/packages/shared/ml/error_utils/src/types.ts similarity index 100% rename from x-pack/packages/ml/error_utils/src/types.ts rename to x-pack/platform/packages/shared/ml/error_utils/src/types.ts diff --git a/x-pack/packages/ml/error_utils/tsconfig.json b/x-pack/platform/packages/shared/ml/error_utils/tsconfig.json similarity index 85% rename from x-pack/packages/ml/error_utils/tsconfig.json rename to x-pack/platform/packages/shared/ml/error_utils/tsconfig.json index de1c550b0e1ab..e05daa74fa6fb 100644 --- a/x-pack/packages/ml/error_utils/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/error_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/packages/ml/random_sampler_utils/README.md b/x-pack/platform/packages/shared/ml/random_sampler_utils/README.md similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/README.md rename to x-pack/platform/packages/shared/ml/random_sampler_utils/README.md diff --git a/x-pack/packages/ml/random_sampler_utils/index.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/index.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/index.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/index.ts diff --git a/x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js b/x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js new file mode 100644 index 0000000000000..55823df5b4b51 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/random_sampler_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/shared/ml/random_sampler_utils'], +}; diff --git a/x-pack/packages/ml/random_sampler_utils/kibana.jsonc b/x-pack/platform/packages/shared/ml/random_sampler_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/kibana.jsonc rename to x-pack/platform/packages/shared/ml/random_sampler_utils/kibana.jsonc diff --git a/x-pack/packages/ml/random_sampler_utils/package.json b/x-pack/platform/packages/shared/ml/random_sampler_utils/package.json similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/package.json rename to x-pack/platform/packages/shared/ml/random_sampler_utils/package.json diff --git a/x-pack/packages/ml/random_sampler_utils/src/get_sample_probability.test.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/src/get_sample_probability.test.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/src/get_sample_probability.test.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/src/get_sample_probability.test.ts diff --git a/x-pack/packages/ml/random_sampler_utils/src/get_sample_probability.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/src/get_sample_probability.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/src/get_sample_probability.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/src/get_sample_probability.ts diff --git a/x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts diff --git a/x-pack/packages/ml/random_sampler_utils/src/random_sampler_wrapper.test.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_wrapper.test.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/src/random_sampler_wrapper.test.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_wrapper.test.ts diff --git a/x-pack/packages/ml/random_sampler_utils/src/random_sampler_wrapper.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_wrapper.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/src/random_sampler_wrapper.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_wrapper.ts diff --git a/x-pack/packages/ml/random_sampler_utils/tsconfig.json b/x-pack/platform/packages/shared/ml/random_sampler_utils/tsconfig.json similarity index 83% rename from x-pack/packages/ml/random_sampler_utils/tsconfig.json rename to x-pack/platform/packages/shared/ml/random_sampler_utils/tsconfig.json index 1db807def57b8..a42476e85ebb2 100644 --- a/x-pack/packages/ml/random_sampler_utils/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/random_sampler_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/packages/ml/response_stream/README.md b/x-pack/platform/packages/shared/ml/response_stream/README.md similarity index 100% rename from x-pack/packages/ml/response_stream/README.md rename to x-pack/platform/packages/shared/ml/response_stream/README.md diff --git a/x-pack/packages/ml/response_stream/client/constants.ts b/x-pack/platform/packages/shared/ml/response_stream/client/constants.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/constants.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/constants.ts diff --git a/x-pack/packages/ml/response_stream/client/fetch_stream.ts b/x-pack/platform/packages/shared/ml/response_stream/client/fetch_stream.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/fetch_stream.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/fetch_stream.ts diff --git a/x-pack/packages/ml/response_stream/client/index.ts b/x-pack/platform/packages/shared/ml/response_stream/client/index.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/index.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/index.ts diff --git a/x-pack/packages/ml/response_stream/client/stream_slice.ts b/x-pack/platform/packages/shared/ml/response_stream/client/stream_slice.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/stream_slice.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/stream_slice.ts diff --git a/x-pack/packages/ml/response_stream/client/string_reducer.ts b/x-pack/platform/packages/shared/ml/response_stream/client/string_reducer.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/string_reducer.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/string_reducer.ts diff --git a/x-pack/packages/ml/response_stream/client/use_fetch_stream.ts b/x-pack/platform/packages/shared/ml/response_stream/client/use_fetch_stream.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/use_fetch_stream.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/use_fetch_stream.ts diff --git a/x-pack/platform/packages/shared/ml/response_stream/jest.config.js b/x-pack/platform/packages/shared/ml/response_stream/jest.config.js new file mode 100644 index 0000000000000..2b4f1b4210289 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/response_stream/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/shared/ml/response_stream'], +}; diff --git a/x-pack/packages/ml/response_stream/kibana.jsonc b/x-pack/platform/packages/shared/ml/response_stream/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/response_stream/kibana.jsonc rename to x-pack/platform/packages/shared/ml/response_stream/kibana.jsonc diff --git a/x-pack/packages/ml/response_stream/package.json b/x-pack/platform/packages/shared/ml/response_stream/package.json similarity index 100% rename from x-pack/packages/ml/response_stream/package.json rename to x-pack/platform/packages/shared/ml/response_stream/package.json diff --git a/x-pack/packages/ml/response_stream/server/accept_compression.test.ts b/x-pack/platform/packages/shared/ml/response_stream/server/accept_compression.test.ts similarity index 100% rename from x-pack/packages/ml/response_stream/server/accept_compression.test.ts rename to x-pack/platform/packages/shared/ml/response_stream/server/accept_compression.test.ts diff --git a/x-pack/packages/ml/response_stream/server/accept_compression.ts b/x-pack/platform/packages/shared/ml/response_stream/server/accept_compression.ts similarity index 100% rename from x-pack/packages/ml/response_stream/server/accept_compression.ts rename to x-pack/platform/packages/shared/ml/response_stream/server/accept_compression.ts diff --git a/x-pack/packages/ml/response_stream/server/index.ts b/x-pack/platform/packages/shared/ml/response_stream/server/index.ts similarity index 100% rename from x-pack/packages/ml/response_stream/server/index.ts rename to x-pack/platform/packages/shared/ml/response_stream/server/index.ts diff --git a/x-pack/packages/ml/response_stream/server/stream_factory.test.ts b/x-pack/platform/packages/shared/ml/response_stream/server/stream_factory.test.ts similarity index 100% rename from x-pack/packages/ml/response_stream/server/stream_factory.test.ts rename to x-pack/platform/packages/shared/ml/response_stream/server/stream_factory.test.ts diff --git a/x-pack/packages/ml/response_stream/server/stream_factory.ts b/x-pack/platform/packages/shared/ml/response_stream/server/stream_factory.ts similarity index 100% rename from x-pack/packages/ml/response_stream/server/stream_factory.ts rename to x-pack/platform/packages/shared/ml/response_stream/server/stream_factory.ts diff --git a/x-pack/packages/ml/response_stream/tsconfig.json b/x-pack/platform/packages/shared/ml/response_stream/tsconfig.json similarity index 86% rename from x-pack/packages/ml/response_stream/tsconfig.json rename to x-pack/platform/packages/shared/ml/response_stream/tsconfig.json index acbfc0bbe5455..160736fa6451e 100644 --- a/x-pack/packages/ml/response_stream/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/response_stream/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/ml/runtime_field_utils/README.md b/x-pack/platform/packages/shared/ml/runtime_field_utils/README.md similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/README.md rename to x-pack/platform/packages/shared/ml/runtime_field_utils/README.md diff --git a/x-pack/packages/ml/runtime_field_utils/index.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/index.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/index.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/index.ts diff --git a/x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js b/x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js new file mode 100644 index 0000000000000..924de5eabd357 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/runtime_field_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/shared/ml/runtime_field_utils'], +}; diff --git a/x-pack/packages/ml/runtime_field_utils/kibana.jsonc b/x-pack/platform/packages/shared/ml/runtime_field_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/kibana.jsonc rename to x-pack/platform/packages/shared/ml/runtime_field_utils/kibana.jsonc diff --git a/x-pack/packages/ml/runtime_field_utils/package.json b/x-pack/platform/packages/shared/ml/runtime_field_utils/package.json similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/package.json rename to x-pack/platform/packages/shared/ml/runtime_field_utils/package.json diff --git a/x-pack/packages/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts diff --git a/x-pack/packages/ml/runtime_field_utils/src/is_runtime_field.test.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_field.test.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/src/is_runtime_field.test.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_field.test.ts diff --git a/x-pack/packages/ml/runtime_field_utils/src/is_runtime_field.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_field.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/src/is_runtime_field.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_field.ts diff --git a/x-pack/packages/ml/runtime_field_utils/src/is_runtime_mappings.test.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_mappings.test.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/src/is_runtime_mappings.test.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_mappings.test.ts diff --git a/x-pack/packages/ml/runtime_field_utils/src/is_runtime_mappings.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_mappings.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/src/is_runtime_mappings.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_mappings.ts diff --git a/x-pack/packages/ml/runtime_field_utils/tsconfig.json b/x-pack/platform/packages/shared/ml/runtime_field_utils/tsconfig.json similarity index 86% rename from x-pack/packages/ml/runtime_field_utils/tsconfig.json rename to x-pack/platform/packages/shared/ml/runtime_field_utils/tsconfig.json index 0b7a8ffb474c7..3b3d08376caca 100644 --- a/x-pack/packages/ml/runtime_field_utils/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/runtime_field_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/packages/ml/trained_models_utils/README.md b/x-pack/platform/packages/shared/ml/trained_models_utils/README.md similarity index 100% rename from x-pack/packages/ml/trained_models_utils/README.md rename to x-pack/platform/packages/shared/ml/trained_models_utils/README.md diff --git a/x-pack/packages/ml/trained_models_utils/index.ts b/x-pack/platform/packages/shared/ml/trained_models_utils/index.ts similarity index 100% rename from x-pack/packages/ml/trained_models_utils/index.ts rename to x-pack/platform/packages/shared/ml/trained_models_utils/index.ts diff --git a/x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js b/x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js new file mode 100644 index 0000000000000..e2af99cc5e711 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/trained_models_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/shared/ml/trained_models_utils'], +}; diff --git a/x-pack/packages/ml/trained_models_utils/kibana.jsonc b/x-pack/platform/packages/shared/ml/trained_models_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/trained_models_utils/kibana.jsonc rename to x-pack/platform/packages/shared/ml/trained_models_utils/kibana.jsonc diff --git a/x-pack/packages/ml/trained_models_utils/package.json b/x-pack/platform/packages/shared/ml/trained_models_utils/package.json similarity index 100% rename from x-pack/packages/ml/trained_models_utils/package.json rename to x-pack/platform/packages/shared/ml/trained_models_utils/package.json diff --git a/x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts b/x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts similarity index 100% rename from x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts rename to x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts diff --git a/x-pack/packages/ml/creation_wizard_utils/tsconfig.json b/x-pack/platform/packages/shared/ml/trained_models_utils/tsconfig.json similarity index 82% rename from x-pack/packages/ml/creation_wizard_utils/tsconfig.json rename to x-pack/platform/packages/shared/ml/trained_models_utils/tsconfig.json index df10dcf5b4b50..b87274720351a 100644 --- a/x-pack/packages/ml/creation_wizard_utils/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/trained_models_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/plugins/data_visualizer/README.md b/x-pack/platform/plugins/private/data_visualizer/README.md similarity index 100% rename from x-pack/plugins/data_visualizer/README.md rename to x-pack/platform/plugins/private/data_visualizer/README.md diff --git a/x-pack/plugins/data_visualizer/common/app.ts b/x-pack/platform/plugins/private/data_visualizer/common/app.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/app.ts rename to x-pack/platform/plugins/private/data_visualizer/common/app.ts diff --git a/x-pack/plugins/data_visualizer/common/constants.ts b/x-pack/platform/plugins/private/data_visualizer/common/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/common/constants.ts diff --git a/x-pack/plugins/data_visualizer/common/i18n_constants.ts b/x-pack/platform/plugins/private/data_visualizer/common/i18n_constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/i18n_constants.ts rename to x-pack/platform/plugins/private/data_visualizer/common/i18n_constants.ts diff --git a/x-pack/plugins/data_visualizer/common/types/field_request_config.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/field_request_config.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/field_request_config.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/field_request_config.ts diff --git a/x-pack/plugins/data_visualizer/common/types/field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/field_stats.ts diff --git a/x-pack/plugins/data_visualizer/common/types/field_vis_config.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/field_vis_config.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/field_vis_config.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/field_vis_config.ts diff --git a/x-pack/plugins/data_visualizer/common/types/index.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/index.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/index.ts diff --git a/x-pack/plugins/data_visualizer/common/types/indices.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/indices.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/indices.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/indices.ts diff --git a/x-pack/plugins/data_visualizer/common/types/job_field_type.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/job_field_type.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/job_field_type.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/job_field_type.ts diff --git a/x-pack/plugins/data_visualizer/common/types/test_grok_pattern.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/test_grok_pattern.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/test_grok_pattern.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/test_grok_pattern.ts diff --git a/x-pack/plugins/data_visualizer/common/types/time_field_request.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/time_field_request.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/time_field_request.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/time_field_request.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/build_query_filters.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/build_query_filters.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/build_query_filters.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/build_query_filters.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/datafeed_utils.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/datafeed_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/datafeed_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/datafeed_utils.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/parse_interval.test.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/parse_interval.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/parse_interval.test.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/parse_interval.test.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/parse_interval.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/parse_interval.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/parse_interval.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/parse_interval.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/runtime_field_utils.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/runtime_field_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/runtime_field_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/runtime_field_utils.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/tika_utils.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/tika_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/tika_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/tika_utils.ts diff --git a/x-pack/platform/plugins/private/data_visualizer/jest.config.js b/x-pack/platform/plugins/private/data_visualizer/jest.config.js new file mode 100644 index 0000000000000..d60b36a4aa85c --- /dev/null +++ b/x-pack/platform/plugins/private/data_visualizer/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/data_visualizer'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/data_visualizer', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/data_visualizer/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/data_visualizer/kibana.jsonc b/x-pack/platform/plugins/private/data_visualizer/kibana.jsonc similarity index 100% rename from x-pack/plugins/data_visualizer/kibana.jsonc rename to x-pack/platform/plugins/private/data_visualizer/kibana.jsonc diff --git a/x-pack/plugins/data_visualizer/public/api/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/api/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/api/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/api/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_field_label.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_field_label.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_field_label.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_field_label.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_fields_form.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_fields_form.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_fields_form.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_fields_form.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_fields_read_only_form.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_fields_read_only_form.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_fields_read_only_form.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_fields_read_only_form.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/geo_point.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/geo_point.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/geo_point.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/geo_point.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/semantic_text.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/semantic_text.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/semantic_text.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/semantic_text.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/types.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/types.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/types.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/types.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/utils.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/utils.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/utils.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/utils.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_chart/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_chart/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_content.tsx diff --git a/x-pack/plugins/aiops/public/components/document_count_content/document_count_content/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/document_count_content/document_count_content/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/examples_list/examples_list.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/examples_list/examples_list.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/examples_list/examples_list.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/examples_list/examples_list.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/examples_list/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/examples_list/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/examples_list/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/examples_list/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/file_based_expanded_row.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/file_based_expanded_row.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/file_based_expanded_row.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/file_based_expanded_row.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/geo_point_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/geo_point_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/geo_point_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/geo_point_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/use_expanded_row_css.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/use_expanded_row_css.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/use_expanded_row_css.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/use_expanded_row_css.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_count_panel/field_count_panel.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_count_panel/field_count_panel.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_count_panel/field_count_panel.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_count_panel/field_count_panel.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_count_panel/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_count_panel/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_count_panel/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_count_panel/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/number_content_preview.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/number_content_preview.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/number_content_preview.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/number_content_preview.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_names_filter/field_names_filter.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_names_filter/field_names_filter.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_names_filter/field_names_filter.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_names_filter/field_names_filter.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_names_filter/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_names_filter/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_names_filter/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_names_filter/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/_field_type_icon.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/_field_type_icon.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/_field_type_icon.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/_field_type_icon.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.test.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.test.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.test.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.test.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_help_popover.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/field_types_help_popover.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_help_popover.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/field_types_help_popover.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/create_fields.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/create_fields.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/create_fields.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/create_fields.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/fields_stats_grid.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/fields_stats_grid.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/fields_stats_grid.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/fields_stats_grid.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/filter_fields.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/filter_fields.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/filter_fields.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/filter_fields.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/get_field_names.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/get_field_names.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/get_field_names.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/get_field_names.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config_flyout.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config_flyout.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config_flyout.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config_flyout.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/help_menu/help_menu.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/help_menu/help_menu.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/help_menu/help_menu.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/help_menu/help_menu.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/help_menu/index.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/help_menu/index.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/help_menu/index.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/help_menu/index.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/link_card/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/link_card/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/link_card/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/link_card/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/link_card/link_card.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/link_card/link_card.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/link_card/link_card.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/link_card/link_card.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/loading_indicator/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/loading_indicator/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/loading_indicator/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/loading_indicator/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/loading_indicator/loading_indicator.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/loading_indicator/loading_indicator.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/loading_indicator/loading_indicator.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/loading_indicator/loading_indicator.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/multi_select_picker/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/multi_select_picker/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/not_in_docs_content/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/not_in_docs_content/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/probability_used.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/probability_used.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/probability_used.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/probability_used.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/random_sampler_range_slider.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/random_sampler_range_slider.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/random_sampler_range_slider.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/random_sampler_range_slider.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/random_sampling_menu.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/random_sampling_menu.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/random_sampling_menu.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/random_sampling_menu.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/results_links/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/results_links/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/expanded_row_field_header.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/expanded_row_field_header.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/expanded_row_field_header.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/expanded_row_field_header.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/metric_fields_count.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/metric_fields_count.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/metric_fields_count.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/metric_fields_count.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/styles.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/styles.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/styles.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/styles.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/total_fields_count.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/total_fields_count.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/total_fields_count.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/total_fields_count.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_number_content.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_number_content.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_number_content.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_number_content.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/boolean_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/boolean_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/boolean_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/boolean_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/date_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/date_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/date_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/date_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/document_stats.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/document_stats.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/document_stats.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/document_stats.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/error_message.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/error_message.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/error_message.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/error_message.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_panel.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_panel.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_panel.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_panel.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/ip_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/ip_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/ip_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/ip_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/keyword_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/keyword_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/keyword_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/keyword_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/number_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/number_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/number_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/number_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/other_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/other_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/other_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/other_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/text_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/text_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/text_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/text_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/boolean_content_preview.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/boolean_content_preview.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/boolean_content_preview.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/boolean_content_preview.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/number_content_preview.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/number_content_preview.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/number_content_preview.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/number_content_preview.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/top_values_preview.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/top_values_preview.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/top_values_preview.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/top_values_preview.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.test.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.test.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.test.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.test.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_data_builder.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_data_builder.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_data_builder.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_data_builder.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_tooltip_header.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_tooltip_header.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_tooltip_header.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_tooltip_header.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/color_range_legend.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/color_range_legend.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/color_range_legend.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/color_range_legend.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_data_viz_chart_theme.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_data_viz_chart_theme.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_data_viz_chart_theme.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_data_viz_chart_theme.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/types/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/types/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/use_table_settings.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/use_table_settings.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/use_table_settings.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/use_table_settings.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/top_values/_top_values.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/_top_values.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/top_values/_top_values.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/_top_values.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/top_values/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/top_values/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/top_values.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/top_values.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/format_value.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/format_value.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/format_value.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/format_value.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/kibana_field_format.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/kibana_field_format.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/kibana_field_format.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/kibana_field_format.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/number_as_ordinal.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/number_as_ordinal.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/number_as_ordinal.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/number_as_ordinal.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/number_as_ordinal.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/number_as_ordinal.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/number_as_ordinal.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/number_as_ordinal.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/hooks/data_source_context.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/data_source_context.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/hooks/data_source_context.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/data_source_context.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/hooks/use_current_eui_theme.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_current_eui_theme.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/hooks/use_current_eui_theme.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_current_eui_theme.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/hooks/use_data.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_data.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/hooks/use_data.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_data.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/hooks/use_document_count_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_document_count_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/hooks/use_document_count_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_document_count_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/hooks/use_search.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_search.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/hooks/use_search.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_search.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/types/data_visualizer_plugin.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/types/data_visualizer_plugin.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/types/data_visualizer_plugin.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/types/data_visualizer_plugin.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/display_error.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/display_error.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/display_error.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/display_error.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/example_utils.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/example_utils.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/example_utils.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/example_utils.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/example_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/example_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/example_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/example_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/field_types_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/field_types_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/get_data_test_subject.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_data_test_subject.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/get_data_test_subject.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_data_test_subject.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/get_max_bytes.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_max_bytes.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/get_max_bytes.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_max_bytes.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/grok_pattern.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/grok_pattern.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/grok_pattern.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/grok_pattern.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/promise_all_settled_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/promise_all_settled_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/promise_all_settled_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/promise_all_settled_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/charts/data_drift_distribution_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/data_drift_distribution_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/charts/data_drift_distribution_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/data_drift_distribution_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/charts/no_charts_data.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/no_charts_data.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/charts/no_charts_data.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/no_charts_data.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/charts/overlap_distribution_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/overlap_distribution_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/charts/overlap_distribution_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/overlap_distribution_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/charts/single_distribution_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/single_distribution_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/charts/single_distribution_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/single_distribution_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_app_state.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_app_state.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_app_state.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_app_state.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_chart_tooltip_body.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_chart_tooltip_body.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_chart_tooltip_body.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_chart_tooltip_body.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_hint.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_hint.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_hint.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_hint.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx diff --git a/x-pack/plugins/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 similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_page.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_page.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_view.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_view.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_view.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_view.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx similarity index 99% rename from x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx index 3a04783b41ebc..94de2d2f4390a 100644 --- a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx @@ -38,7 +38,7 @@ import { } from './single_brush'; // TODO Consolidate with similar component `DocumentCountChartWithBrush` in -// x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx +// x-pack/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx declare global { interface Window { diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/index.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/index.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/index.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/index.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx similarity index 99% rename from x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx index 4e0af369a8124..3f365ec74a32f 100644 --- a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx @@ -15,7 +15,7 @@ import * as d3Transition from 'd3-transition'; import { useEuiTheme } from '@elastic/eui'; // TODO Consolidate with similar component `DualBrush` in -// x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.tsx +// x-pack/packages/private/ml/aiops_components/src/dual_brush/dual_brush.tsx const { brush, brushSelection, brushX } = d3Brush; const { scaleLinear } = d3Scale; diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_with_brush.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_with_brush.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/document_count_with_brush.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_with_brush.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/types.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/types.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/types.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/types.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/use_data_drift_result.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/use_data_drift_result.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/use_data_drift_result.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/use_data_drift_result.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/use_state_manager.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/use_state_manager.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/use_state_manager.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/use_state_manager.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/about_panel.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/about_panel.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/about_panel.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/about_panel.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/welcome_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/welcome_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/welcome_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/welcome_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/axes.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/axes.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/axes.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/axes.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_search.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_search.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_search.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_search.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/event_rate_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/event_rate_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/event_rate_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/event_rate_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/edit_flyout.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/edit_flyout.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/edit_flyout.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/edit_flyout.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/index.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/index.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/index.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/index.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/index.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/index.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/index.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/index.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/option_lists.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/option_lists.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/option_lists.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/option_lists.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/options.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/options.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/options.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/options.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_validation.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_validation.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_validation.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_validation.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/explanation_flyout.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/explanation_flyout.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/explanation_flyout.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/explanation_flyout.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/field_badge.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/field_badge.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/field_badge.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/field_badge.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/grok_highlighter.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/grok_highlighter.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/grok_highlighter.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/grok_highlighter.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/preview_pdf.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/preview_pdf.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/preview_pdf.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/preview_pdf.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/use_text_parser.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/use_text_parser.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/use_text_parser.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/use_text_parser.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_data_visualizer_view.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_data_visualizer_view.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_data_visualizer_view.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_data_visualizer_view.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_error_callouts.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_error_callouts.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_error_callouts.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_error_callouts.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_size_check.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_size_check.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_size_check.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_size_check.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/index.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/index.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/index.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/index.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/tika_analyzer.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/tika_analyzer.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/tika_analyzer.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/tika_analyzer.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_errors/errors.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_errors/errors.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_errors/errors.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_errors/errors.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_errors/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_errors/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_errors/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_errors/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_progress/import_progress.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_progress/import_progress.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_progress/import_progress.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_progress/import_progress.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_progress/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_progress/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_progress/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_progress/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/advanced.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/advanced.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/advanced.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/advanced.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/inputs.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/inputs.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/inputs.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/inputs.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/use_existing_indices.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/use_existing_indices.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/use_existing_indices.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/use_existing_indices.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/create_data_view_tooltip.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/create_data_view_tooltip.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/create_data_view_tooltip.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/create_data_view_tooltip.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/import_settings.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/import_settings.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/import_settings.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/import_settings.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/semantic_text_info.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/semantic_text_info.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/semantic_text_info.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/semantic_text_info.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/simple.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/simple.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/simple.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/simple.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/failures.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/failures.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/failures.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/failures.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/import_summary.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/import_summary.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/import_summary.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/import_summary.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/index.ts diff --git a/x-pack/plugins/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 similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/import.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/import.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/import.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/import.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/import_view.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/import_view.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/import_view.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/import_view.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/index.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/index.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/index.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/index.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/json_editor/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/json_editor/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/json_editor/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/json_editor/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/json_editor/json_editor.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/json_editor/json_editor.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/json_editor/json_editor.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/json_editor/json_editor.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/results_view/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/results_view/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/results_view/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/results_view/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/results_view/results_view.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/results_view/results_view.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/results_view/results_view.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/results_view/results_view.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/actions_panel/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/actions_panel/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/data_view_management/data_view_management.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/data_view_management/data_view_management.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/data_view_management/data_view_management.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/data_view_management/data_view_management.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/data_view_management/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/data_view_management/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/data_view_management/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/data_view_management/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx diff --git a/x-pack/plugins/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 similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/esql/limit_size.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/esql/limit_size.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/esql/limit_size.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/esql/limit_size.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_name_filter.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_name_filter.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_name_filter.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_name_filter.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx diff --git a/x-pack/plugins/aiops/public/components/search_panel/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/search_panel/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_bar.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_bar.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_bar.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_bar.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/esql_constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/esql_constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/esql_constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/esql_constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/field_stats_component_type.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/field_stats_component_type.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/field_stats_component_type.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/field_stats_component_type.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/index_data_visualizer_viewer.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/index_data_visualizer_viewer.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/index_data_visualizer_viewer.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/index_data_visualizer_viewer.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/random_sampler.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/random_sampler.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/random_sampler.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/random_sampler.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_esql_editor.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_esql_editor.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_esql_editor.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_esql_editor.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_factory.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_factory.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_factory.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_factory.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer_view_type.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer_view_type.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer_view_type.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer_view_type.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/initialize_field_stats_controls.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/initialize_field_stats_controls.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/initialize_field_stats_controls.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/initialize_field_stats_controls.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/resolve_field_stats_embeddable_input.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/resolve_field_stats_embeddable_input.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/resolve_field_stats_embeddable_input.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/resolve_field_stats_embeddable_input.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/types.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/types.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/types.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/types.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_error_msg.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_error_msg.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_error_msg.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_error_msg.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_esql_field_stats_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_esql_field_stats_table.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_esql_field_stats_table.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_esql_field_stats_table.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_table.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_table.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_table.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_loading_fallback.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_loading_fallback.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_loading_fallback.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_loading_fallback.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/field_stats_wrapper.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/field_stats_wrapper.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/field_stats_wrapper.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/field_stats_wrapper.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/types.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/types.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/types.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/types.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_field_stats_data.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_field_stats_data.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_field_stats_data.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_field_stats_data.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_overall_stats_data.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_overall_stats_data.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_overall_stats_data.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_overall_stats_data.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_overall_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_overall_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_overall_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_overall_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/locator.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/locator.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/locator.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/locator.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/locator.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/locator.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/locator.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/locator.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/progress_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/progress_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/progress_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/progress_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_boolean_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_boolean_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_boolean_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_boolean_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_count_and_cardinality.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_count_and_cardinality.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_count_and_cardinality.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_count_and_cardinality.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_date_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_date_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_date_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_date_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_keyword_fields.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_keyword_fields.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_keyword_fields.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_keyword_fields.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_numeric_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_numeric_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_numeric_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_numeric_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/handle_error.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/handle_error.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/handle_error.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/handle_error.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/build_random_sampler_agg.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/build_random_sampler_agg.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/build_random_sampler_agg.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/build_random_sampler_agg.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/fetch_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/fetch_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/fetch_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/fetch_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_boolean_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_boolean_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_boolean_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_boolean_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_data_view_by_index_pattern.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_data_view_by_index_pattern.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_data_view_by_index_pattern.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_data_view_by_index_pattern.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_date_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_date_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_date_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_date_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_document_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_document_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_document_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_document_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_field_examples.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_field_examples.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_field_examples.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_field_examples.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_fields_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_fields_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_fields_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_fields_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_numeric_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_numeric_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_numeric_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_numeric_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_string_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_string_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_string_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_string_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/overall_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/overall_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/overall_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/overall_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/combined_query.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/combined_query.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/combined_query.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/combined_query.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/data_drift.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/data_drift.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/data_drift.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/data_drift.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/esql_data_visualizer.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/esql_data_visualizer.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/esql_data_visualizer.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/esql_data_visualizer.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/index_data_visualizer_state.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/index_data_visualizer_state.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/index_data_visualizer_state.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/index_data_visualizer_state.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/overall_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/overall_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/overall_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/overall_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/storage.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/storage.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/storage.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/storage.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_reason_fieldstats_unavailable_for_esql_query.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_reason_fieldstats_unavailable_for_esql_query.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_reason_fieldstats_unavailable_for_esql_query.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_reason_fieldstats_unavailable_for_esql_query.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_supported_aggs.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_supported_aggs.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_supported_aggs.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_supported_aggs.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/process_distribution_data.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/process_distribution_data.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/process_distribution_data.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/process_distribution_data.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/kibana_context.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/kibana_context.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/kibana_context.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/kibana_context.ts diff --git a/x-pack/plugins/data_visualizer/public/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/index.ts diff --git a/x-pack/plugins/data_visualizer/public/kibana_services.ts b/x-pack/platform/plugins/private/data_visualizer/public/kibana_services.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/kibana_services.ts rename to x-pack/platform/plugins/private/data_visualizer/public/kibana_services.ts diff --git a/x-pack/plugins/data_visualizer/public/lazy_load_bundle/component_wrapper.tsx b/x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/component_wrapper.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/lazy_load_bundle/component_wrapper.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/component_wrapper.tsx diff --git a/x-pack/plugins/data_visualizer/public/lazy_load_bundle/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/lazy_load_bundle/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/index.ts diff --git a/x-pack/plugins/data_visualizer/public/lazy_load_bundle/lazy/index.tsx b/x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/lazy/index.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/lazy_load_bundle/lazy/index.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/lazy/index.tsx diff --git a/x-pack/plugins/data_visualizer/public/plugin.ts b/x-pack/platform/plugins/private/data_visualizer/public/plugin.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/plugin.ts rename to x-pack/platform/plugins/private/data_visualizer/public/plugin.ts diff --git a/x-pack/plugins/data_visualizer/public/register_home.ts b/x-pack/platform/plugins/private/data_visualizer/public/register_home.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/register_home.ts rename to x-pack/platform/plugins/private/data_visualizer/public/register_home.ts diff --git a/x-pack/plugins/data_visualizer/server/config_schema.ts b/x-pack/platform/plugins/private/data_visualizer/server/config_schema.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/config_schema.ts rename to x-pack/platform/plugins/private/data_visualizer/server/config_schema.ts diff --git a/x-pack/plugins/data_visualizer/server/index.ts b/x-pack/platform/plugins/private/data_visualizer/server/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/index.ts rename to x-pack/platform/plugins/private/data_visualizer/server/index.ts diff --git a/x-pack/plugins/data_visualizer/server/plugin.ts b/x-pack/platform/plugins/private/data_visualizer/server/plugin.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/plugin.ts rename to x-pack/platform/plugins/private/data_visualizer/server/plugin.ts diff --git a/x-pack/plugins/data_visualizer/server/register_custom_integration.ts b/x-pack/platform/plugins/private/data_visualizer/server/register_custom_integration.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/register_custom_integration.ts rename to x-pack/platform/plugins/private/data_visualizer/server/register_custom_integration.ts diff --git a/x-pack/plugins/data_visualizer/server/routes.ts b/x-pack/platform/plugins/private/data_visualizer/server/routes.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/routes.ts rename to x-pack/platform/plugins/private/data_visualizer/server/routes.ts diff --git a/x-pack/plugins/data_visualizer/server/types/deps.ts b/x-pack/platform/plugins/private/data_visualizer/server/types/deps.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/types/deps.ts rename to x-pack/platform/plugins/private/data_visualizer/server/types/deps.ts diff --git a/x-pack/plugins/data_visualizer/server/types/index.ts b/x-pack/platform/plugins/private/data_visualizer/server/types/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/types/index.ts rename to x-pack/platform/plugins/private/data_visualizer/server/types/index.ts diff --git a/x-pack/plugins/data_visualizer/server/utils/error_wrapper.ts b/x-pack/platform/plugins/private/data_visualizer/server/utils/error_wrapper.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/utils/error_wrapper.ts rename to x-pack/platform/plugins/private/data_visualizer/server/utils/error_wrapper.ts diff --git a/x-pack/plugins/data_visualizer/tsconfig.json b/x-pack/platform/plugins/private/data_visualizer/tsconfig.json similarity index 96% rename from x-pack/plugins/data_visualizer/tsconfig.json rename to x-pack/platform/plugins/private/data_visualizer/tsconfig.json index 9e1c19c84067b..3253012c7299b 100644 --- a/x-pack/plugins/data_visualizer/tsconfig.json +++ b/x-pack/platform/plugins/private/data_visualizer/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, "include": [ - "../../../typings/**/*", + "../../../../../typings/**/*", "common/**/*", "public/**/*", "scripts/**/*", diff --git a/x-pack/plugins/transform/common/constants.test.ts b/x-pack/platform/plugins/private/transform/common/constants.test.ts similarity index 100% rename from x-pack/plugins/transform/common/constants.test.ts rename to x-pack/platform/plugins/private/transform/common/constants.test.ts diff --git a/x-pack/plugins/transform/common/constants.ts b/x-pack/platform/plugins/private/transform/common/constants.ts similarity index 100% rename from x-pack/plugins/transform/common/constants.ts rename to x-pack/platform/plugins/private/transform/common/constants.ts diff --git a/x-pack/plugins/transform/common/index.ts b/x-pack/platform/plugins/private/transform/common/index.ts similarity index 100% rename from x-pack/plugins/transform/common/index.ts rename to x-pack/platform/plugins/private/transform/common/index.ts diff --git a/x-pack/plugins/transform/common/types/aggregations.ts b/x-pack/platform/plugins/private/transform/common/types/aggregations.ts similarity index 100% rename from x-pack/plugins/transform/common/types/aggregations.ts rename to x-pack/platform/plugins/private/transform/common/types/aggregations.ts diff --git a/x-pack/plugins/transform/common/types/alerting.ts b/x-pack/platform/plugins/private/transform/common/types/alerting.ts similarity index 100% rename from x-pack/plugins/transform/common/types/alerting.ts rename to x-pack/platform/plugins/private/transform/common/types/alerting.ts diff --git a/x-pack/plugins/transform/common/types/capabilities.ts b/x-pack/platform/plugins/private/transform/common/types/capabilities.ts similarity index 100% rename from x-pack/plugins/transform/common/types/capabilities.ts rename to x-pack/platform/plugins/private/transform/common/types/capabilities.ts diff --git a/x-pack/plugins/transform/common/types/common.ts b/x-pack/platform/plugins/private/transform/common/types/common.ts similarity index 100% rename from x-pack/plugins/transform/common/types/common.ts rename to x-pack/platform/plugins/private/transform/common/types/common.ts diff --git a/x-pack/plugins/transform/common/types/data_view.test.ts b/x-pack/platform/plugins/private/transform/common/types/data_view.test.ts similarity index 100% rename from x-pack/plugins/transform/common/types/data_view.test.ts rename to x-pack/platform/plugins/private/transform/common/types/data_view.test.ts diff --git a/x-pack/plugins/transform/common/types/data_view.ts b/x-pack/platform/plugins/private/transform/common/types/data_view.ts similarity index 100% rename from x-pack/plugins/transform/common/types/data_view.ts rename to x-pack/platform/plugins/private/transform/common/types/data_view.ts diff --git a/x-pack/plugins/transform/common/types/es_index.ts b/x-pack/platform/plugins/private/transform/common/types/es_index.ts similarity index 100% rename from x-pack/plugins/transform/common/types/es_index.ts rename to x-pack/platform/plugins/private/transform/common/types/es_index.ts diff --git a/x-pack/plugins/transform/common/types/es_ingest_pipeline.ts b/x-pack/platform/plugins/private/transform/common/types/es_ingest_pipeline.ts similarity index 100% rename from x-pack/plugins/transform/common/types/es_ingest_pipeline.ts rename to x-pack/platform/plugins/private/transform/common/types/es_ingest_pipeline.ts diff --git a/x-pack/plugins/transform/common/types/fields.ts b/x-pack/platform/plugins/private/transform/common/types/fields.ts similarity index 100% rename from x-pack/plugins/transform/common/types/fields.ts rename to x-pack/platform/plugins/private/transform/common/types/fields.ts diff --git a/x-pack/plugins/transform/common/types/messages.ts b/x-pack/platform/plugins/private/transform/common/types/messages.ts similarity index 100% rename from x-pack/plugins/transform/common/types/messages.ts rename to x-pack/platform/plugins/private/transform/common/types/messages.ts diff --git a/x-pack/plugins/transform/common/types/pivot_aggs.ts b/x-pack/platform/plugins/private/transform/common/types/pivot_aggs.ts similarity index 100% rename from x-pack/plugins/transform/common/types/pivot_aggs.ts rename to x-pack/platform/plugins/private/transform/common/types/pivot_aggs.ts diff --git a/x-pack/plugins/transform/common/types/pivot_group_by.ts b/x-pack/platform/plugins/private/transform/common/types/pivot_group_by.ts similarity index 100% rename from x-pack/plugins/transform/common/types/pivot_group_by.ts rename to x-pack/platform/plugins/private/transform/common/types/pivot_group_by.ts diff --git a/x-pack/plugins/transform/common/types/storage.ts b/x-pack/platform/plugins/private/transform/common/types/storage.ts similarity index 100% rename from x-pack/plugins/transform/common/types/storage.ts rename to x-pack/platform/plugins/private/transform/common/types/storage.ts diff --git a/x-pack/plugins/transform/common/types/transform.ts b/x-pack/platform/plugins/private/transform/common/types/transform.ts similarity index 100% rename from x-pack/plugins/transform/common/types/transform.ts rename to x-pack/platform/plugins/private/transform/common/types/transform.ts diff --git a/x-pack/plugins/transform/common/types/transform_stats.ts b/x-pack/platform/plugins/private/transform/common/types/transform_stats.ts similarity index 100% rename from x-pack/plugins/transform/common/types/transform_stats.ts rename to x-pack/platform/plugins/private/transform/common/types/transform_stats.ts diff --git a/x-pack/plugins/transform/common/utils/alerts.test.ts b/x-pack/platform/plugins/private/transform/common/utils/alerts.test.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/alerts.test.ts rename to x-pack/platform/plugins/private/transform/common/utils/alerts.test.ts diff --git a/x-pack/plugins/transform/common/utils/alerts.ts b/x-pack/platform/plugins/private/transform/common/utils/alerts.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/alerts.ts rename to x-pack/platform/plugins/private/transform/common/utils/alerts.ts diff --git a/x-pack/plugins/transform/common/utils/create_capability_failure_message.ts b/x-pack/platform/plugins/private/transform/common/utils/create_capability_failure_message.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/create_capability_failure_message.ts rename to x-pack/platform/plugins/private/transform/common/utils/create_capability_failure_message.ts diff --git a/x-pack/plugins/transform/common/utils/create_stats_unknown_message.ts b/x-pack/platform/plugins/private/transform/common/utils/create_stats_unknown_message.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/create_stats_unknown_message.ts rename to x-pack/platform/plugins/private/transform/common/utils/create_stats_unknown_message.ts diff --git a/x-pack/plugins/transform/common/utils/errors.ts b/x-pack/platform/plugins/private/transform/common/utils/errors.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/errors.ts rename to x-pack/platform/plugins/private/transform/common/utils/errors.ts diff --git a/x-pack/plugins/transform/common/utils/es_utils.ts b/x-pack/platform/plugins/private/transform/common/utils/es_utils.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/es_utils.ts rename to x-pack/platform/plugins/private/transform/common/utils/es_utils.ts diff --git a/x-pack/plugins/transform/common/utils/field_utils.test.ts b/x-pack/platform/plugins/private/transform/common/utils/field_utils.test.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/field_utils.test.ts rename to x-pack/platform/plugins/private/transform/common/utils/field_utils.test.ts diff --git a/x-pack/plugins/transform/common/utils/field_utils.ts b/x-pack/platform/plugins/private/transform/common/utils/field_utils.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/field_utils.ts rename to x-pack/platform/plugins/private/transform/common/utils/field_utils.ts diff --git a/x-pack/plugins/transform/common/utils/to_array.ts b/x-pack/platform/plugins/private/transform/common/utils/to_array.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/to_array.ts rename to x-pack/platform/plugins/private/transform/common/utils/to_array.ts diff --git a/x-pack/plugins/transform/common/utils/transform_api_key.ts b/x-pack/platform/plugins/private/transform/common/utils/transform_api_key.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/transform_api_key.ts rename to x-pack/platform/plugins/private/transform/common/utils/transform_api_key.ts diff --git a/x-pack/plugins/ml/jest.config.js b/x-pack/platform/plugins/private/transform/jest.config.js similarity index 50% rename from x-pack/plugins/ml/jest.config.js rename to x-pack/platform/plugins/private/transform/jest.config.js index 463fb9fb856cb..5fb52ec556d30 100644 --- a/x-pack/plugins/ml/jest.config.js +++ b/x-pack/platform/plugins/private/transform/jest.config.js @@ -7,9 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/ml'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/ml', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/transform'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/transform', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/ml/{common,public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/transform/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/transform/kibana.jsonc b/x-pack/platform/plugins/private/transform/kibana.jsonc similarity index 100% rename from x-pack/plugins/transform/kibana.jsonc rename to x-pack/platform/plugins/private/transform/kibana.jsonc diff --git a/x-pack/plugins/transform/public/alerting/index.ts b/x-pack/platform/plugins/private/transform/public/alerting/index.ts similarity index 100% rename from x-pack/plugins/transform/public/alerting/index.ts rename to x-pack/platform/plugins/private/transform/public/alerting/index.ts diff --git a/x-pack/plugins/transform/public/alerting/transform_alerting_flyout.tsx b/x-pack/platform/plugins/private/transform/public/alerting/transform_alerting_flyout.tsx similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_alerting_flyout.tsx rename to x-pack/platform/plugins/private/transform/public/alerting/transform_alerting_flyout.tsx diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/index.ts b/x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/index.ts similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_health_rule_type/index.ts rename to x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/index.ts diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts b/x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts rename to x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx b/x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx rename to x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx b/x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx rename to x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx b/x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx rename to x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx diff --git a/x-pack/plugins/transform/public/app/__mocks__/app_dependencies.tsx b/x-pack/platform/plugins/private/transform/public/app/__mocks__/app_dependencies.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/__mocks__/app_dependencies.tsx rename to x-pack/platform/plugins/private/transform/public/app/__mocks__/app_dependencies.tsx diff --git a/x-pack/plugins/transform/public/app/app.tsx b/x-pack/platform/plugins/private/transform/public/app/app.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/app.tsx rename to x-pack/platform/plugins/private/transform/public/app/app.tsx diff --git a/x-pack/plugins/transform/public/app/app_dependencies.tsx b/x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/app_dependencies.tsx rename to x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx diff --git a/x-pack/plugins/transform/public/app/common/__mocks__/transform_list_row.json b/x-pack/platform/plugins/private/transform/public/app/common/__mocks__/transform_list_row.json similarity index 100% rename from x-pack/plugins/transform/public/app/common/__mocks__/transform_list_row.json rename to x-pack/platform/plugins/private/transform/public/app/common/__mocks__/transform_list_row.json diff --git a/x-pack/plugins/transform/public/app/common/__mocks__/transform_stats.json b/x-pack/platform/plugins/private/transform/public/app/common/__mocks__/transform_stats.json similarity index 100% rename from x-pack/plugins/transform/public/app/common/__mocks__/transform_stats.json rename to x-pack/platform/plugins/private/transform/public/app/common/__mocks__/transform_stats.json diff --git a/x-pack/plugins/transform/public/app/common/aggregations.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/aggregations.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/aggregations.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/aggregations.test.ts diff --git a/x-pack/plugins/transform/public/app/common/aggregations.ts b/x-pack/platform/plugins/private/transform/public/app/common/aggregations.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/aggregations.ts rename to x-pack/platform/plugins/private/transform/public/app/common/aggregations.ts diff --git a/x-pack/plugins/transform/public/app/common/constants/index.ts b/x-pack/platform/plugins/private/transform/public/app/common/constants/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/constants/index.ts rename to x-pack/platform/plugins/private/transform/public/app/common/constants/index.ts diff --git a/x-pack/plugins/transform/public/app/common/data_grid.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/data_grid.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/data_grid.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/data_grid.test.ts diff --git a/x-pack/plugins/transform/public/app/common/data_grid.ts b/x-pack/platform/plugins/private/transform/public/app/common/data_grid.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/data_grid.ts rename to x-pack/platform/plugins/private/transform/public/app/common/data_grid.ts diff --git a/x-pack/plugins/transform/public/app/common/dropdown.ts b/x-pack/platform/plugins/private/transform/public/app/common/dropdown.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/dropdown.ts rename to x-pack/platform/plugins/private/transform/public/app/common/dropdown.ts diff --git a/x-pack/plugins/transform/public/app/common/fields.ts b/x-pack/platform/plugins/private/transform/public/app/common/fields.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/fields.ts rename to x-pack/platform/plugins/private/transform/public/app/common/fields.ts diff --git a/x-pack/plugins/transform/public/app/common/index.ts b/x-pack/platform/plugins/private/transform/public/app/common/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/index.ts rename to x-pack/platform/plugins/private/transform/public/app/common/index.ts diff --git a/x-pack/plugins/transform/public/app/common/managed_transforms_utils.ts b/x-pack/platform/plugins/private/transform/public/app/common/managed_transforms_utils.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/managed_transforms_utils.ts rename to x-pack/platform/plugins/private/transform/public/app/common/managed_transforms_utils.ts diff --git a/x-pack/plugins/transform/public/app/common/navigation.tsx b/x-pack/platform/plugins/private/transform/public/app/common/navigation.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/common/navigation.tsx rename to x-pack/platform/plugins/private/transform/public/app/common/navigation.tsx diff --git a/x-pack/plugins/transform/public/app/common/pivot_aggs.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/pivot_aggs.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/pivot_aggs.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/pivot_aggs.test.ts diff --git a/x-pack/plugins/transform/public/app/common/pivot_aggs.ts b/x-pack/platform/plugins/private/transform/public/app/common/pivot_aggs.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/pivot_aggs.ts rename to x-pack/platform/plugins/private/transform/public/app/common/pivot_aggs.ts diff --git a/x-pack/plugins/transform/public/app/common/pivot_group_by.ts b/x-pack/platform/plugins/private/transform/public/app/common/pivot_group_by.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/pivot_group_by.ts rename to x-pack/platform/plugins/private/transform/public/app/common/pivot_group_by.ts diff --git a/x-pack/plugins/transform/public/app/common/reauthorization_utils.ts b/x-pack/platform/plugins/private/transform/public/app/common/reauthorization_utils.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/reauthorization_utils.ts rename to x-pack/platform/plugins/private/transform/public/app/common/reauthorization_utils.ts diff --git a/x-pack/plugins/transform/public/app/common/request.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/request.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/request.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/request.test.ts diff --git a/x-pack/plugins/transform/public/app/common/request.ts b/x-pack/platform/plugins/private/transform/public/app/common/request.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/request.ts rename to x-pack/platform/plugins/private/transform/public/app/common/request.ts diff --git a/x-pack/plugins/transform/public/app/common/time_zone_utils.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/time_zone_utils.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.test.ts diff --git a/x-pack/plugins/transform/public/app/common/time_zone_utils.ts b/x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/time_zone_utils.ts rename to x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.ts diff --git a/x-pack/plugins/transform/public/app/common/transform.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/transform.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/transform.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/transform.test.ts diff --git a/x-pack/plugins/transform/public/app/common/transform.ts b/x-pack/platform/plugins/private/transform/public/app/common/transform.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/transform.ts rename to x-pack/platform/plugins/private/transform/public/app/common/transform.ts diff --git a/x-pack/plugins/transform/public/app/common/transform_list.ts b/x-pack/platform/plugins/private/transform/public/app/common/transform_list.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/transform_list.ts rename to x-pack/platform/plugins/private/transform/public/app/common/transform_list.ts diff --git a/x-pack/plugins/transform/public/app/common/transform_stats.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/transform_stats.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/transform_stats.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/transform_stats.test.ts diff --git a/x-pack/plugins/transform/public/app/common/transform_stats.ts b/x-pack/platform/plugins/private/transform/public/app/common/transform_stats.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/transform_stats.ts rename to x-pack/platform/plugins/private/transform/public/app/common/transform_stats.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/frequency_validator.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/frequency_validator.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/frequency_validator.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/frequency_validator.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/frequency_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/frequency_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/frequency_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/frequency_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/index.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/index.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/index.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/integer_above_zero_validator.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/integer_above_zero_validator.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/integer_above_zero_validator.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/integer_above_zero_validator.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/integer_above_zero_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/integer_above_zero_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/integer_above_zero_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/integer_above_zero_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/integer_range_minus_1_to_100_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/integer_range_minus_1_to_100_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/integer_range_minus_1_to_100_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/integer_range_minus_1_to_100_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_continuous_mode_delay.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_continuous_mode_delay.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_continuous_mode_delay.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_continuous_mode_delay.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_continuous_mode_delay.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_continuous_mode_delay.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_continuous_mode_delay.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_continuous_mode_delay.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_json_string.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_json_string.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_json_string.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_json_string.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_json_string.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_json_string.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_json_string.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_json_string.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_retention_policy_max_age.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_retention_policy_max_age.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_retention_policy_max_age.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_retention_policy_max_age.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_retention_policy_max_age.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_retention_policy_max_age.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_retention_policy_max_age.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_retention_policy_max_age.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_transform_wizard_frequency.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_transform_wizard_frequency.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_transform_wizard_frequency.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_transform_wizard_frequency.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_transform_wizard_frequency.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_transform_wizard_frequency.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_transform_wizard_frequency.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_transform_wizard_frequency.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_valid_frequency.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_valid_frequency.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_valid_frequency.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_valid_frequency.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/messages.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/messages.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/messages.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/messages.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/parse_duration_above_zero.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/parse_duration_above_zero.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/parse_duration_above_zero.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/parse_duration_above_zero.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/parse_duration_above_zero.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/parse_duration_above_zero.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/parse_duration_above_zero.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/parse_duration_above_zero.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/retention_policy_max_age_validator.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/retention_policy_max_age_validator.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/retention_policy_max_age_validator.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/retention_policy_max_age_validator.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/retention_policy_max_age_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/retention_policy_max_age_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/retention_policy_max_age_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/retention_policy_max_age_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/string_validator.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/string_validator.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/string_validator.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/string_validator.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/string_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/string_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/string_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/string_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/transform_settings_number_of_retries_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/transform_settings_number_of_retries_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/transform_settings_number_of_retries_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/transform_settings_number_of_retries_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/transform_settings_page_search_size_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/transform_settings_page_search_size_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/transform_settings_page_search_size_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/transform_settings_page_search_size_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/types.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/types.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/types.ts diff --git a/x-pack/plugins/transform/public/app/components/capabilities_wrapper.tsx b/x-pack/platform/plugins/private/transform/public/app/components/capabilities_wrapper.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/components/capabilities_wrapper.tsx rename to x-pack/platform/plugins/private/transform/public/app/components/capabilities_wrapper.tsx diff --git a/x-pack/plugins/transform/public/app/components/index.ts b/x-pack/platform/plugins/private/transform/public/app/components/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/components/index.ts rename to x-pack/platform/plugins/private/transform/public/app/components/index.ts diff --git a/x-pack/plugins/transform/public/app/components/job_icon.tsx b/x-pack/platform/plugins/private/transform/public/app/components/job_icon.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/components/job_icon.tsx rename to x-pack/platform/plugins/private/transform/public/app/components/job_icon.tsx diff --git a/x-pack/plugins/transform/public/app/components/toast_notification_text.test.tsx b/x-pack/platform/plugins/private/transform/public/app/components/toast_notification_text.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/components/toast_notification_text.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/components/toast_notification_text.test.tsx diff --git a/x-pack/plugins/transform/public/app/components/toast_notification_text.tsx b/x-pack/platform/plugins/private/transform/public/app/components/toast_notification_text.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/components/toast_notification_text.tsx rename to x-pack/platform/plugins/private/transform/public/app/components/toast_notification_text.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/index.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/index.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/index.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_create_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_create_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_create_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_create_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_data_search.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_data_search.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_data_search.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_data_search.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_data_view_exists.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_data_view_exists.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_data_view_exists.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_data_view_exists.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_delete_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_delete_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_delete_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_delete_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_documentation_links.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_documentation_links.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_documentation_links.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_documentation_links.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_data_view_titles.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_data_view_titles.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_data_view_titles.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_data_view_titles.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_data_views_title_id_map.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_data_views_title_id_map.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_data_views_title_id_map.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_data_views_title_id_map.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_es_indices.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_es_indices.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_es_indices.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_es_indices.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_es_ingest_pipelines.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_es_ingest_pipelines.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_es_ingest_pipelines.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_es_ingest_pipelines.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_histograms_for_fields.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_histograms_for_fields.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_histograms_for_fields.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_histograms_for_fields.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transform_audit_messages.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_audit_messages.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transform_audit_messages.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_audit_messages.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transform_nodes.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_nodes.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transform_nodes.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_nodes.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transform_stats.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_stats.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transform_stats.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_stats.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transforms.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transforms.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transforms.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transforms.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transforms_preview.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transforms_preview.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transforms_preview.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transforms_preview.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_index_data.test.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_index_data.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_index_data.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_index_data.test.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_index_data.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_index_data.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_index_data.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_index_data.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_reauthorize_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_reauthorize_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_reauthorize_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_reauthorize_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_refresh_transform_list.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_refresh_transform_list.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_refresh_transform_list.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_refresh_transform_list.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_reset_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_reset_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_reset_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_reset_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_schedule_now_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_schedule_now_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_schedule_now_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_schedule_now_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/common.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/common.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_search_items/index.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_search_items/index.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/index.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_search_items/use_search_items.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/use_search_items.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_search_items/use_search_items.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/use_search_items.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_start_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_start_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_start_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_start_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_stop_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_stop_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_stop_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_stop_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_transform_capabilities.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_capabilities.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_transform_capabilities.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_capabilities.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_transform_config_data.test.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_config_data.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_transform_config_data.test.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_config_data.test.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_transform_config_data.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_config_data.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_transform_config_data.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_config_data.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_update_transform.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_update_transform.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_update_transform.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_update_transform.ts diff --git a/x-pack/plugins/transform/public/app/index.scss b/x-pack/platform/plugins/private/transform/public/app/index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/index.scss rename to x-pack/platform/plugins/private/transform/public/app/index.scss diff --git a/x-pack/plugins/transform/public/app/mount_management_section.ts b/x-pack/platform/plugins/private/transform/public/app/mount_management_section.ts similarity index 100% rename from x-pack/plugins/transform/public/app/mount_management_section.ts rename to x-pack/platform/plugins/private/transform/public/app/mount_management_section.ts diff --git a/x-pack/plugins/transform/public/app/sections/clone_transform/clone_transform_section.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/clone_transform/clone_transform_section.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/clone_transform/clone_transform_section.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/clone_transform/clone_transform_section.tsx diff --git a/x-pack/plugins/transform/public/app/sections/clone_transform/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/clone_transform/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/clone_transform/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/clone_transform/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor/advanced_pivot_editor.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor/advanced_pivot_editor.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor/advanced_pivot_editor.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor/advanced_pivot_editor.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/advanced_pivot_editor_switch.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/advanced_pivot_editor_switch.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/advanced_pivot_editor_switch.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/advanced_pivot_editor_switch.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/advanced_query_editor_switch.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/advanced_query_editor_switch.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/advanced_query_editor_switch.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/advanced_query_editor_switch.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor/advanced_runtime_mappings_editor.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor/advanced_runtime_mappings_editor.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor/advanced_runtime_mappings_editor.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor/advanced_runtime_mappings_editor.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/advanced_runtime_mappings_editor_switch.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/advanced_runtime_mappings_editor_switch.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/advanced_runtime_mappings_editor_switch.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/advanced_runtime_mappings_editor_switch.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/switch_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/switch_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/switch_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/switch_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/advanced_runtime_mappings_settings.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/advanced_runtime_mappings_settings.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/advanced_runtime_mappings_settings.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/advanced_runtime_mappings_settings.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_source_editor/advanced_source_editor.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_source_editor/advanced_source_editor.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_source_editor/advanced_source_editor.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_source_editor/advanced_source_editor.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_source_editor/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_source_editor/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_source_editor/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_source_editor/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_dropdown/dropdown.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_dropdown/dropdown.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_dropdown/dropdown.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_dropdown/dropdown.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_dropdown/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_dropdown/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_dropdown/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_dropdown/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/_aggregation_label_form.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/_aggregation_label_form.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/_aggregation_label_form.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/_aggregation_label_form.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/_index.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/_index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/_index.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/_index.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/sub_aggs_section.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/sub_aggs_section.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/sub_aggs_section.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/sub_aggs_section.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/date_picker_apply_switch/date_picker_apply_switch.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/date_picker_apply_switch/date_picker_apply_switch.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/date_picker_apply_switch/date_picker_apply_switch.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/date_picker_apply_switch/date_picker_apply_switch.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/date_picker_apply_switch/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/date_picker_apply_switch/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/date_picker_apply_switch/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/date_picker_apply_switch/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/_group_by_label_form.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/_group_by_label_form.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/_group_by_label_form.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/_group_by_label_form.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/_index.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/_index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/_index.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/_index.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_summary.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_summary.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_summary.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_summary.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/popover_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/popover_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/popover_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/popover_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/popover_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/popover_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/popover_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/popover_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/pivot_configuration/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/pivot_configuration/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/pivot_configuration/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/pivot_configuration/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/pivot_configuration/pivot_configuration.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/pivot_configuration/pivot_configuration.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/pivot_configuration/pivot_configuration.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/pivot_configuration/pivot_configuration.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/source_search_bar/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/source_search_bar/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/source_search_bar/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/source_search_bar/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/source_search_bar/source_search_bar.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/source_search_bar/source_search_bar.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/source_search_bar/source_search_bar.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/source_search_bar/source_search_bar.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/apply_transform_config_to_define_state.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/apply_transform_config_to_define_state.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/apply_transform_config_to_define_state.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/apply_transform_config_to_define_state.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/constants.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/constants.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/constants.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/constants.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_range_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_range_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_range_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_range_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/constants.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/constants.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/constants.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/constants.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/types.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/types.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/types.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_agg_form_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_agg_form_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_agg_form_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_agg_form_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_agg_name_conflict_toast_messages.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_agg_name_conflict_toast_messages.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_agg_name_conflict_toast_messages.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_agg_name_conflict_toast_messages.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_aggregation_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_aggregation_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_aggregation_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_aggregation_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_group_by_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_group_by_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_group_by_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_group_by_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_step_define_state.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_step_define_state.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_step_define_state.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_step_define_state.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/constants.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/constants.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/constants.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/constants.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/percentiles_form_component.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/percentiles_form_component.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/percentiles_form_component.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/percentiles_form_component.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/types.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/types.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/types.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/terms_form_component.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/terms_form_component.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/terms_form_component.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/terms_form_component.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/types.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/types.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/types.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/components/top_metrics_agg_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/components/top_metrics_agg_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/components/top_metrics_agg_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/components/top_metrics_agg_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/types.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/types.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/types.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/types.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/types.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/types.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_pivot_editor.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_pivot_editor.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_pivot_editor.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_pivot_editor.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_runtime_mappings_editor.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_runtime_mappings_editor.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_runtime_mappings_editor.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_runtime_mappings_editor.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_source_editor.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_source_editor.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_source_editor.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_source_editor.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_date_picker.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_date_picker.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_date_picker.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_date_picker.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_pivot_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_pivot_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_pivot_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_pivot_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_step_define_form.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_step_define_form.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_step_define_form.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_step_define_form.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/latest_function_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/latest_function_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/latest_function_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/latest_function_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/pivot_function_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/pivot_function_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/pivot_function_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/pivot_function_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_summary.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_summary.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/transform_function_selector.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/transform_function_selector.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/transform_function_selector.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/transform_function_selector.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/common.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/common.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/common.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/common.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/step_details_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/step_details_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/switch_modal/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/switch_modal/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/switch_modal/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/switch_modal/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/switch_modal/switch_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/switch_modal/switch_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/switch_modal/switch_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/switch_modal/switch_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/_index.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/_index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/_index.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/_index.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/_wizard.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/_wizard.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/_wizard.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/_wizard.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/storage.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/storage.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/storage.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/storage.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/wizard.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/wizard.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard_nav/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard_nav/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard_nav/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard_nav/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard_nav/wizard_nav.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard_nav/wizard_nav.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard_nav/wizard_nav.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard_nav/wizard_nav.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/create_transform_section.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/create_transform_section.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/create_transform_section.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/create_transform_section.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_api_error_callout.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_api_error_callout.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_api_error_callout.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_api_error_callout.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_callout.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_callout.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_callout.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_callout.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_area.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_area.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_area.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_area.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_input.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_input.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_input.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_input.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_ingest_pipeline.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_ingest_pipeline.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_ingest_pipeline.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_ingest_pipeline.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_retention_policy.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_retention_policy.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_retention_policy.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_retention_policy.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_update_button.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_update_button.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_update_button.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_update_button.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/__mocks__/transform_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/__mocks__/transform_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/__mocks__/transform_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/__mocks__/transform_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/actions.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/actions.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/actions.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/actions.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/form_field.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/form_field.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/form_field.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/form_field.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/form_section.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/form_section.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/form_section.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/form_section.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/get_default_state.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/get_default_state.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/get_default_state.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/get_default_state.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/get_update_value.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/get_update_value.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/get_update_value.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/get_update_value.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/api_error_message.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/api_error_message.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/api_error_message.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/api_error_message.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/form_field.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/form_field.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/form_field.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/form_field.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/form_sections.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/form_sections.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/form_sections.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/form_sections.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/is_form_touched.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/is_form_touched.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/is_form_touched.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/is_form_touched.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/is_form_valid.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/is_form_valid.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/is_form_valid.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/is_form_valid.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/retention_policy_field.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/retention_policy_field.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/retention_policy_field.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/retention_policy_field.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/updated_transform_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/updated_transform_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/updated_transform_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/updated_transform_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/validators.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/validators.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/validators.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/validators.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/value_parsers.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/value_parsers.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/value_parsers.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/value_parsers.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/utils/capitalize_first_letter.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/utils/capitalize_first_letter.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/utils/capitalize_first_letter.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/utils/capitalize_first_letter.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/clone_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/clone_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/clone_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/clone_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/create_alert_rule_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/create_alert_rule_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/create_alert_rule_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/create_alert_rule_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/use_create_alert_rule_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/use_create_alert_rule_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/use_create_alert_rule_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/use_create_alert_rule_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/use_delete_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/use_delete_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/use_delete_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/use_delete_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/edit_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/edit_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/edit_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/edit_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/use_reauthorize_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/use_reauthorize_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/use_reauthorize_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/use_reauthorize_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/reset_action_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/reset_action_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/reset_action_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/reset_action_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/reset_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/reset_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/reset_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/reset_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/use_reset_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/use_reset_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/use_reset_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/use_reset_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/schedule_now_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/schedule_now_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/schedule_now_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/schedule_now_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/use_schedule_now_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/use_schedule_now_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/use_schedule_now_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/use_schedule_now_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_name.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_name.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_name.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_name.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/use_start_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/use_start_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/use_start_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/use_start_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/use_stop_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/use_stop_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/use_stop_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/use_stop_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/_index.scss b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/_index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/_index.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/_index.scss diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/_transform_search_dialog.scss b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/_transform_search_dialog.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/_transform_search_dialog.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/_transform_search_dialog.scss diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/dangling_task_warning/dangling_task_warning.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/dangling_task_warning/dangling_task_warning.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/dangling_task_warning/dangling_task_warning.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/dangling_task_warning/dangling_task_warning.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/managed_transforms_callout/managed_transforms_callout.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/managed_transforms_callout/managed_transforms_callout.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/managed_transforms_callout/managed_transforms_callout.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/managed_transforms_callout/managed_transforms_callout.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/refresh_transform_list_button/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/refresh_transform_list_button/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/refresh_transform_list_button/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/refresh_transform_list_button/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/refresh_transform_list_button/refresh_transform_list_button.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/refresh_transform_list_button/refresh_transform_list_button.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/refresh_transform_list_button/refresh_transform_list_button.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/refresh_transform_list_button/refresh_transform_list_button.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/search_selection/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/search_selection/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/search_selection/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/search_selection/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/search_selection/search_selection.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/search_selection/search_selection.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/search_selection/search_selection.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/search_selection/search_selection.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_index.scss b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_index.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_index.scss diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_stat.scss b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_stat.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_stat.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_stat.scss diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_stats_bar.scss b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_stats_bar.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_stats_bar.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_stats_bar.scss diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/stat.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/stat.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/stat.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/stat.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/stats_bar.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/stats_bar.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/stats_bar.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/stats_bar.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_details_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_details_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_details_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_details_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_preview_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_preview_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_preview_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_preview_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_stats_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_stats_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_stats_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_stats_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_health_colored_dot.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_health_colored_dot.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_health_colored_dot.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_health_colored_dot.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_list.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_list.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_search_bar_filters.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_search_bar_filters.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_search_bar_filters.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_search_bar_filters.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_task_state_badge.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_task_state_badge.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_task_state_badge.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_task_state_badge.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_actions.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_actions.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_actions.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_actions.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_actions.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_actions.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_actions.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_actions.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_columns.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_columns.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_columns.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_columns.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_columns.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_columns.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_columns.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_columns.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_table_settings.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_table_settings.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_table_settings.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_table_settings.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/transform_management_section.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/transform_management_section.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/transform_management_section.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/transform_management_section.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/transform_management_section.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/transform_management_section.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/transform_management_section.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/transform_management_section.tsx diff --git a/x-pack/plugins/transform/public/app/serverless_context.tsx b/x-pack/platform/plugins/private/transform/public/app/serverless_context.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/serverless_context.tsx rename to x-pack/platform/plugins/private/transform/public/app/serverless_context.tsx diff --git a/x-pack/plugins/transform/public/app/services/navigation/breadcrumb.ts b/x-pack/platform/plugins/private/transform/public/app/services/navigation/breadcrumb.ts similarity index 100% rename from x-pack/plugins/transform/public/app/services/navigation/breadcrumb.ts rename to x-pack/platform/plugins/private/transform/public/app/services/navigation/breadcrumb.ts diff --git a/x-pack/plugins/transform/public/app/services/navigation/doc_title.ts b/x-pack/platform/plugins/private/transform/public/app/services/navigation/doc_title.ts similarity index 100% rename from x-pack/plugins/transform/public/app/services/navigation/doc_title.ts rename to x-pack/platform/plugins/private/transform/public/app/services/navigation/doc_title.ts diff --git a/x-pack/plugins/transform/public/app/services/navigation/index.ts b/x-pack/platform/plugins/private/transform/public/app/services/navigation/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/services/navigation/index.ts rename to x-pack/platform/plugins/private/transform/public/app/services/navigation/index.ts diff --git a/x-pack/plugins/transform/public/app/services/text/index.ts b/x-pack/platform/plugins/private/transform/public/app/services/text/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/services/text/index.ts rename to x-pack/platform/plugins/private/transform/public/app/services/text/index.ts diff --git a/x-pack/plugins/transform/public/app/services/text/text.ts b/x-pack/platform/plugins/private/transform/public/app/services/text/text.ts similarity index 100% rename from x-pack/plugins/transform/public/app/services/text/text.ts rename to x-pack/platform/plugins/private/transform/public/app/services/text/text.ts diff --git a/x-pack/plugins/transform/public/index.ts b/x-pack/platform/plugins/private/transform/public/index.ts similarity index 100% rename from x-pack/plugins/transform/public/index.ts rename to x-pack/platform/plugins/private/transform/public/index.ts diff --git a/x-pack/plugins/transform/public/plugin.ts b/x-pack/platform/plugins/private/transform/public/plugin.ts similarity index 100% rename from x-pack/plugins/transform/public/plugin.ts rename to x-pack/platform/plugins/private/transform/public/plugin.ts diff --git a/x-pack/plugins/transform/public/register_feature.ts b/x-pack/platform/plugins/private/transform/public/register_feature.ts similarity index 100% rename from x-pack/plugins/transform/public/register_feature.ts rename to x-pack/platform/plugins/private/transform/public/register_feature.ts diff --git a/x-pack/plugins/transform/readme.md b/x-pack/platform/plugins/private/transform/readme.md similarity index 98% rename from x-pack/plugins/transform/readme.md rename to x-pack/platform/plugins/private/transform/readme.md index e86d92340bf0c..69464cd230ebd 100644 --- a/x-pack/plugins/transform/readme.md +++ b/x-pack/platform/plugins/private/transform/readme.md @@ -69,7 +69,7 @@ These data sets are now ready to be used for creating transforms in Kibana. Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing -Run the test following jest tests from `kibana/x-pack/plugins/transform. +Run the test following jest tests from `kibana/x-pack/platform/plugins/private/transform. New snapshots, all plugins: diff --git a/x-pack/plugins/transform/server/README.md b/x-pack/platform/plugins/private/transform/server/README.md similarity index 100% rename from x-pack/plugins/transform/server/README.md rename to x-pack/platform/plugins/private/transform/server/README.md diff --git a/x-pack/plugins/transform/server/capabilities.test.ts b/x-pack/platform/plugins/private/transform/server/capabilities.test.ts similarity index 100% rename from x-pack/plugins/transform/server/capabilities.test.ts rename to x-pack/platform/plugins/private/transform/server/capabilities.test.ts diff --git a/x-pack/plugins/transform/server/capabilities.ts b/x-pack/platform/plugins/private/transform/server/capabilities.ts similarity index 100% rename from x-pack/plugins/transform/server/capabilities.ts rename to x-pack/platform/plugins/private/transform/server/capabilities.ts diff --git a/x-pack/plugins/transform/server/config.ts b/x-pack/platform/plugins/private/transform/server/config.ts similarity index 100% rename from x-pack/plugins/transform/server/config.ts rename to x-pack/platform/plugins/private/transform/server/config.ts diff --git a/x-pack/plugins/transform/server/index.ts b/x-pack/platform/plugins/private/transform/server/index.ts similarity index 100% rename from x-pack/plugins/transform/server/index.ts rename to x-pack/platform/plugins/private/transform/server/index.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/index.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/index.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/index.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/index.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/index.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/index.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/index.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/index.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/schema.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/schema.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/schema.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/schema.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.test.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.test.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.test.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.test.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts diff --git a/x-pack/plugins/transform/server/plugin.ts b/x-pack/platform/plugins/private/transform/server/plugin.ts similarity index 100% rename from x-pack/plugins/transform/server/plugin.ts rename to x-pack/platform/plugins/private/transform/server/plugin.ts diff --git a/x-pack/plugins/transform/server/routes/api/audit_messages/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/audit_messages/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/audit_messages/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/audit_messages/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/delete_transforms/delete_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/delete_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/delete_transforms/delete_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/delete_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/delete_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/delete_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/delete_transforms/route_handler_factory.ts b/x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/delete_transforms/route_handler_factory.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/route_handler_factory.ts diff --git a/x-pack/plugins/transform/server/routes/api/field_histograms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/field_histograms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/field_histograms/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/field_histograms/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/reauthorize_transforms/reauthorize_and_start_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/reauthorize_and_start_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reauthorize_transforms/reauthorize_and_start_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/reauthorize_and_start_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/reauthorize_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reauthorize_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts diff --git a/x-pack/plugins/transform/server/routes/api/reset_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reset_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/reset_transforms/reset_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/reset_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reset_transforms/reset_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/reset_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/reset_transforms/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reset_transforms/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/schedule_now_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/schedule_now_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/schedule_now_transforms/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/schedule_now_transforms/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/schedule_now_transforms/schedule_now_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/schedule_now_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/schedule_now_transforms/schedule_now_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/schedule_now_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/start_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/start_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/start_transforms/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/start_transforms/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/start_transforms/start_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/start_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/start_transforms/start_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/start_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/stop_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/stop_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/stop_transforms/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/stop_transforms/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/stop_transforms/stop_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/stop_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/stop_transforms/stop_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/stop_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_all/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_all/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_all/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_all/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_all/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_all/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_all/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_all/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_create/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_create/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_create/route_handler_factory.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_create/route_handler_factory.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/route_handler_factory.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_nodes/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_nodes/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_nodes/route_handler_factory.test.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/route_handler_factory.test.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_nodes/route_handler_factory.test.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/route_handler_factory.test.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_nodes/route_handler_factory.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_nodes/route_handler_factory.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/route_handler_factory.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_preview/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_preview/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_preview/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_preview/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_preview/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_preview/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_preview/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_preview/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_single/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_single/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_single/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_single/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_single/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_single/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_single/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_single/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_stats_all/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_all/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_stats_all/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_all/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_stats_all/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_all/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_stats_all/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_all/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_stats_single/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_stats_single/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_stats_single/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_stats_single/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_update/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_update/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_update/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_update/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_update/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_update/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_update/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_update/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/audit_messages.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/audit_messages.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/audit_messages.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/audit_messages.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/common.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/common.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/common.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/common.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/delete_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/delete_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/delete_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/delete_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/field_histograms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/field_histograms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/field_histograms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/field_histograms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/reauthorize_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/reauthorize_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/reauthorize_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/reauthorize_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/reset_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/reset_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/reset_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/reset_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/schedule_now_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/schedule_now_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/schedule_now_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/schedule_now_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/start_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/start_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/start_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/start_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/stop_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/stop_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/stop_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/stop_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/transforms_stats.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/transforms_stats.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/transforms_stats.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/transforms_stats.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/update_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/update_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/update_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/update_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/apidoc.json b/x-pack/platform/plugins/private/transform/server/routes/apidoc.json similarity index 100% rename from x-pack/plugins/transform/server/routes/apidoc.json rename to x-pack/platform/plugins/private/transform/server/routes/apidoc.json diff --git a/x-pack/plugins/transform/server/routes/index.ts b/x-pack/platform/plugins/private/transform/server/routes/index.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/index.ts rename to x-pack/platform/plugins/private/transform/server/routes/index.ts diff --git a/x-pack/plugins/transform/server/routes/utils/error_utils.ts b/x-pack/platform/plugins/private/transform/server/routes/utils/error_utils.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/utils/error_utils.ts rename to x-pack/platform/plugins/private/transform/server/routes/utils/error_utils.ts diff --git a/x-pack/plugins/transform/server/services/index.ts b/x-pack/platform/plugins/private/transform/server/services/index.ts similarity index 100% rename from x-pack/plugins/transform/server/services/index.ts rename to x-pack/platform/plugins/private/transform/server/services/index.ts diff --git a/x-pack/plugins/transform/server/services/license.ts b/x-pack/platform/plugins/private/transform/server/services/license.ts similarity index 100% rename from x-pack/plugins/transform/server/services/license.ts rename to x-pack/platform/plugins/private/transform/server/services/license.ts diff --git a/x-pack/plugins/transform/server/types.ts b/x-pack/platform/plugins/private/transform/server/types.ts similarity index 100% rename from x-pack/plugins/transform/server/types.ts rename to x-pack/platform/plugins/private/transform/server/types.ts diff --git a/x-pack/plugins/transform/server/usage/collector.ts b/x-pack/platform/plugins/private/transform/server/usage/collector.ts similarity index 100% rename from x-pack/plugins/transform/server/usage/collector.ts rename to x-pack/platform/plugins/private/transform/server/usage/collector.ts diff --git a/x-pack/plugins/ml/server/usage/index.ts b/x-pack/platform/plugins/private/transform/server/usage/index.ts similarity index 100% rename from x-pack/plugins/ml/server/usage/index.ts rename to x-pack/platform/plugins/private/transform/server/usage/index.ts diff --git a/x-pack/plugins/transform/tsconfig.json b/x-pack/platform/plugins/private/transform/tsconfig.json similarity index 96% rename from x-pack/plugins/transform/tsconfig.json rename to x-pack/platform/plugins/private/transform/tsconfig.json index b1f43e3f096a0..da992737fba2a 100644 --- a/x-pack/plugins/transform/tsconfig.json +++ b/x-pack/platform/plugins/private/transform/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/**/*", // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 "public/**/*.json", ], diff --git a/x-pack/plugins/aiops/README.md b/x-pack/platform/plugins/shared/aiops/README.md similarity index 89% rename from x-pack/plugins/aiops/README.md rename to x-pack/platform/plugins/shared/aiops/README.md index 7be0e3b59aa68..099c65165aa54 100755 --- a/x-pack/plugins/aiops/README.md +++ b/x-pack/platform/plugins/shared/aiops/README.md @@ -6,7 +6,7 @@ The plugin provides APIs and components for AIOps features, including the “Log ## Log Rate Analysis -Here's some notes on the structure of the code for the API endpoint `/internal/aiops/log_rate_analysis`. The endpoint uses the `@kbn/ml-response-stream` package to return the request's response as a HTTP stream of JSON objects. The files are located in `x-pack/plugins/aiops/server/routes/log_rate_analysis/`. +Here's some notes on the structure of the code for the API endpoint `/internal/aiops/log_rate_analysis`. The endpoint uses the `@kbn/ml-response-stream` package to return the request's response as a HTTP stream of JSON objects. The files are located in `x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/`. `define_route.ts:defineRoute()` is the outer most wrapper that's used to define the route and its versions. It calls `route_handler_factory:routeHandlerFactory()` for each version. @@ -24,6 +24,6 @@ Here are some more details on the steps involved to do Log Rate Analysis: - **Statistically significant items**: - **General notes**: Both aggregatable fields and log pattern queries will be wrapped in `random_sampler` aggregations . The p-value threshold to define statistically significant items is `0.02`. - **Aggregatable fields**: For this we use the ES `significant_terms` aggregation with the p-value score option (https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html#p-value-score). The `baseline` time range is used as the `background_filter`, the `deviation` time range is used for the query part (=foreground). - - **Log patterns**: To identify statistically significant entries in text fields there is not an ES equivalent to `significant_terms`, so we cannot run a single query for a field to do this. Instead, we use the following approach: We use the `categorize_text` aggregation to identify top text patterns across the baseline and deviation timerange (not yet statistically significant!). Then, for each identified text pattern, we get the document counts for both baseline and deviation. We then use the retrieved counts to run them against the same Kibana code we use for the Data Drift View to detect if there's a statistically significant difference in the counts (`@kbn/ml-chi2test` package, `x-pack/packages/ml/chi2test/critical_table_lookup.ts`). Text field pattern support was added in 8.11, see [#167467](https://github.com/elastic/kibana/issues/167467) for more details. -- **Grouping**: The grouping tries to identify co-occurences of identified significant items. Again, we have to take different approaches for aggregatable fields and log patterns, but eventually we combine the results. The `frequent_item_sets` aggregation is used as a first step to get co-occurence stats of aggregatable fields. This can be a heavy aggregation so we limit how many values per field we pass on to the agg (`50` at the moment). For each possible aggregatable field to log pattern relation we query the doc count. The result of the `frequent_item_sets` aggregation and those doc counts get then passed on to custom code (derived but over time slighty improved from the original PoC Python Notebooks) to transform that raw data into groups (`x-pack/packages/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts`). + - **Log patterns**: To identify statistically significant entries in text fields there is not an ES equivalent to `significant_terms`, so we cannot run a single query for a field to do this. Instead, we use the following approach: We use the `categorize_text` aggregation to identify top text patterns across the baseline and deviation timerange (not yet statistically significant!). Then, for each identified text pattern, we get the document counts for both baseline and deviation. We then use the retrieved counts to run them against the same Kibana code we use for the Data Drift View to detect if there's a statistically significant difference in the counts (`@kbn/ml-chi2test` package, `x-pack/platform/packages/shared/ml/chi2test/critical_table_lookup.ts`). Text field pattern support was added in 8.11, see [#167467](https://github.com/elastic/kibana/issues/167467) for more details. +- **Grouping**: The grouping tries to identify co-occurences of identified significant items. Again, we have to take different approaches for aggregatable fields and log patterns, but eventually we combine the results. The `frequent_item_sets` aggregation is used as a first step to get co-occurence stats of aggregatable fields. This can be a heavy aggregation so we limit how many values per field we pass on to the agg (`50` at the moment). For each possible aggregatable field to log pattern relation we query the doc count. The result of the `frequent_item_sets` aggregation and those doc counts get then passed on to custom code (derived but over time slighty improved from the original PoC Python Notebooks) to transform that raw data into groups (`x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts`). - **Histogram data**: In addition to the analysis itself the endpoint returns histogram data for the result table sparklines. diff --git a/x-pack/plugins/aiops/jest.config.js b/x-pack/platform/plugins/shared/aiops/jest.config.js similarity index 62% rename from x-pack/plugins/aiops/jest.config.js rename to x-pack/platform/plugins/shared/aiops/jest.config.js index 31f2cfb012c80..27e835419d197 100644 --- a/x-pack/plugins/aiops/jest.config.js +++ b/x-pack/platform/plugins/shared/aiops/jest.config.js @@ -7,9 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/aiops'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/aiops', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/aiops'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/aiops', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/aiops/{public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/aiops/{public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/aiops/kibana.jsonc b/x-pack/platform/plugins/shared/aiops/kibana.jsonc similarity index 100% rename from x-pack/plugins/aiops/kibana.jsonc rename to x-pack/platform/plugins/shared/aiops/kibana.jsonc diff --git a/x-pack/plugins/aiops/public/application/url_state/common.test.ts b/x-pack/platform/plugins/shared/aiops/public/application/url_state/common.test.ts similarity index 100% rename from x-pack/plugins/aiops/public/application/url_state/common.test.ts rename to x-pack/platform/plugins/shared/aiops/public/application/url_state/common.test.ts diff --git a/x-pack/plugins/aiops/public/application/url_state/common.ts b/x-pack/platform/plugins/shared/aiops/public/application/url_state/common.ts similarity index 100% rename from x-pack/plugins/aiops/public/application/url_state/common.ts rename to x-pack/platform/plugins/shared/aiops/public/application/url_state/common.ts diff --git a/x-pack/plugins/aiops/public/application/url_state/log_pattern_analysis.ts b/x-pack/platform/plugins/shared/aiops/public/application/url_state/log_pattern_analysis.ts similarity index 100% rename from x-pack/plugins/aiops/public/application/url_state/log_pattern_analysis.ts rename to x-pack/platform/plugins/shared/aiops/public/application/url_state/log_pattern_analysis.ts diff --git a/x-pack/plugins/aiops/public/application/url_state/log_rate_analysis.ts b/x-pack/platform/plugins/shared/aiops/public/application/url_state/log_rate_analysis.ts similarity index 100% rename from x-pack/plugins/aiops/public/application/url_state/log_rate_analysis.ts rename to x-pack/platform/plugins/shared/aiops/public/application/url_state/log_rate_analysis.ts diff --git a/x-pack/plugins/aiops/public/application/utils/build_extended_base_filter_criteria.test.ts b/x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.test.ts similarity index 100% rename from x-pack/plugins/aiops/public/application/utils/build_extended_base_filter_criteria.test.ts rename to x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.test.ts diff --git a/x-pack/plugins/aiops/public/application/utils/build_extended_base_filter_criteria.ts b/x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts similarity index 97% rename from x-pack/plugins/aiops/public/application/utils/build_extended_base_filter_criteria.ts rename to x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts index 1c67031967ac7..c4b92ac028d0b 100644 --- a/x-pack/plugins/aiops/public/application/utils/build_extended_base_filter_criteria.ts +++ b/x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts @@ -6,7 +6,7 @@ */ // TODO Consolidate with duplicate query utils in -// `x-pack/plugins/data_visualizer/common/utils/query_utils.ts` +// `x-pack/platform/plugins/private/data_visualizer/common/utils/query_utils.ts` import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; diff --git a/x-pack/plugins/aiops/public/application/utils/search_utils.ts b/x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts similarity index 97% rename from x-pack/plugins/aiops/public/application/utils/search_utils.ts rename to x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts index 442ce910dd828..718b63a0069d0 100644 --- a/x-pack/plugins/aiops/public/application/utils/search_utils.ts +++ b/x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts @@ -6,7 +6,7 @@ */ // TODO Consolidate with duplicate saved search utils file in -// `x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts` +// `x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts` import { cloneDeep } from 'lodash'; import type { IUiSettingsClient } from '@kbn/core/public'; diff --git a/x-pack/plugins/aiops/public/application/utils/time_series_dataview_check.tsx b/x-pack/platform/plugins/shared/aiops/public/application/utils/time_series_dataview_check.tsx similarity index 100% rename from x-pack/plugins/aiops/public/application/utils/time_series_dataview_check.tsx rename to x-pack/platform/plugins/shared/aiops/public/application/utils/time_series_dataview_check.tsx diff --git a/x-pack/plugins/aiops/public/cases/change_point_charts_attachment.tsx b/x-pack/platform/plugins/shared/aiops/public/cases/change_point_charts_attachment.tsx similarity index 100% rename from x-pack/plugins/aiops/public/cases/change_point_charts_attachment.tsx rename to x-pack/platform/plugins/shared/aiops/public/cases/change_point_charts_attachment.tsx diff --git a/x-pack/plugins/aiops/public/cases/log_pattern_attachment.tsx b/x-pack/platform/plugins/shared/aiops/public/cases/log_pattern_attachment.tsx similarity index 100% rename from x-pack/plugins/aiops/public/cases/log_pattern_attachment.tsx rename to x-pack/platform/plugins/shared/aiops/public/cases/log_pattern_attachment.tsx diff --git a/x-pack/plugins/aiops/public/cases/log_rate_analysis_attachment.tsx b/x-pack/platform/plugins/shared/aiops/public/cases/log_rate_analysis_attachment.tsx similarity index 100% rename from x-pack/plugins/aiops/public/cases/log_rate_analysis_attachment.tsx rename to x-pack/platform/plugins/shared/aiops/public/cases/log_rate_analysis_attachment.tsx diff --git a/x-pack/plugins/aiops/public/cases/register_cases.tsx b/x-pack/platform/plugins/shared/aiops/public/cases/register_cases.tsx similarity index 100% rename from x-pack/plugins/aiops/public/cases/register_cases.tsx rename to x-pack/platform/plugins/shared/aiops/public/cases/register_cases.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_context.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_context.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_context.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_context.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_page.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_page.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_page.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_page.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_root.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_root.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_type_filter.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_type_filter.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/change_point_type_filter.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_type_filter.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_points_table.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_points_table.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/change_points_table.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_points_table.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/chart_component.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/chart_component.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/chart_component.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/chart_component.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/charts_grid.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/charts_grid.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/charts_grid.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/charts_grid.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/constants.ts b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/constants.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/constants.ts rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/constants.ts diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/fields_config.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/fields_config.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/function_picker.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/function_picker.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/function_picker.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/function_picker.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/index.ts diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/max_series_control.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/max_series_control.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/max_series_control.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/max_series_control.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/metric_field_selector.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/metric_field_selector.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/metric_field_selector.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/metric_field_selector.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/no_change_points_warning.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/no_change_points_warning.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/no_change_points_warning.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/no_change_points_warning.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/partitions_selector.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/partitions_selector.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/partitions_selector.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/partitions_selector.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/search_bar.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/search_bar.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/search_bar.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/search_bar.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/split_field_selector.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/split_field_selector.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/split_field_selector.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/split_field_selector.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/use_change_point_agg_request.ts b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_change_point_agg_request.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/use_change_point_agg_request.ts rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_change_point_agg_request.ts diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/use_common_chart_props.ts b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_common_chart_props.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/use_common_chart_props.ts rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_common_chart_props.ts diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/use_split_field_cardinality.ts b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_split_field_cardinality.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/use_split_field_cardinality.ts rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_split_field_cardinality.ts diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/view_type_selector.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/view_type_selector.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/view_type_selector.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/view_type_selector.tsx diff --git a/x-pack/plugins/aiops/public/components/document_count_content/document_count_content/document_count_content.tsx b/x-pack/platform/plugins/shared/aiops/public/components/document_count_content/document_count_content/document_count_content.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/document_count_content/document_count_content/document_count_content.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/document_count_content/document_count_content/document_count_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/document_count_content/document_count_content/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/document_count_content/document_count_content/index.ts diff --git a/x-pack/plugins/aiops/public/components/document_count_content/total_count_header/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/document_count_content/total_count_header/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/document_count_content/total_count_header/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/document_count_content/total_count_header/index.ts diff --git a/x-pack/plugins/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx b/x-pack/platform/plugins/shared/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx similarity index 94% rename from x-pack/plugins/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx index 8f7173c31b177..0de1e4504935d 100644 --- a/x-pack/plugins/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx @@ -6,7 +6,7 @@ */ // TODO Consolidate with duplicate component `TotalCountHeader` in -// `x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx` +// `x-pack/plugins/private/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx` import { EuiFlexItem, EuiText } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; diff --git a/x-pack/plugins/aiops/public/components/field_stats_popover/field_stats_content.tsx b/x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/field_stats_content.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/field_stats_popover/field_stats_content.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/field_stats_content.tsx diff --git a/x-pack/plugins/aiops/public/components/field_stats_popover/field_stats_popover.tsx b/x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/field_stats_popover.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/field_stats_popover/field_stats_popover.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/field_stats_popover.tsx diff --git a/x-pack/plugins/aiops/public/components/field_stats_popover/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/field_stats_popover/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/attachments_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/attachments_menu.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/categorize_field_actions.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/categorize_field_actions.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/categorize_field_actions.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/categorize_field_actions.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/category_table.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/category_table.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/expanded_row.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/expanded_row.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/expanded_row.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/expanded_row.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/labels.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/labels.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/labels.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/labels.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/table_header.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/table_header.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/table_header.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/table_header.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/use_actions.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/use_actions.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/use_actions.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/use_actions.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/use_open_in_discover.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/use_open_in_discover.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/use_open_in_discover.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/use_open_in_discover.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_validation_callout.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_validation_callout.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_validation_callout.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_validation_callout.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/create_categorization_job.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/create_categorization_job.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/create_categorization_job.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/create_categorization_job.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/document_count_chart.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/document_count_chart.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/document_count_chart.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/document_count_chart.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/format_category.test.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/format_category.test.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/format_category.test.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/format_category.test.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/format_category.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/format_category.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/format_category.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/format_category.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/information_text.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/information_text.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/information_text.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/information_text.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/loading_categorization.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/loading_categorization.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/loading_categorization.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/loading_categorization.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_app_state.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_app_state.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_app_state.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_app_state.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_enabled.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_enabled.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_enabled.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_enabled.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/discover_tabs.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/discover_tabs.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/discover_tabs.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/discover_tabs.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/embeddable_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/embeddable_menu.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/embeddable_menu.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/embeddable_menu.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/field_selector.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/field_selector.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/field_selector.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/field_selector.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover_wrapper.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover_wrapper.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover_wrapper.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover_wrapper.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_embeddable.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_embeddable.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_embeddable.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_embeddable.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/minimum_time_range.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/minimum_time_range.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/minimum_time_range.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/minimum_time_range.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/selected_patterns.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/selected_patterns.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/selected_patterns.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/selected_patterns.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/use_minimum_time_range.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/use_minimum_time_range.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/use_minimum_time_range.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/use_minimum_time_range.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_flyout.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_flyout.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_flyout.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_flyout.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_page.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_page.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/random_sampler.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/random_sampler.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/random_sampler.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/random_sampler.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/random_sampler_range_slider.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/random_sampler_range_slider.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/random_sampler_range_slider.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/random_sampler_range_slider.tsx diff --git a/x-pack/plugins/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 similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/sampling_panel.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_panel.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/sampling_panel.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_panel.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/use_random_sampler_storage.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/use_random_sampler_storage.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/use_random_sampler_storage.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/use_random_sampler_storage.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/show_flyout.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/show_flyout.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/show_flyout.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/show_flyout.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/technical_preview_badge/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/technical_preview_badge/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/technical_preview_badge/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/technical_preview_badge/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/technical_preview_badge/technical_preview_badge.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/technical_preview_badge/technical_preview_badge.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/technical_preview_badge/technical_preview_badge.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/technical_preview_badge/technical_preview_badge.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/use_categorize_request.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_categorize_request.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/use_categorize_request.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_categorize_request.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/use_discover_links.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_discover_links.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/use_discover_links.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_discover_links.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/use_validate_category_field.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_validate_category_field.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/use_validate_category_field.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_validate_category_field.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/utils.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/utils.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/utils.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/utils.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/item_filter_apply_button.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/item_filter_apply_button.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/item_filter_apply_button.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/item_filter_apply_button.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/item_filter_popover.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/item_filter_popover.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/item_filter_popover.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/item_filter_popover.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/index.ts diff --git a/x-pack/plugins/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 similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_document_count_chart_data.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_document_count_chart_data.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_document_count_chart_data.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_document_count_chart_data.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_for_embeddable.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_for_embeddable.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_for_embeddable.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_for_embeddable.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_info_popover.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_info_popover.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_info_popover.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_info_popover.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_options.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_options.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_options.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_options.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx similarity index 98% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx index 862de229958f0..403434c51bb0f 100644 --- a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx @@ -150,7 +150,7 @@ export const LogRateAnalysisPage: FC = ({ }, [documentStats, dispatch, earliest, intervalMs, latest]); useEffect( - // TODO: Consolidate this hook/function with the one in `x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx` + // TODO: Consolidate this hook/function with the one in `x-pack/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx` function clearFiltersOnLeave() { return () => { // We want to clear all filters that have not been pinned globally diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_failed_transactions_correlation_impact_label.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_failed_transactions_correlation_impact_label.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_failed_transactions_correlation_impact_label.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_failed_transactions_correlation_impact_label.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/impact_bar.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/impact_bar.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/impact_bar.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/impact_bar.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.test.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.test.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.test.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.test.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_view_in_discover_action.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_view_in_discover_action.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_view_in_discover_action.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_view_in_discover_action.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_view_in_log_pattern_analysis_action.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_view_in_log_pattern_analysis_action.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_view_in_log_pattern_analysis_action.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_view_in_log_pattern_analysis_action.tsx diff --git a/x-pack/plugins/aiops/public/components/mini_histogram/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/mini_histogram/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/mini_histogram/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/mini_histogram/index.ts diff --git a/x-pack/plugins/aiops/public/components/mini_histogram/mini_histogram.tsx b/x-pack/platform/plugins/shared/aiops/public/components/mini_histogram/mini_histogram.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/mini_histogram/mini_histogram.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/mini_histogram/mini_histogram.tsx diff --git a/x-pack/plugins/aiops/public/components/page_header/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/page_header/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/page_header/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/page_header/index.ts diff --git a/x-pack/plugins/aiops/public/components/page_header/page_header.tsx b/x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/page_header/page_header.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/search_panel/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/search_panel/index.ts diff --git a/x-pack/plugins/aiops/public/components/search_panel/search_panel.tsx b/x-pack/platform/plugins/shared/aiops/public/components/search_panel/search_panel.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/search_panel/search_panel.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/search_panel/search_panel.tsx diff --git a/x-pack/plugins/aiops/public/components/time_field_warning.tsx b/x-pack/platform/plugins/shared/aiops/public/components/time_field_warning.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/time_field_warning.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/time_field_warning.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/change_point_chart_initializer.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/change_point_chart_initializer.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/change_point_chart_initializer.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/change_point_chart_initializer.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/const.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/const.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/const.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/const.ts diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/embeddable_change_point_chart_factory.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/embeddable_change_point_chart_factory.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/embeddable_change_point_chart_factory.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/embeddable_change_point_chart_factory.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/embeddable_chart_component_wrapper.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/embeddable_chart_component_wrapper.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/embeddable_chart_component_wrapper.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/embeddable_chart_component_wrapper.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/index.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/index.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/index.ts diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/initialize_change_point_controls.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/initialize_change_point_controls.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/initialize_change_point_controls.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/initialize_change_point_controls.ts diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/resolve_change_point_config_input.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/resolve_change_point_config_input.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/resolve_change_point_config_input.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/resolve_change_point_config_input.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/types.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/types.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/types.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/types.ts diff --git a/x-pack/plugins/aiops/public/embeddables/index.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/index.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/index.ts diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/embeddable_log_rate_analysis_factory.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/embeddable_log_rate_analysis_factory.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/embeddable_log_rate_analysis_factory.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/embeddable_log_rate_analysis_factory.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/index.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/index.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/index.ts diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/initialize_log_rate_analysis_analysis_controls.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/initialize_log_rate_analysis_analysis_controls.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/initialize_log_rate_analysis_analysis_controls.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/initialize_log_rate_analysis_analysis_controls.ts diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/log_rate_analysis_embeddable_initializer.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/log_rate_analysis_embeddable_initializer.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/log_rate_analysis_embeddable_initializer.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/log_rate_analysis_embeddable_initializer.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/resolve_log_rate_analysis_config_input.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/resolve_log_rate_analysis_config_input.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/resolve_log_rate_analysis_config_input.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/resolve_log_rate_analysis_config_input.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/types.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/types.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/types.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/types.ts diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/embeddable_pattern_analysis_factory.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/embeddable_pattern_analysis_factory.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/embeddable_pattern_analysis_factory.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/embeddable_pattern_analysis_factory.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/index.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/index.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/index.ts diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/initialize_pattern_analysis_controls.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/initialize_pattern_analysis_controls.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/initialize_pattern_analysis_controls.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/initialize_pattern_analysis_controls.ts diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/pattern_analysis_component_wrapper.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/pattern_analysis_component_wrapper.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/pattern_analysis_component_wrapper.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/pattern_analysis_component_wrapper.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/pattern_analysis_initializer.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/pattern_analysis_initializer.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/pattern_analysis_initializer.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/pattern_analysis_initializer.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/resolve_pattern_analysis_config_input.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/resolve_pattern_analysis_config_input.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/resolve_pattern_analysis_config_input.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/resolve_pattern_analysis_config_input.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/types.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/types.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/types.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/types.ts diff --git a/x-pack/plugins/aiops/public/get_document_stats.ts b/x-pack/platform/plugins/shared/aiops/public/get_document_stats.ts similarity index 100% rename from x-pack/plugins/aiops/public/get_document_stats.ts rename to x-pack/platform/plugins/shared/aiops/public/get_document_stats.ts diff --git a/x-pack/plugins/aiops/public/hooks/__mocks__/use_aiops_app_context.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/__mocks__/use_aiops_app_context.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/__mocks__/use_aiops_app_context.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/__mocks__/use_aiops_app_context.ts diff --git a/x-pack/plugins/aiops/public/hooks/__mocks__/use_reload.tsx b/x-pack/platform/plugins/shared/aiops/public/hooks/__mocks__/use_reload.tsx similarity index 100% rename from x-pack/plugins/aiops/public/hooks/__mocks__/use_reload.tsx rename to x-pack/platform/plugins/shared/aiops/public/hooks/__mocks__/use_reload.tsx diff --git a/x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_cancellable_search.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_cancellable_search.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_cancellable_search.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_cancellable_search.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_cases_modal.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_cases_modal.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_cases_modal.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_cases_modal.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_data.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_data.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_data.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_data.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_data_source.tsx b/x-pack/platform/plugins/shared/aiops/public/hooks/use_data_source.tsx similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_data_source.tsx rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_data_source.tsx diff --git a/x-pack/plugins/aiops/public/hooks/use_document_count_stats.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_document_count_stats.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_document_count_stats.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_document_count_stats.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_eui_theme.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_eui_theme.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_eui_theme.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_eui_theme.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_filters_query.test.tsx b/x-pack/platform/plugins/shared/aiops/public/hooks/use_filters_query.test.tsx similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_filters_query.test.tsx rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_filters_query.test.tsx diff --git a/x-pack/plugins/aiops/public/hooks/use_filters_query.tsx b/x-pack/platform/plugins/shared/aiops/public/hooks/use_filters_query.tsx similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_filters_query.tsx rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_filters_query.tsx diff --git a/x-pack/plugins/aiops/public/hooks/use_reload.tsx b/x-pack/platform/plugins/shared/aiops/public/hooks/use_reload.tsx similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_reload.tsx rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_reload.tsx diff --git a/x-pack/plugins/aiops/public/hooks/use_search.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_search.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_search.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_search.ts diff --git a/x-pack/plugins/aiops/public/index.ts b/x-pack/platform/plugins/shared/aiops/public/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/index.ts rename to x-pack/platform/plugins/shared/aiops/public/index.ts diff --git a/x-pack/plugins/aiops/public/plugin.tsx b/x-pack/platform/plugins/shared/aiops/public/plugin.tsx similarity index 100% rename from x-pack/plugins/aiops/public/plugin.tsx rename to x-pack/platform/plugins/shared/aiops/public/plugin.tsx diff --git a/x-pack/plugins/aiops/public/shared_components/change_point_detection.tsx b/x-pack/platform/plugins/shared/aiops/public/shared_components/change_point_detection.tsx similarity index 100% rename from x-pack/plugins/aiops/public/shared_components/change_point_detection.tsx rename to x-pack/platform/plugins/shared/aiops/public/shared_components/change_point_detection.tsx diff --git a/x-pack/plugins/aiops/public/shared_components/index.tsx b/x-pack/platform/plugins/shared/aiops/public/shared_components/index.tsx similarity index 100% rename from x-pack/plugins/aiops/public/shared_components/index.tsx rename to x-pack/platform/plugins/shared/aiops/public/shared_components/index.tsx diff --git a/x-pack/plugins/aiops/public/shared_components/log_rate_analysis_embeddable_wrapper.tsx b/x-pack/platform/plugins/shared/aiops/public/shared_components/log_rate_analysis_embeddable_wrapper.tsx similarity index 100% rename from x-pack/plugins/aiops/public/shared_components/log_rate_analysis_embeddable_wrapper.tsx rename to x-pack/platform/plugins/shared/aiops/public/shared_components/log_rate_analysis_embeddable_wrapper.tsx diff --git a/x-pack/plugins/aiops/public/shared_components/pattern_analysis.tsx b/x-pack/platform/plugins/shared/aiops/public/shared_components/pattern_analysis.tsx similarity index 100% rename from x-pack/plugins/aiops/public/shared_components/pattern_analysis.tsx rename to x-pack/platform/plugins/shared/aiops/public/shared_components/pattern_analysis.tsx diff --git a/x-pack/plugins/aiops/public/shared_lazy_components.tsx b/x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx similarity index 100% rename from x-pack/plugins/aiops/public/shared_lazy_components.tsx rename to x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx diff --git a/x-pack/plugins/aiops/public/types/index.ts b/x-pack/platform/plugins/shared/aiops/public/types/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/types/index.ts rename to x-pack/platform/plugins/shared/aiops/public/types/index.ts diff --git a/x-pack/plugins/aiops/public/types/storage.ts b/x-pack/platform/plugins/shared/aiops/public/types/storage.ts similarity index 100% rename from x-pack/plugins/aiops/public/types/storage.ts rename to x-pack/platform/plugins/shared/aiops/public/types/storage.ts diff --git a/x-pack/plugins/aiops/public/ui_actions/change_point_action_context.ts b/x-pack/platform/plugins/shared/aiops/public/ui_actions/change_point_action_context.ts similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/change_point_action_context.ts rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/change_point_action_context.ts diff --git a/x-pack/plugins/aiops/public/ui_actions/create_change_point_chart.tsx b/x-pack/platform/plugins/shared/aiops/public/ui_actions/create_change_point_chart.tsx similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/create_change_point_chart.tsx rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/create_change_point_chart.tsx diff --git a/x-pack/plugins/aiops/public/ui_actions/create_log_rate_analysis_actions.tsx b/x-pack/platform/plugins/shared/aiops/public/ui_actions/create_log_rate_analysis_actions.tsx similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/create_log_rate_analysis_actions.tsx rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/create_log_rate_analysis_actions.tsx diff --git a/x-pack/plugins/aiops/public/ui_actions/create_pattern_analysis_action.tsx b/x-pack/platform/plugins/shared/aiops/public/ui_actions/create_pattern_analysis_action.tsx similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/create_pattern_analysis_action.tsx rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/create_pattern_analysis_action.tsx diff --git a/x-pack/plugins/aiops/public/ui_actions/index.ts b/x-pack/platform/plugins/shared/aiops/public/ui_actions/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/index.ts rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/index.ts diff --git a/x-pack/plugins/aiops/public/ui_actions/log_rate_analysis_action_context.ts b/x-pack/platform/plugins/shared/aiops/public/ui_actions/log_rate_analysis_action_context.ts similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/log_rate_analysis_action_context.ts rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/log_rate_analysis_action_context.ts diff --git a/x-pack/plugins/aiops/public/ui_actions/open_change_point_ml.tsx b/x-pack/platform/plugins/shared/aiops/public/ui_actions/open_change_point_ml.tsx similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/open_change_point_ml.tsx rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/open_change_point_ml.tsx diff --git a/x-pack/plugins/aiops/public/ui_actions/pattern_analysis_action_context.ts b/x-pack/platform/plugins/shared/aiops/public/ui_actions/pattern_analysis_action_context.ts similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/pattern_analysis_action_context.ts rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/pattern_analysis_action_context.ts diff --git a/x-pack/plugins/aiops/server/index.ts b/x-pack/platform/plugins/shared/aiops/server/index.ts similarity index 100% rename from x-pack/plugins/aiops/server/index.ts rename to x-pack/platform/plugins/shared/aiops/server/index.ts diff --git a/x-pack/plugins/aiops/server/lib/license.ts b/x-pack/platform/plugins/shared/aiops/server/lib/license.ts similarity index 100% rename from x-pack/plugins/aiops/server/lib/license.ts rename to x-pack/platform/plugins/shared/aiops/server/lib/license.ts diff --git a/x-pack/plugins/aiops/server/lib/track_route_usage.test.ts b/x-pack/platform/plugins/shared/aiops/server/lib/track_route_usage.test.ts similarity index 100% rename from x-pack/plugins/aiops/server/lib/track_route_usage.test.ts rename to x-pack/platform/plugins/shared/aiops/server/lib/track_route_usage.test.ts diff --git a/x-pack/plugins/aiops/server/lib/track_route_usage.ts b/x-pack/platform/plugins/shared/aiops/server/lib/track_route_usage.ts similarity index 100% rename from x-pack/plugins/aiops/server/lib/track_route_usage.ts rename to x-pack/platform/plugins/shared/aiops/server/lib/track_route_usage.ts diff --git a/x-pack/plugins/aiops/server/plugin.ts b/x-pack/platform/plugins/shared/aiops/server/plugin.ts similarity index 100% rename from x-pack/plugins/aiops/server/plugin.ts rename to x-pack/platform/plugins/shared/aiops/server/plugin.ts diff --git a/x-pack/plugins/aiops/server/register_cases.ts b/x-pack/platform/plugins/shared/aiops/server/register_cases.ts similarity index 100% rename from x-pack/plugins/aiops/server/register_cases.ts rename to x-pack/platform/plugins/shared/aiops/server/register_cases.ts diff --git a/x-pack/plugins/aiops/server/routes/categorization_field_validation/define_route.ts b/x-pack/platform/plugins/shared/aiops/server/routes/categorization_field_validation/define_route.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/categorization_field_validation/define_route.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/categorization_field_validation/define_route.ts diff --git a/x-pack/plugins/aiops/server/routes/categorization_field_validation/route_handler_factory.ts b/x-pack/platform/plugins/shared/aiops/server/routes/categorization_field_validation/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/categorization_field_validation/route_handler_factory.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/categorization_field_validation/route_handler_factory.ts diff --git a/x-pack/plugins/aiops/server/routes/error_wrapper.ts b/x-pack/platform/plugins/shared/aiops/server/routes/error_wrapper.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/error_wrapper.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/error_wrapper.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/grouping_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/grouping_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/grouping_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/grouping_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/histogram_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/histogram_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/histogram_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/histogram_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/index_info_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/index_info_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/index_info_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/index_info_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/overall_histogram_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/overall_histogram_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/overall_histogram_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/overall_histogram_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/overrides_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/overrides_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/overrides_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/overrides_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/significant_items_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/significant_items_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/significant_items_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/significant_items_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/top_items_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/top_items_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/top_items_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/top_items_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/define_route.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/define_route.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/define_route.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/define_route.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_factory.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_factory.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_factory.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_factory.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/constants.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/constants.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/constants.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/constants.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/log_debug_message.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/log_debug_message.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/log_debug_message.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/log_debug_message.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/state_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/state_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/state_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/state_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end_with_updated_loading_state.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end_with_updated_loading_state.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end_with_updated_loading_state.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end_with_updated_loading_state.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_error.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_error.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_error.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_error.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_ping_with_timeout.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_ping_with_timeout.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_ping_with_timeout.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_ping_with_timeout.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/route_handler_factory.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/route_handler_factory.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/route_handler_factory.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis_field_candidates/route_handler_factory.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis_field_candidates/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis_field_candidates/route_handler_factory.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis_field_candidates/route_handler_factory.ts diff --git a/x-pack/plugins/aiops/server/types.ts b/x-pack/platform/plugins/shared/aiops/server/types.ts similarity index 100% rename from x-pack/plugins/aiops/server/types.ts rename to x-pack/platform/plugins/shared/aiops/server/types.ts diff --git a/x-pack/plugins/aiops/tsconfig.json b/x-pack/platform/plugins/shared/aiops/tsconfig.json similarity index 96% rename from x-pack/plugins/aiops/tsconfig.json rename to x-pack/platform/plugins/shared/aiops/tsconfig.json index 7b4b8493e1ab8..afee86051b7a0 100644 --- a/x-pack/plugins/aiops/tsconfig.json +++ b/x-pack/platform/plugins/shared/aiops/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, "include": [ - "../../../typings/**/*", + "../../../../../typings/**/*", "public/**/*", "scripts/**/*", "server/**/*", diff --git a/x-pack/plugins/ml/.gitignore b/x-pack/platform/plugins/shared/ml/.gitignore similarity index 100% rename from x-pack/plugins/ml/.gitignore rename to x-pack/platform/plugins/shared/ml/.gitignore diff --git a/x-pack/plugins/ml/common/__mocks__/mock_anomalies_table_data.json b/x-pack/platform/plugins/shared/ml/common/__mocks__/mock_anomalies_table_data.json similarity index 100% rename from x-pack/plugins/ml/common/__mocks__/mock_anomalies_table_data.json rename to x-pack/platform/plugins/shared/ml/common/__mocks__/mock_anomalies_table_data.json diff --git a/x-pack/plugins/ml/common/__mocks__/mock_anomalies_table_data_multiple_detectors.json b/x-pack/platform/plugins/shared/ml/common/__mocks__/mock_anomalies_table_data_multiple_detectors.json similarity index 100% rename from x-pack/plugins/ml/common/__mocks__/mock_anomalies_table_data_multiple_detectors.json rename to x-pack/platform/plugins/shared/ml/common/__mocks__/mock_anomalies_table_data_multiple_detectors.json diff --git a/x-pack/plugins/ml/common/api_schemas/json_schema_schema.ts b/x-pack/platform/plugins/shared/ml/common/api_schemas/json_schema_schema.ts similarity index 100% rename from x-pack/plugins/ml/common/api_schemas/json_schema_schema.ts rename to x-pack/platform/plugins/shared/ml/common/api_schemas/json_schema_schema.ts diff --git a/x-pack/plugins/ml/common/constants/alerts.ts b/x-pack/platform/plugins/shared/ml/common/constants/alerts.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/alerts.ts rename to x-pack/platform/plugins/shared/ml/common/constants/alerts.ts diff --git a/x-pack/plugins/ml/common/constants/annotations.ts b/x-pack/platform/plugins/shared/ml/common/constants/annotations.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/annotations.ts rename to x-pack/platform/plugins/shared/ml/common/constants/annotations.ts diff --git a/x-pack/plugins/ml/common/constants/app.ts b/x-pack/platform/plugins/shared/ml/common/constants/app.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/app.ts rename to x-pack/platform/plugins/shared/ml/common/constants/app.ts diff --git a/x-pack/plugins/ml/common/constants/calendars.ts b/x-pack/platform/plugins/shared/ml/common/constants/calendars.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/calendars.ts rename to x-pack/platform/plugins/shared/ml/common/constants/calendars.ts diff --git a/x-pack/plugins/ml/common/constants/cases.ts b/x-pack/platform/plugins/shared/ml/common/constants/cases.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/cases.ts rename to x-pack/platform/plugins/shared/ml/common/constants/cases.ts diff --git a/x-pack/plugins/ml/common/constants/charts.ts b/x-pack/platform/plugins/shared/ml/common/constants/charts.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/charts.ts rename to x-pack/platform/plugins/shared/ml/common/constants/charts.ts diff --git a/x-pack/plugins/ml/common/constants/cloud.ts b/x-pack/platform/plugins/shared/ml/common/constants/cloud.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/cloud.ts rename to x-pack/platform/plugins/shared/ml/common/constants/cloud.ts diff --git a/x-pack/plugins/ml/common/constants/index_patterns.ts b/x-pack/platform/plugins/shared/ml/common/constants/index_patterns.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/index_patterns.ts rename to x-pack/platform/plugins/shared/ml/common/constants/index_patterns.ts diff --git a/x-pack/plugins/ml/common/constants/job_actions.ts b/x-pack/platform/plugins/shared/ml/common/constants/job_actions.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/job_actions.ts rename to x-pack/platform/plugins/shared/ml/common/constants/job_actions.ts diff --git a/x-pack/plugins/ml/common/constants/jobs_list.ts b/x-pack/platform/plugins/shared/ml/common/constants/jobs_list.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/jobs_list.ts rename to x-pack/platform/plugins/shared/ml/common/constants/jobs_list.ts diff --git a/x-pack/plugins/ml/common/constants/license.ts b/x-pack/platform/plugins/shared/ml/common/constants/license.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/license.ts rename to x-pack/platform/plugins/shared/ml/common/constants/license.ts diff --git a/x-pack/plugins/ml/common/constants/locator.ts b/x-pack/platform/plugins/shared/ml/common/constants/locator.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/locator.ts rename to x-pack/platform/plugins/shared/ml/common/constants/locator.ts diff --git a/x-pack/plugins/ml/common/constants/message_levels.ts b/x-pack/platform/plugins/shared/ml/common/constants/message_levels.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/message_levels.ts rename to x-pack/platform/plugins/shared/ml/common/constants/message_levels.ts diff --git a/x-pack/plugins/ml/common/constants/messages.test.mock.ts b/x-pack/platform/plugins/shared/ml/common/constants/messages.test.mock.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/messages.test.mock.ts rename to x-pack/platform/plugins/shared/ml/common/constants/messages.test.mock.ts diff --git a/x-pack/plugins/ml/common/constants/messages.test.ts b/x-pack/platform/plugins/shared/ml/common/constants/messages.test.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/messages.test.ts rename to x-pack/platform/plugins/shared/ml/common/constants/messages.test.ts diff --git a/x-pack/plugins/ml/common/constants/messages.ts b/x-pack/platform/plugins/shared/ml/common/constants/messages.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/messages.ts rename to x-pack/platform/plugins/shared/ml/common/constants/messages.ts diff --git a/x-pack/plugins/ml/common/constants/new_job.ts b/x-pack/platform/plugins/shared/ml/common/constants/new_job.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/new_job.ts rename to x-pack/platform/plugins/shared/ml/common/constants/new_job.ts diff --git a/x-pack/plugins/ml/common/constants/notifications.ts b/x-pack/platform/plugins/shared/ml/common/constants/notifications.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/notifications.ts rename to x-pack/platform/plugins/shared/ml/common/constants/notifications.ts diff --git a/x-pack/plugins/ml/common/constants/search.ts b/x-pack/platform/plugins/shared/ml/common/constants/search.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/search.ts rename to x-pack/platform/plugins/shared/ml/common/constants/search.ts diff --git a/x-pack/plugins/ml/common/constants/settings.ts b/x-pack/platform/plugins/shared/ml/common/constants/settings.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/settings.ts rename to x-pack/platform/plugins/shared/ml/common/constants/settings.ts diff --git a/x-pack/plugins/ml/common/constants/states.ts b/x-pack/platform/plugins/shared/ml/common/constants/states.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/states.ts rename to x-pack/platform/plugins/shared/ml/common/constants/states.ts diff --git a/x-pack/plugins/ml/common/constants/trained_models.ts b/x-pack/platform/plugins/shared/ml/common/constants/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/trained_models.ts rename to x-pack/platform/plugins/shared/ml/common/constants/trained_models.ts diff --git a/x-pack/plugins/ml/common/constants/usage_collection.ts b/x-pack/platform/plugins/shared/ml/common/constants/usage_collection.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/usage_collection.ts rename to x-pack/platform/plugins/shared/ml/common/constants/usage_collection.ts diff --git a/x-pack/plugins/ml/common/index.ts b/x-pack/platform/plugins/shared/ml/common/index.ts similarity index 100% rename from x-pack/plugins/ml/common/index.ts rename to x-pack/platform/plugins/shared/ml/common/index.ts diff --git a/x-pack/plugins/ml/common/license/index.ts b/x-pack/platform/plugins/shared/ml/common/license/index.ts similarity index 100% rename from x-pack/plugins/ml/common/license/index.ts rename to x-pack/platform/plugins/shared/ml/common/license/index.ts diff --git a/x-pack/plugins/ml/common/license/ml_license.ts b/x-pack/platform/plugins/shared/ml/common/license/ml_license.ts similarity index 100% rename from x-pack/plugins/ml/common/license/ml_license.ts rename to x-pack/platform/plugins/shared/ml/common/license/ml_license.ts diff --git a/x-pack/plugins/ml/common/openapi/README.md b/x-pack/platform/plugins/shared/ml/common/openapi/README.md similarity index 100% rename from x-pack/plugins/ml/common/openapi/README.md rename to x-pack/platform/plugins/shared/ml/common/openapi/README.md diff --git a/x-pack/plugins/ml/common/openapi/ml_apis.yaml b/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis.yaml similarity index 100% rename from x-pack/plugins/ml/common/openapi/ml_apis.yaml rename to x-pack/platform/plugins/shared/ml/common/openapi/ml_apis.yaml diff --git a/x-pack/plugins/ml/common/openapi/ml_apis_serverless.yaml b/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis_serverless.yaml similarity index 100% rename from x-pack/plugins/ml/common/openapi/ml_apis_serverless.yaml rename to x-pack/platform/plugins/shared/ml/common/openapi/ml_apis_serverless.yaml diff --git a/x-pack/plugins/ml/common/types/__mocks__/job_config_farequote.json b/x-pack/platform/plugins/shared/ml/common/types/__mocks__/job_config_farequote.json similarity index 100% rename from x-pack/plugins/ml/common/types/__mocks__/job_config_farequote.json rename to x-pack/platform/plugins/shared/ml/common/types/__mocks__/job_config_farequote.json diff --git a/x-pack/plugins/ml/common/types/alerts.ts b/x-pack/platform/plugins/shared/ml/common/types/alerts.ts similarity index 100% rename from x-pack/plugins/ml/common/types/alerts.ts rename to x-pack/platform/plugins/shared/ml/common/types/alerts.ts diff --git a/x-pack/plugins/ml/common/types/annotations.test.ts b/x-pack/platform/plugins/shared/ml/common/types/annotations.test.ts similarity index 100% rename from x-pack/plugins/ml/common/types/annotations.test.ts rename to x-pack/platform/plugins/shared/ml/common/types/annotations.test.ts diff --git a/x-pack/plugins/ml/common/types/annotations.ts b/x-pack/platform/plugins/shared/ml/common/types/annotations.ts similarity index 100% rename from x-pack/plugins/ml/common/types/annotations.ts rename to x-pack/platform/plugins/shared/ml/common/types/annotations.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/combined_job.test.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/combined_job.test.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/combined_job.test.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/combined_job.test.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/combined_job.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/combined_job.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/combined_job.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/combined_job.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/datafeed.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/datafeed.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/datafeed.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/datafeed.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/index.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/index.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/index.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/index.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/job.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/job.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/job_stats.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/job_stats.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/job_stats.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/job_stats.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/model_snapshot.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/model_snapshot.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/model_snapshot.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/model_snapshot.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts diff --git a/x-pack/plugins/ml/common/types/audit_message.ts b/x-pack/platform/plugins/shared/ml/common/types/audit_message.ts similarity index 100% rename from x-pack/plugins/ml/common/types/audit_message.ts rename to x-pack/platform/plugins/shared/ml/common/types/audit_message.ts diff --git a/x-pack/plugins/ml/common/types/calendars.ts b/x-pack/platform/plugins/shared/ml/common/types/calendars.ts similarity index 100% rename from x-pack/plugins/ml/common/types/calendars.ts rename to x-pack/platform/plugins/shared/ml/common/types/calendars.ts diff --git a/x-pack/plugins/ml/common/types/capabilities.ts b/x-pack/platform/plugins/shared/ml/common/types/capabilities.ts similarity index 100% rename from x-pack/plugins/ml/common/types/capabilities.ts rename to x-pack/platform/plugins/shared/ml/common/types/capabilities.ts diff --git a/x-pack/plugins/ml/common/types/categories.ts b/x-pack/platform/plugins/shared/ml/common/types/categories.ts similarity index 100% rename from x-pack/plugins/ml/common/types/categories.ts rename to x-pack/platform/plugins/shared/ml/common/types/categories.ts diff --git a/x-pack/plugins/ml/common/types/common.test.ts b/x-pack/platform/plugins/shared/ml/common/types/common.test.ts similarity index 100% rename from x-pack/plugins/ml/common/types/common.test.ts rename to x-pack/platform/plugins/shared/ml/common/types/common.test.ts diff --git a/x-pack/plugins/ml/common/types/common.ts b/x-pack/platform/plugins/shared/ml/common/types/common.ts similarity index 100% rename from x-pack/plugins/ml/common/types/common.ts rename to x-pack/platform/plugins/shared/ml/common/types/common.ts diff --git a/x-pack/plugins/ml/common/types/data_recognizer.ts b/x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts similarity index 100% rename from x-pack/plugins/ml/common/types/data_recognizer.ts rename to x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts diff --git a/x-pack/plugins/ml/common/types/detector_rules.ts b/x-pack/platform/plugins/shared/ml/common/types/detector_rules.ts similarity index 100% rename from x-pack/plugins/ml/common/types/detector_rules.ts rename to x-pack/platform/plugins/shared/ml/common/types/detector_rules.ts diff --git a/x-pack/plugins/ml/common/types/filters.ts b/x-pack/platform/plugins/shared/ml/common/types/filters.ts similarity index 100% rename from x-pack/plugins/ml/common/types/filters.ts rename to x-pack/platform/plugins/shared/ml/common/types/filters.ts diff --git a/x-pack/plugins/ml/common/types/groups.ts b/x-pack/platform/plugins/shared/ml/common/types/groups.ts similarity index 100% rename from x-pack/plugins/ml/common/types/groups.ts rename to x-pack/platform/plugins/shared/ml/common/types/groups.ts diff --git a/x-pack/plugins/ml/common/types/job_service.ts b/x-pack/platform/plugins/shared/ml/common/types/job_service.ts similarity index 100% rename from x-pack/plugins/ml/common/types/job_service.ts rename to x-pack/platform/plugins/shared/ml/common/types/job_service.ts diff --git a/x-pack/plugins/ml/common/types/job_validation.ts b/x-pack/platform/plugins/shared/ml/common/types/job_validation.ts similarity index 100% rename from x-pack/plugins/ml/common/types/job_validation.ts rename to x-pack/platform/plugins/shared/ml/common/types/job_validation.ts diff --git a/x-pack/plugins/ml/common/types/kibana.ts b/x-pack/platform/plugins/shared/ml/common/types/kibana.ts similarity index 100% rename from x-pack/plugins/ml/common/types/kibana.ts rename to x-pack/platform/plugins/shared/ml/common/types/kibana.ts diff --git a/x-pack/plugins/ml/common/types/locator.ts b/x-pack/platform/plugins/shared/ml/common/types/locator.ts similarity index 100% rename from x-pack/plugins/ml/common/types/locator.ts rename to x-pack/platform/plugins/shared/ml/common/types/locator.ts diff --git a/x-pack/plugins/ml/common/types/management.ts b/x-pack/platform/plugins/shared/ml/common/types/management.ts similarity index 100% rename from x-pack/plugins/ml/common/types/management.ts rename to x-pack/platform/plugins/shared/ml/common/types/management.ts diff --git a/x-pack/plugins/ml/common/types/ml_server_info.ts b/x-pack/platform/plugins/shared/ml/common/types/ml_server_info.ts similarity index 100% rename from x-pack/plugins/ml/common/types/ml_server_info.ts rename to x-pack/platform/plugins/shared/ml/common/types/ml_server_info.ts diff --git a/x-pack/plugins/ml/common/types/modules.ts b/x-pack/platform/plugins/shared/ml/common/types/modules.ts similarity index 100% rename from x-pack/plugins/ml/common/types/modules.ts rename to x-pack/platform/plugins/shared/ml/common/types/modules.ts diff --git a/x-pack/plugins/ml/common/types/notifications.ts b/x-pack/platform/plugins/shared/ml/common/types/notifications.ts similarity index 100% rename from x-pack/plugins/ml/common/types/notifications.ts rename to x-pack/platform/plugins/shared/ml/common/types/notifications.ts diff --git a/x-pack/plugins/ml/common/types/results.ts b/x-pack/platform/plugins/shared/ml/common/types/results.ts similarity index 100% rename from x-pack/plugins/ml/common/types/results.ts rename to x-pack/platform/plugins/shared/ml/common/types/results.ts diff --git a/x-pack/plugins/ml/common/types/saved_objects.ts b/x-pack/platform/plugins/shared/ml/common/types/saved_objects.ts similarity index 100% rename from x-pack/plugins/ml/common/types/saved_objects.ts rename to x-pack/platform/plugins/shared/ml/common/types/saved_objects.ts diff --git a/x-pack/plugins/ml/common/types/storage.test.tsx b/x-pack/platform/plugins/shared/ml/common/types/storage.test.tsx similarity index 100% rename from x-pack/plugins/ml/common/types/storage.test.tsx rename to x-pack/platform/plugins/shared/ml/common/types/storage.test.tsx diff --git a/x-pack/plugins/ml/common/types/storage.ts b/x-pack/platform/plugins/shared/ml/common/types/storage.ts similarity index 100% rename from x-pack/plugins/ml/common/types/storage.ts rename to x-pack/platform/plugins/shared/ml/common/types/storage.ts diff --git a/x-pack/plugins/ml/common/types/trained_models.ts b/x-pack/platform/plugins/shared/ml/common/types/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/common/types/trained_models.ts rename to x-pack/platform/plugins/shared/ml/common/types/trained_models.ts diff --git a/x-pack/plugins/ml/common/util/alerts.test.ts b/x-pack/platform/plugins/shared/ml/common/util/alerts.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/alerts.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/alerts.test.ts diff --git a/x-pack/plugins/ml/common/util/alerts.ts b/x-pack/platform/plugins/shared/ml/common/util/alerts.ts similarity index 100% rename from x-pack/plugins/ml/common/util/alerts.ts rename to x-pack/platform/plugins/shared/ml/common/util/alerts.ts diff --git a/x-pack/plugins/ml/common/util/anomalies_table_utils.test.ts b/x-pack/platform/plugins/shared/ml/common/util/anomalies_table_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/anomalies_table_utils.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/anomalies_table_utils.test.ts diff --git a/x-pack/plugins/ml/common/util/anomalies_table_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/anomalies_table_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/anomalies_table_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/anomalies_table_utils.ts diff --git a/x-pack/plugins/ml/common/util/anomaly_description.ts b/x-pack/platform/plugins/shared/ml/common/util/anomaly_description.ts similarity index 100% rename from x-pack/plugins/ml/common/util/anomaly_description.ts rename to x-pack/platform/plugins/shared/ml/common/util/anomaly_description.ts diff --git a/x-pack/plugins/ml/common/util/chart_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/chart_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/chart_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/chart_utils.ts diff --git a/x-pack/plugins/ml/common/util/datafeed_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/datafeed_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/datafeed_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/datafeed_utils.ts diff --git a/x-pack/plugins/ml/common/util/es_utils.test.ts b/x-pack/platform/plugins/shared/ml/common/util/es_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/es_utils.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/es_utils.test.ts diff --git a/x-pack/plugins/ml/common/util/es_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/es_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/es_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/es_utils.ts diff --git a/x-pack/plugins/ml/common/util/fields_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/fields_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/fields_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/fields_utils.ts diff --git a/x-pack/plugins/ml/common/util/group_color_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/group_color_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/group_color_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/group_color_utils.ts diff --git a/x-pack/plugins/ml/common/util/job_utils.test.ts b/x-pack/platform/plugins/shared/ml/common/util/job_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/job_utils.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/job_utils.test.ts diff --git a/x-pack/plugins/ml/common/util/job_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/job_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/job_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/job_utils.ts diff --git a/x-pack/plugins/ml/common/util/metric_change_description.test.ts b/x-pack/platform/plugins/shared/ml/common/util/metric_change_description.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/metric_change_description.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/metric_change_description.test.ts diff --git a/x-pack/plugins/ml/common/util/metric_change_description.ts b/x-pack/platform/plugins/shared/ml/common/util/metric_change_description.ts similarity index 100% rename from x-pack/plugins/ml/common/util/metric_change_description.ts rename to x-pack/platform/plugins/shared/ml/common/util/metric_change_description.ts diff --git a/x-pack/plugins/ml/common/util/object_utils.test.ts b/x-pack/platform/plugins/shared/ml/common/util/object_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/object_utils.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/object_utils.test.ts diff --git a/x-pack/plugins/ml/common/util/object_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/object_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/object_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/object_utils.ts diff --git a/x-pack/plugins/ml/common/util/string_utils.test.ts b/x-pack/platform/plugins/shared/ml/common/util/string_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/string_utils.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/string_utils.test.ts diff --git a/x-pack/plugins/ml/common/util/string_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/string_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/string_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/string_utils.ts diff --git a/x-pack/plugins/ml/common/util/validation_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/validation_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/validation_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/validation_utils.ts diff --git a/x-pack/plugins/data_visualizer/jest.config.js b/x-pack/platform/plugins/shared/ml/jest.config.js similarity index 67% rename from x-pack/plugins/data_visualizer/jest.config.js rename to x-pack/platform/plugins/shared/ml/jest.config.js index 46de590b709bb..e8b18e7ea256c 100644 --- a/x-pack/plugins/data_visualizer/jest.config.js +++ b/x-pack/platform/plugins/shared/ml/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/data_visualizer'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/data_visualizer', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/ml'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/ml', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/data_visualizer/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/shared/ml/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/ml/kibana.jsonc b/x-pack/platform/plugins/shared/ml/kibana.jsonc similarity index 100% rename from x-pack/plugins/ml/kibana.jsonc rename to x-pack/platform/plugins/shared/ml/kibana.jsonc diff --git a/x-pack/plugins/ml/public/__mocks__/core_start.ts b/x-pack/platform/plugins/shared/ml/public/__mocks__/core_start.ts similarity index 100% rename from x-pack/plugins/ml/public/__mocks__/core_start.ts rename to x-pack/platform/plugins/shared/ml/public/__mocks__/core_start.ts diff --git a/x-pack/plugins/ml/public/__mocks__/ml_start_deps.ts b/x-pack/platform/plugins/shared/ml/public/__mocks__/ml_start_deps.ts similarity index 100% rename from x-pack/plugins/ml/public/__mocks__/ml_start_deps.ts rename to x-pack/platform/plugins/shared/ml/public/__mocks__/ml_start_deps.ts diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/alert_actions.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/alert_actions.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/alert_actions.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/alert_actions.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/index.ts b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/index.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/index.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/index.ts diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.test.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.test.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.test.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/use_alerts_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/use_alerts_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/use_alerts_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/use_alerts_flyout.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/advanced_settings.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/advanced_settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/advanced_settings.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/advanced_settings.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/config_validator.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/config_validator.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/config_validator.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/config_validator.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/index.ts b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/index.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/index.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/index.ts diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/interim_results_control.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/interim_results_control.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/interim_results_control.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/interim_results_control.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/ml_anomaly_alert_trigger.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/ml_anomaly_alert_trigger.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/ml_anomaly_alert_trigger.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/ml_anomaly_alert_trigger.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/preview_alert_condition.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/preview_alert_condition.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/preview_alert_condition.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/preview_alert_condition.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/register_anomaly_detection_rule.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/register_anomaly_detection_rule.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/register_anomaly_detection_rule.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/register_anomaly_detection_rule.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/result_type_selector.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/result_type_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/result_type_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/result_type_selector.tsx diff --git a/x-pack/plugins/ml/public/alerting/index.ts b/x-pack/platform/plugins/shared/ml/public/alerting/index.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/index.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/index.ts diff --git a/x-pack/plugins/ml/public/alerting/job_selector.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/job_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/job_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/job_selector.tsx diff --git a/x-pack/plugins/ml/public/alerting/jobs_health_rule/anomaly_detection_jobs_health_rule_trigger.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/anomaly_detection_jobs_health_rule_trigger.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/jobs_health_rule/anomaly_detection_jobs_health_rule_trigger.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/anomaly_detection_jobs_health_rule_trigger.tsx diff --git a/x-pack/plugins/ml/public/alerting/jobs_health_rule/index.ts b/x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/index.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/jobs_health_rule/index.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/index.ts diff --git a/x-pack/plugins/ml/public/alerting/jobs_health_rule/register_jobs_health_alerting_rule.ts b/x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/register_jobs_health_alerting_rule.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/jobs_health_rule/register_jobs_health_alerting_rule.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/register_jobs_health_alerting_rule.ts diff --git a/x-pack/plugins/ml/public/alerting/jobs_health_rule/tests_selection_control.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/tests_selection_control.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/jobs_health_rule/tests_selection_control.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/tests_selection_control.tsx diff --git a/x-pack/plugins/ml/public/alerting/ml_alerting_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/ml_alerting_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/ml_alerting_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/ml_alerting_flyout.tsx diff --git a/x-pack/plugins/ml/public/alerting/register_ml_alerts.ts b/x-pack/platform/plugins/shared/ml/public/alerting/register_ml_alerts.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/register_ml_alerts.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/register_ml_alerts.ts diff --git a/x-pack/plugins/ml/public/alerting/time_interval_control.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/time_interval_control.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/time_interval_control.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/time_interval_control.tsx diff --git a/x-pack/plugins/ml/public/alerting/validators.ts b/x-pack/platform/plugins/shared/ml/public/alerting/validators.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/validators.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/validators.ts diff --git a/x-pack/plugins/ml/public/application/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/_index.scss diff --git a/x-pack/plugins/ml/public/application/_variables.scss b/x-pack/platform/plugins/shared/ml/public/application/_variables.scss similarity index 100% rename from x-pack/plugins/ml/public/application/_variables.scss rename to x-pack/platform/plugins/shared/ml/public/application/_variables.scss diff --git a/x-pack/plugins/ml/public/application/access_denied/access_denied.tsx b/x-pack/platform/plugins/shared/ml/public/application/access_denied/access_denied.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/access_denied/access_denied.tsx rename to x-pack/platform/plugins/shared/ml/public/application/access_denied/access_denied.tsx diff --git a/x-pack/plugins/ml/public/application/access_denied/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/access_denied/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/access_denied/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/access_denied/index.tsx diff --git a/x-pack/plugins/ml/public/application/aiops/change_point_detection.tsx b/x-pack/platform/plugins/shared/ml/public/application/aiops/change_point_detection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/aiops/change_point_detection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/aiops/change_point_detection.tsx diff --git a/x-pack/plugins/ml/public/application/aiops/index.ts b/x-pack/platform/plugins/shared/ml/public/application/aiops/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/aiops/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/aiops/index.ts diff --git a/x-pack/plugins/ml/public/application/aiops/log_categorization.tsx b/x-pack/platform/plugins/shared/ml/public/application/aiops/log_categorization.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/aiops/log_categorization.tsx rename to x-pack/platform/plugins/shared/ml/public/application/aiops/log_categorization.tsx diff --git a/x-pack/plugins/ml/public/application/aiops/log_rate_analysis.tsx b/x-pack/platform/plugins/shared/ml/public/application/aiops/log_rate_analysis.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/aiops/log_rate_analysis.tsx rename to x-pack/platform/plugins/shared/ml/public/application/aiops/log_rate_analysis.tsx diff --git a/x-pack/plugins/ml/public/application/app.tsx b/x-pack/platform/plugins/shared/ml/public/application/app.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/app.tsx rename to x-pack/platform/plugins/shared/ml/public/application/app.tsx diff --git a/x-pack/plugins/ml/public/application/capabilities/__mocks__/check_capabilities.ts b/x-pack/platform/plugins/shared/ml/public/application/capabilities/__mocks__/check_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/public/application/capabilities/__mocks__/check_capabilities.ts rename to x-pack/platform/plugins/shared/ml/public/application/capabilities/__mocks__/check_capabilities.ts diff --git a/x-pack/plugins/ml/public/application/capabilities/check_capabilities.ts b/x-pack/platform/plugins/shared/ml/public/application/capabilities/check_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/public/application/capabilities/check_capabilities.ts rename to x-pack/platform/plugins/shared/ml/public/application/capabilities/check_capabilities.ts diff --git a/x-pack/plugins/ml/public/application/capabilities/get_capabilities.ts b/x-pack/platform/plugins/shared/ml/public/application/capabilities/get_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/public/application/capabilities/get_capabilities.ts rename to x-pack/platform/plugins/shared/ml/public/application/capabilities/get_capabilities.ts diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/index.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/index.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/index.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/index.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_flyout/index.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_flyout/index.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_flyout/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_flyout/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_flyout/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_flyout/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/__mocks__/mock_annotations.json b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/__mocks__/mock_annotations.json similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotations_table/__mocks__/mock_annotations.json rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/__mocks__/mock_annotations.json diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/annotations_table.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/annotations_table.js diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/annotations_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/annotations_table.test.js diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotations_table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/index.js diff --git a/x-pack/plugins/ml/public/application/components/annotations/delete_annotation_modal/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/delete_annotation_modal/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/delete_annotation_modal/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/delete_annotation_modal/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/_anomalies_table.scss b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/_anomalies_table.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/_anomalies_table.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/_anomalies_table.scss diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table.test.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table_columns.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table_columns.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table_columns.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table_columns.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table_constants.ts b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table_constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table_constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table_constants.ts diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details.test.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/description_cell.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/description_cell.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/description_cell.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/description_cell.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/detector_cell.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/detector_cell.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/detector_cell.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/detector_cell.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/get_query_string_for_influencers.test.ts b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/get_query_string_for_influencers.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/get_query_string_for_influencers.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/get_query_string_for_influencers.test.ts diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/get_query_string_for_influencers.ts b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/get_query_string_for_influencers.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/get_query_string_for_influencers.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/get_query_string_for_influencers.ts diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/index.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/influencers_cell.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/influencers_cell.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/influencers_cell.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/influencers_cell.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/links_menu.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/links_menu.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/links_menu.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/links_menu.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/index.ts diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/severity_cell.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/severity_cell.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/severity_cell.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/severity_cell.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/severity_cell.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/severity_cell.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/severity_cell.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/severity_cell.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/callout/callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/callout/callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/callout/callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/callout/callout.tsx diff --git a/x-pack/plugins/ml/public/application/components/callout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/callout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/callout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/callout/index.ts diff --git a/x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip.tsx diff --git a/x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_service.test.ts b/x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_service.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_service.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_service.test.ts diff --git a/x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_service.ts b/x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_service.ts diff --git a/x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_styles.ts b/x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_styles.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_styles.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_styles.ts diff --git a/x-pack/plugins/ml/public/application/components/chart_tooltip/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/chart_tooltip/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/index.ts diff --git a/x-pack/plugins/ml/public/application/components/collapsible_panel/collapsible_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/collapsible_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/collapsible_panel/collapsible_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/collapsible_panel.tsx diff --git a/x-pack/plugins/ml/public/application/components/collapsible_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/collapsible_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/components/collapsible_panel/panel_header_items.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/panel_header_items.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/collapsible_panel/panel_header_items.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/panel_header_items.tsx diff --git a/x-pack/plugins/ml/public/application/components/color_range_legend/color_range_legend.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/color_range_legend.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/color_range_legend/color_range_legend.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/color_range_legend.tsx diff --git a/x-pack/plugins/ml/public/application/components/color_range_legend/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/color_range_legend/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/index.ts diff --git a/x-pack/plugins/ml/public/application/components/color_range_legend/use_color_range.test.ts b/x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/use_color_range.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/color_range_legend/use_color_range.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/use_color_range.test.ts diff --git a/x-pack/plugins/ml/public/application/components/color_range_legend/use_color_range.ts b/x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/use_color_range.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/color_range_legend/use_color_range.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/use_color_range.ts diff --git a/x-pack/plugins/ml/public/application/components/controls/checkbox_showcharts/checkbox_showcharts.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/checkbox_showcharts/checkbox_showcharts.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/checkbox_showcharts/checkbox_showcharts.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/checkbox_showcharts/checkbox_showcharts.tsx diff --git a/x-pack/plugins/ml/public/application/components/controls/checkbox_showcharts/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/controls/checkbox_showcharts/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/checkbox_showcharts/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/checkbox_showcharts/index.ts diff --git a/x-pack/plugins/ml/public/application/components/controls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/controls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/index.ts diff --git a/x-pack/plugins/ml/public/application/components/controls/select_interval/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_interval/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/index.ts diff --git a/x-pack/plugins/ml/public/application/components/controls/select_interval/select_interval.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/select_interval.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_interval/select_interval.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/select_interval.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/controls/select_interval/select_interval.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/select_interval.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_interval/select_interval.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/select_interval.tsx diff --git a/x-pack/plugins/ml/public/application/components/controls/select_severity/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_severity/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/index.ts diff --git a/x-pack/plugins/ml/public/application/components/controls/select_severity/select_severity.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_severity/select_severity.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/controls/select_severity/select_severity.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_severity/select_severity.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx diff --git a/x-pack/plugins/ml/public/application/components/create_data_view_button/create_data_view_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/create_data_view_button/create_data_view_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/create_data_view_button/create_data_view_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/create_data_view_button/create_data_view_button.tsx diff --git a/x-pack/plugins/ml/public/application/components/create_data_view_button/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/create_data_view_button/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/create_data_view_button/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/create_data_view_button/index.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_hooks/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_hooks/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/index.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_hooks/use_create_ad_links.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/use_create_ad_links.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_hooks/use_create_ad_links.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/use_create_ad_links.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_hooks/use_partial_state.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/use_partial_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_hooks/use_partial_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/use_partial_state.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_selection_table/custom_selection_table.js b/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_selection_table/custom_selection_table.js rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js diff --git a/x-pack/plugins/ml/public/application/components/custom_selection_table/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_selection_table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/index.js diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/constants.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/constants.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/custom_time_range_picker.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/custom_time_range_picker.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/custom_time_range_picker.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/custom_time_range_picker.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/get_dropdown_options.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/get_dropdown_options.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/get_dropdown_options.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/get_dropdown_options.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/index.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/interval_time_range_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/interval_time_range_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/interval_time_range_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/interval_time_range_selector.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/list.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/list.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/list.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/list.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/list.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/list.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/utils.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_urls.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_urls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_urls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_urls.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_urls_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_urls_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_urls_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_urls_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/index.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/is_valid_custom_urls.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/is_valid_custom_urls.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/is_valid_custom_urls.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/is_valid_custom_urls.ts diff --git a/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts b/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/data_recognizer.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/data_recognizer.d.ts diff --git a/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.js b/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/data_recognizer.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.js rename to x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/data_recognizer.js diff --git a/x-pack/plugins/ml/public/application/components/data_recognizer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/data_recognizer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/index.ts diff --git a/x-pack/plugins/ml/public/application/components/data_recognizer/recognized_result.js b/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/recognized_result.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/data_recognizer/recognized_result.js rename to x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/recognized_result.js diff --git a/x-pack/plugins/ml/public/application/components/delete_space_aware_item_check_modal/delete_space_aware_item_check_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/delete_space_aware_item_check_modal/delete_space_aware_item_check_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/delete_space_aware_item_check_modal/delete_space_aware_item_check_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/delete_space_aware_item_check_modal/delete_space_aware_item_check_modal.tsx diff --git a/x-pack/plugins/ml/public/application/components/delete_space_aware_item_check_modal/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/delete_space_aware_item_check_modal/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/delete_space_aware_item_check_modal/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/delete_space_aware_item_check_modal/index.ts diff --git a/x-pack/plugins/ml/public/application/components/display_value/display_value.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/display_value/display_value.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/display_value/display_value.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/display_value/display_value.tsx diff --git a/x-pack/plugins/ml/public/application/components/display_value/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/display_value/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/display_value/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/display_value/index.ts diff --git a/x-pack/plugins/ml/public/application/components/entity_cell/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/entity_cell/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.scss b/x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.scss diff --git a/x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.tsx diff --git a/x-pack/plugins/ml/public/application/components/entity_cell/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/entity_cell/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/index.ts diff --git a/x-pack/plugins/ml/public/application/components/feedback_button/feature_feedback_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/feature_feedback_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/feedback_button/feature_feedback_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/feature_feedback_button.tsx diff --git a/x-pack/plugins/ml/public/application/components/feedback_button/feedback_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/feedback_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/feedback_button/feedback_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/feedback_button.tsx diff --git a/x-pack/plugins/ml/public/application/components/feedback_button/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/feedback_button/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/index.ts diff --git a/x-pack/plugins/ml/public/application/components/header_menu_portal/header_menu_portal.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/header_menu_portal/header_menu_portal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/header_menu_portal/header_menu_portal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/header_menu_portal/header_menu_portal.tsx diff --git a/x-pack/plugins/ml/public/application/components/header_menu_portal/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/header_menu_portal/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/header_menu_portal/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/header_menu_portal/index.ts diff --git a/x-pack/plugins/ml/public/application/components/help_icon/help_icon.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_icon/help_icon.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_icon/help_icon.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_icon/help_icon.tsx diff --git a/x-pack/plugins/ml/public/application/components/help_icon/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_icon/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_icon/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_icon/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/help_menu/help_menu.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_menu/help_menu.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_menu/help_menu.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_menu/help_menu.tsx diff --git a/x-pack/plugins/ml/public/application/components/help_menu/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_menu/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_menu/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_menu/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/help_popover/help_popover.scss b/x-pack/platform/plugins/shared/ml/public/application/components/help_popover/help_popover.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_popover/help_popover.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/help_popover/help_popover.scss diff --git a/x-pack/plugins/ml/public/application/components/help_popover/help_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_popover/help_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_popover/help_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_popover/help_popover.tsx diff --git a/x-pack/plugins/ml/public/application/components/help_popover/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_popover/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_popover/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_popover/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_job_warning_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_job_warning_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_job_warning_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_job_warning_callout.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout_content.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout_content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout_content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout_content.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/jobs_export_service.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/jobs_export_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/jobs_export_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/jobs_export_service.ts diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_import_jobs_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_import_jobs_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_import_jobs_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_import_jobs_callout.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_read_file_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_read_file_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_read_file_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_read_file_callout.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/jobs_import_service.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/jobs_import_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/jobs_import_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/jobs_import_service.ts diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/validate.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/validate.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/validate.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/validate.ts diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/index.ts diff --git a/x-pack/plugins/ml/public/application/components/influencers_list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/influencers_list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/index.ts diff --git a/x-pack/plugins/ml/public/application/components/influencers_list/influencers_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/influencers_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/influencers_list/influencers_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/influencers_list.tsx diff --git a/x-pack/plugins/ml/public/application/components/influencers_list/influencers_list_styles.ts b/x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/influencers_list_styles.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/influencers_list/influencers_list_styles.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/influencers_list_styles.ts diff --git a/x-pack/plugins/ml/public/application/components/items_grid/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/items_grid/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/items_grid/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/items_grid/index.js diff --git a/x-pack/plugins/ml/public/application/components/items_grid/items_grid.js b/x-pack/platform/plugins/shared/ml/public/application/components/items_grid/items_grid.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/items_grid/items_grid.js rename to x-pack/platform/plugins/shared/ml/public/application/components/items_grid/items_grid.js diff --git a/x-pack/plugins/ml/public/application/components/items_grid/items_grid_pagination.js b/x-pack/platform/plugins/shared/ml/public/application/components/items_grid/items_grid_pagination.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/items_grid/items_grid_pagination.js rename to x-pack/platform/plugins/shared/ml/public/application/components/items_grid/items_grid_pagination.js diff --git a/x-pack/plugins/ml/public/application/components/job_message_icon/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_message_icon/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_message_icon/job_message_icon.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/job_message_icon.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_message_icon/job_message_icon.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/job_message_icon.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_messages/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_messages/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_messages/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_messages/job_messages.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_messages/job_messages.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_selector/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/job_selector/_job_selector.scss b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/_job_selector.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/_job_selector.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/_job_selector.scss diff --git a/x-pack/plugins/ml/public/application/components/job_selector/id_badges/id_badges.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/id_badges.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/id_badges/id_badges.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/id_badges.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/id_badges/id_badges.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/id_badges.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/id_badges/id_badges.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/id_badges.test.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/id_badges/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/id_badges/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/index.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_select_service_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_select_service_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_select_service_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_select_service_utils.ts diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_badge/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_badge/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_badge/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_badge/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_badge/job_selector_badge.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_badge/job_selector_badge.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_badge/job_selector_badge.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_badge/job_selector_badge.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/index.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/job_selector_table.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/job_selector_table.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/job_selector_table.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/job_selector_table.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/job_selector_table.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/job_selector_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/job_selector_table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/job_selector_table.test.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/index.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/timerange_bar.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/timerange_bar.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/timerange_bar.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/timerange_bar.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/timerange_bar.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/timerange_bar.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/timerange_bar.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/timerange_bar.test.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/use_job_selection.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/use_job_selection.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/use_job_selection.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/use_job_selection.ts diff --git a/x-pack/plugins/ml/public/application/components/job_spaces_sync/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_spaces_sync/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_spaces_sync/job_spaces_sync_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/job_spaces_sync_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_spaces_sync/job_spaces_sync_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/job_spaces_sync_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_spaces_sync/sync_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/sync_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_spaces_sync/sync_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/sync_list.tsx diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/index.ts diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx diff --git a/x-pack/plugins/ml/public/application/components/link_card/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/link_card/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/link_card/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/link_card/index.ts diff --git a/x-pack/plugins/ml/public/application/components/link_card/link_card.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/link_card/link_card.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/link_card/link_card.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/link_card/link_card.tsx diff --git a/x-pack/plugins/ml/public/application/components/loading_indicator/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/loading_indicator/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/loading_indicator/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/loading_indicator/index.ts diff --git a/x-pack/plugins/ml/public/application/components/loading_indicator/loading_indicator.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/loading_indicator/loading_indicator.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/loading_indicator/loading_indicator.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/loading_indicator/loading_indicator.tsx diff --git a/x-pack/plugins/ml/public/application/components/message_call_out/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/message_call_out/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/message_call_out/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/message_call_out/index.js diff --git a/x-pack/plugins/ml/public/application/components/message_call_out/message_call_out.js b/x-pack/platform/plugins/shared/ml/public/application/components/message_call_out/message_call_out.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/message_call_out/message_call_out.js rename to x-pack/platform/plugins/shared/ml/public/application/components/message_call_out/message_call_out.js diff --git a/x-pack/plugins/ml/public/application/components/ml_entity_selector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_entity_selector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/index.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_entity_selector/ml_entity_selector.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/ml_entity_selector.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_entity_selector/ml_entity_selector.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/ml_entity_selector.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_entity_selector/ml_entity_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/ml_entity_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_entity_selector/ml_entity_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/ml_entity_selector.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/add_inference_pipeline_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/add_inference_pipeline_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/add_inference_pipeline_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/add_inference_pipeline_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/additional_advanced_settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/additional_advanced_settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/additional_advanced_settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/additional_advanced_settings.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/pipeline_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/pipeline_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/pipeline_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/pipeline_details.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/processor_configuration.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/processor_configuration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/processor_configuration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/processor_configuration.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/reindex_with_pipeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/reindex_with_pipeline.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/reindex_with_pipeline.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/reindex_with_pipeline.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/save_changes_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/save_changes_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/save_changes_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/save_changes_button.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/test_pipeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/test_pipeline.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/test_pipeline.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/test_pipeline.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/constants.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/constants.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/get_pipeline_config.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/get_pipeline_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/get_pipeline_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/get_pipeline_config.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/get_steps.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/get_steps.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/get_steps.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/get_steps.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/hooks/use_fetch_pipelines.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/hooks/use_fetch_pipelines.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/hooks/use_fetch_pipelines.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/hooks/use_fetch_pipelines.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/index.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/retry_create_data_view.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/retry_create_data_view.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/retry_create_data_view.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/retry_create_data_view.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/state.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/state.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/state.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/types.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/types.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/types.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/types.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/validation.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/validation.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/validation.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/validation.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_page/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_page/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_page/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_page/index.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_page/ml_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_page/ml_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_page/ml_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_page/ml_page.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_page/notifications_indicator.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_page/notifications_indicator.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_page/notifications_indicator.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_page/notifications_indicator.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_page/side_nav.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_page/side_nav.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_page/side_nav.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_page/side_nav.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_saved_objects_spaces_list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_saved_objects_spaces_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_saved_objects_spaces_list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_saved_objects_spaces_list/index.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_saved_objects_spaces_list/ml_saved_objects_spaces_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_saved_objects_spaces_list/ml_saved_objects_spaces_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_saved_objects_spaces_list/ml_saved_objects_spaces_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_saved_objects_spaces_list/ml_saved_objects_spaces_list.tsx diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/close_job_confirm/close_job_confirm.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/close_job_confirm/close_job_confirm.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/close_job_confirm/close_job_confirm.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/close_job_confirm/close_job_confirm.tsx diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/close_job_confirm/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/close_job_confirm/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/close_job_confirm/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/close_job_confirm/index.ts diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/edit_model_snapshot_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/edit_model_snapshot_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/edit_model_snapshot_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/edit_model_snapshot_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/index.ts diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/model_snapshots_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/model_snapshots_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/model_snapshots_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/model_snapshots_table.tsx diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/chart_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/chart_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/chart_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/chart_loader.ts diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/multi_select_picker/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/multi_select_picker/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/index.ts diff --git a/x-pack/plugins/ml/public/application/components/multi_select_picker/multi_select_picker.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/multi_select_picker.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/multi_select_picker/multi_select_picker.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/multi_select_picker.tsx diff --git a/x-pack/plugins/ml/public/application/components/node_available_warning/hooks.ts b/x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/hooks.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/node_available_warning/hooks.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/hooks.ts diff --git a/x-pack/plugins/ml/public/application/components/node_available_warning/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/node_available_warning/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/index.ts diff --git a/x-pack/plugins/ml/public/application/components/node_available_warning/node_available_warning.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/node_available_warning.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/node_available_warning/node_available_warning.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/node_available_warning.tsx diff --git a/x-pack/plugins/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx diff --git a/x-pack/plugins/ml/public/application/components/node_available_warning/warning.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/warning.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/node_available_warning/warning.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/warning.tsx diff --git a/x-pack/plugins/ml/public/application/components/page_header/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/page_header/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/page_header/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/page_header/index.ts diff --git a/x-pack/plugins/ml/public/application/components/page_header/page_header.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/page_header/page_header.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/page_header/page_header.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/page_header/page_header.tsx diff --git a/x-pack/plugins/ml/public/application/components/page_title/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/page_title/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/page_title/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/page_title/index.ts diff --git a/x-pack/plugins/ml/public/application/components/page_title/page_title.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/page_title/page_title.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/page_title/page_title.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/page_title/page_title.tsx diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/actions_section.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/actions_section.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/actions_section.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/actions_section.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/condition_expression.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/condition_expression.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/condition_expression.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/condition_expression.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/conditions_section.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/conditions_section.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/conditions_section.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/conditions_section.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/scope_expression.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/scope_expression.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/scope_expression.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/scope_expression.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/scope_section.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/scope_section.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/scope_section.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/scope_section.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/_rule_editor.scss b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/_rule_editor.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/_rule_editor.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/_rule_editor.scss diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/actions_section.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/actions_section.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/actions_section.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/actions_section.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/actions_section.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/actions_section.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/actions_section.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/actions_section.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/_detector_description_list.scss b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/_detector_description_list.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/_detector_description_list.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/_detector_description_list.scss diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/index.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/condition_expression.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/condition_expression.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/condition_expression.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/condition_expression.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/condition_expression.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/condition_expression.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/condition_expression.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/condition_expression.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/conditions_section.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/conditions_section.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/conditions_section.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/conditions_section.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/conditions_section.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/conditions_section.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/conditions_section.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/conditions_section.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/index.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/rule_editor_flyout.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/rule_editor_flyout.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/rule_editor_flyout.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/rule_editor_flyout.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/rule_editor_flyout.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/rule_editor_flyout.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/rule_editor_flyout.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/rule_editor_flyout.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/scope_expression.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_expression.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/scope_expression.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_expression.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/scope_expression.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_expression.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/scope_expression.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_expression.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/scope_section.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_section.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/scope_section.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_section.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/scope_section.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_section.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/scope_section.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_section.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/index.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/select_rule_action.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/select_rule_action.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/select_rule_action.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/select_rule_action.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/utils.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/utils.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/utils.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/utils.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/utils.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/utils.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/utils.test.js diff --git a/x-pack/plugins/ml/public/application/components/saved_objects_warning/__mocks__/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/saved_objects_warning/__mocks__/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/__mocks__/index.ts diff --git a/x-pack/plugins/ml/public/application/components/saved_objects_warning/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/saved_objects_warning/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/index.ts diff --git a/x-pack/plugins/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/index.ts diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.test.ts b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.test.ts diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.ts b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.ts diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts diff --git a/x-pack/plugins/ml/public/application/components/severity_control/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/severity_control/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/severity_control/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/severity_control/index.ts diff --git a/x-pack/plugins/ml/public/application/components/severity_control/severity_control.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/severity_control/severity_control.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/severity_control/severity_control.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/severity_control/severity_control.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/add_inference_pipeline_footer.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/add_inference_pipeline_footer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/add_inference_pipeline_footer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/add_inference_pipeline_footer.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/add_inference_pipeline_horizontal_steps.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/add_inference_pipeline_horizontal_steps.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/add_inference_pipeline_horizontal_steps.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/add_inference_pipeline_horizontal_steps.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/shared/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/index.ts diff --git a/x-pack/plugins/ml/public/application/components/shared/on_failure_configuration.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/on_failure_configuration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/on_failure_configuration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/on_failure_configuration.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/pipeline_details_title.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/pipeline_details_title.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/pipeline_details_title.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/pipeline_details_title.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/pipeline_name_and_description.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/pipeline_name_and_description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/pipeline_name_and_description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/pipeline_name_and_description.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/review_and_create_pipeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/review_and_create_pipeline.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/review_and_create_pipeline.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/review_and_create_pipeline.tsx diff --git a/x-pack/plugins/ml/public/application/components/stats_bar/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/stats_bar/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/index.ts diff --git a/x-pack/plugins/ml/public/application/components/stats_bar/stat.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/stat.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/stats_bar/stat.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/stat.tsx diff --git a/x-pack/plugins/ml/public/application/components/stats_bar/stats_bar.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/stats_bar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/stats_bar/stats_bar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/stats_bar.tsx diff --git a/x-pack/plugins/ml/public/application/components/technical_preview_badge/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/technical_preview_badge/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/technical_preview_badge/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/technical_preview_badge/index.ts diff --git a/x-pack/plugins/ml/public/application/components/technical_preview_badge/technical_preview_badge.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/technical_preview_badge/technical_preview_badge.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/technical_preview_badge/technical_preview_badge.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/technical_preview_badge/technical_preview_badge.tsx diff --git a/x-pack/plugins/ml/public/application/components/upgrade/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/upgrade/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/upgrade/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/upgrade/index.ts diff --git a/x-pack/plugins/ml/public/application/components/upgrade/upgrade_warning.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/upgrade/upgrade_warning.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/upgrade/upgrade_warning.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/upgrade/upgrade_warning.tsx diff --git a/x-pack/plugins/ml/public/application/components/validate_job/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/validate_job/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/validate_job/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/validate_job/index.ts diff --git a/x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.d.ts b/x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.d.ts diff --git a/x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.js b/x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.js rename to x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.js diff --git a/x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.test.js diff --git a/x-pack/plugins/ml/public/application/components/vega_chart/common.ts b/x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/common.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/vega_chart/common.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/common.ts diff --git a/x-pack/plugins/ml/public/application/components/vega_chart/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/vega_chart/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/index.ts diff --git a/x-pack/plugins/ml/public/application/components/vega_chart/vega_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/vega_chart/vega_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart.tsx diff --git a/x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_loading.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart_loading.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_loading.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart_loading.tsx diff --git a/x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart_view.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/index.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/index.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/kibana_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/kibana_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/kibana_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/kibana_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_field_formatter.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_field_formatter.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_field_formatter.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_field_formatter.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_ml_api_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_ml_api_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_ml_api_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_ml_api_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_ml_license.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_ml_license.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_ml_license.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_ml_license.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_timefilter.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_timefilter.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_timefilter.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_timefilter.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/index.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/index.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/kibana_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/kibana_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/kibana_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/kibana_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_cases_modal.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_cases_modal.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_create_url.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_create_url.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_create_url.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_create_url.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_current_theme.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_current_theme.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_current_theme.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_current_theme.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_field_formatter.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_field_formatter.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_field_formatter.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_field_formatter.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_ml_api_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ml_api_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_ml_api_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ml_api_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_ml_license.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ml_license.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_ml_license.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ml_license.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_navigate_to_path.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_navigate_to_path.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_navigate_to_path.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_navigate_to_path.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_notifications_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_notifications_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_notifications_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_notifications_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_ui_settings_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ui_settings_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_ui_settings_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ui_settings_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/__mocks__/data_view.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/data_view.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/__mocks__/data_view.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/data_view.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/__mocks__/data_view_contract.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/data_view_contract.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/__mocks__/data_view_contract.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/data_view_contract.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/__mocks__/kibana_config.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/kibana_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/__mocks__/kibana_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/kibana_config.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/__mocks__/ml_notifications_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/ml_notifications_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/__mocks__/ml_notifications_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/ml_notifications_context.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/__mocks__/saved_search.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/saved_search.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/__mocks__/saved_search.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/saved_search.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/data_source_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/data_source_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/data_source_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/data_source_context.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/index.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/index.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/ml_annotation_updates_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_annotation_updates_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/ml_annotation_updates_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_annotation_updates_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/ml_notifications_context.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_notifications_context.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/ml_notifications_context.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_notifications_context.test.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/ml_notifications_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_notifications_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/ml_notifications_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_notifications_context.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/ml_server_info_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_server_info_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/ml_server_info_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_server_info_context.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/serverless_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/serverless_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/serverless_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/serverless_context.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/use_job_selection_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/use_job_selection_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/use_job_selection_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/use_job_selection_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/analytics.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/analytics.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/analytics.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/analytics.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/analytics.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/get_destination_index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_destination_index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/get_destination_index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_destination_index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/get_index_data.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_index_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/get_index_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_index_data.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/get_index_fields.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_index_fields.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/get_index_fields.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_index_fields.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/get_scatterplot_matrix_legend_type.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_scatterplot_matrix_legend_type.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/get_scatterplot_matrix_legend_type.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_scatterplot_matrix_legend_type.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/render_cell_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/render_cell_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/render_cell_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/render_cell_popover.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/search_bar_filters.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/search_bar_filters.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/search_bar_filters.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/search_bar_filters.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/use_results_view_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/use_results_view_config.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_details.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/hyper_parameters.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/hyper_parameters.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/hyper_parameters.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/hyper_parameters.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/back_to_list_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/back_to_list_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/back_to_list_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/back_to_list_panel.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/analysis_fields_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/analysis_fields_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/analysis_fields_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/analysis_fields_table.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/form_options_validation.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/form_options_validation.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/form_options_validation.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/form_options_validation.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/supported_fields_message.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/supported_fields_message.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/supported_fields_message.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/supported_fields_message.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/use_saved_search.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/use_saved_search.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/use_saved_search.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/use_saved_search.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/continue_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/continue_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/continue_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/continue_button.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/create_analytics_advanced_editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/create_analytics_advanced_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/create_analytics_advanced_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/create_analytics_advanced_editor.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/editor_component.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/editor_component.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/editor_component.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/editor_component.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/create_step.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/create_step.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/create_step.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/create_step.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/additional_section.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/additional_section.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/additional_section.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/additional_section.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/description.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_details.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_form.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index_permissions_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index_permissions_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index_permissions_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index_permissions_callout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings_editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings_editor.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/switch_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/switch_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/switch_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/switch_modal.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/fetch_explain_data.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/fetch_explain_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/fetch_explain_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/fetch_explain_data.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_can_create_data_view.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_can_create_data_view.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_can_create_data_view.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_can_create_data_view.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_data_view_time_fields.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_data_view_time_fields.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_data_view_time_fields.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_data_view_time_fields.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/classification_exploration.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/classification_exploration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/classification_exploration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/classification_exploration.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/column_data.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/column_data.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/column_data.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/column_data.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/confusion_matrix_help_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/confusion_matrix_help_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/confusion_matrix_help_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/confusion_matrix_help_popover.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_panel.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_stat.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_stat.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_stat.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_stat.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluation_quality_metrics_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluation_quality_metrics_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluation_quality_metrics_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluation_quality_metrics_table.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/get_roc_curve_chart_vega_lite_spec.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/get_roc_curve_chart_vega_lite_spec.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/get_roc_curve_chart_vega_lite_spec.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/get_roc_curve_chart_vega_lite_spec.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/is_training_filter.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/is_training_filter.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/is_training_filter.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/is_training_filter.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/roc_curve_help_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/roc_curve_help_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/roc_curve_help_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/roc_curve_help_popover.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_confusion_matrix.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_confusion_matrix.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_confusion_matrix.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_confusion_matrix.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_roc_curve.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_roc_curve.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_roc_curve.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_roc_curve.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/data_view_prompt.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/data_view_prompt.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/data_view_prompt.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/data_view_prompt.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/error_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/error_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/error_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/error_callout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_analytics.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_analytics.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_analytics.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_analytics.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_splom.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_splom.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_splom.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_splom.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/exploration_page_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/exploration_page_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/exploration_page_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/exploration_page_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_data_grid.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_data_grid.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_data_grid.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_data_grid.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_classification.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_classification.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_classification.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_classification.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_json_viewer.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_json_viewer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_json_viewer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_json_viewer.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_popover.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/missing_decision_path_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/missing_decision_path_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/missing_decision_path_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/missing_decision_path_callout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/job_config_error_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/job_config_error_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/job_config_error_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/job_config_error_callout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/loading_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/loading_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/loading_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/loading_panel.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_panel.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_stat.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_stat.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_stat.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_stat.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/regression_exploration.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/regression_exploration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/regression_exploration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/regression_exploration.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/total_feature_importance_summary/feature_importance_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/total_feature_importance_summary/feature_importance_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/total_feature_importance_summary/feature_importance_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/total_feature_importance_summary/feature_importance_summary.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/hooks/use_exploration_url_state.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/hooks/use_exploration_url_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/hooks/use_exploration_url_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/hooks/use_exploration_url_state.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/page.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/use_clone_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/use_clone_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/use_clone_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/use_clone_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_name.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_name.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_name.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_name.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/use_edit_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/use_edit_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/use_edit_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/use_edit_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/map_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/map_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/map_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/map_button.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/use_map_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/use_map_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/use_map_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/use_map_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_modal.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_name.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_name.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_name.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_name.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/use_start_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/use_start_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/use_start_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/use_start_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_modal.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_name.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_name.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_name.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_name.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/use_stop_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/use_stop_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/use_stop_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/use_stop_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/get_view_link_status.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/get_view_link_status.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/get_view_link_status.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/get_view_link_status.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/use_view_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/use_view_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/use_view_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/use_view_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/view_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/view_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/view_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/view_button.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_list_item.json b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_list_item.json similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_list_item.json rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_list_item.json diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_stats.json b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_stats.json similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_stats.json rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_stats.json diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/analytics_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/analytics_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/analytics_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/analytics_list.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_details_pane.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_details_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_details_pane.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_details_pane.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_json_pane.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_json_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_json_pane.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_json_pane.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_messages_pane.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_messages_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_messages_pane.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_messages_pane.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/progress_bar.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/progress_bar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/progress_bar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/progress_bar.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_actions.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_actions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_actions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_actions.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_columns.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_columns.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_columns.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_columns.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_refresh_interval.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_refresh_interval.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_refresh_interval.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_refresh_interval.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_table_settings.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_table_settings.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_table_settings.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_table_settings.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/data_frame_analytics_kibana.png b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/data_frame_analytics_kibana.png similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/data_frame_analytics_kibana.png rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/data_frame_analytics_kibana.png diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/empty_prompt.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/empty_prompt.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/empty_prompt.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/refresh_analytics_list_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/refresh_analytics_list_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/refresh_analytics_list_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/refresh_analytics_list_button.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/actions.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/actions.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/actions.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/actions.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/delete_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/delete_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/delete_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/delete_analytics.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/start_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/start_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/start_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/start_analytics.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/stop_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/stop_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/stop_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/stop_analytics.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector_controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector_controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector_controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector_controls.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/controls.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape_options.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape_options.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape_options.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape_options.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_classification_job.svg b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_classification_job.svg similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_classification_job.svg rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_classification_job.svg diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_outlier_detection_job.svg b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_outlier_detection_job.svg similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_outlier_detection_job.svg rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_outlier_detection_job.svg diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_regression_job.svg b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_regression_job.svg similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_regression_job.svg rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_regression_job.svg diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/legend.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/legend.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/legend.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/legend.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/use_ref_dimensions.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/use_ref_dimensions.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/use_ref_dimensions.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/use_ref_dimensions.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/job_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/job_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/job_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/job_map.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/page.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/use_fetch_analytics_map_data.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/use_fetch_analytics_map_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/use_fetch_analytics_map_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/use_fetch_analytics_map_data.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/source_selection/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/source_selection/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/source_selection/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/source_selection/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/source_selection/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/source_selection/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/source_selection/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/source_selection/page.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_drift_index_patterns_editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_drift_index_patterns_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_drift_index_patterns_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_drift_index_patterns_editor.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_drift_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_drift_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_drift_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_drift_page.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_view_editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_view_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_view_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_view_editor.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/data_drift/index_patterns_picker.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/index_patterns_picker.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/data_drift/index_patterns_picker.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/index_patterns_picker.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/datavisualizer_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/datavisualizer_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/datavisualizer_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/datavisualizer_selector.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/file_based/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/file_based/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/file_based/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/file_based/index.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index.ts diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index_based/common/request.ts b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/common/request.ts similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index_based/common/request.ts rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/common/request.ts diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/index.ts b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/data_loader/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/data_loader/index.ts diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index_based/index.ts b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index_based/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/index.ts diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/__mocks__/mock_overall_swimlane.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/__mocks__/mock_overall_swimlane.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/__mocks__/mock_overall_swimlane.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/__mocks__/mock_overall_swimlane.json diff --git a/x-pack/plugins/ml/public/application/explorer/__mocks__/mock_viewby_swimlane.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/__mocks__/mock_viewby_swimlane.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/__mocks__/mock_viewby_swimlane.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/__mocks__/mock_viewby_swimlane.json diff --git a/x-pack/plugins/ml/public/application/explorer/_explorer.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/_explorer.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/_explorer.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/_explorer.scss diff --git a/x-pack/plugins/ml/public/application/explorer/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/_index.scss diff --git a/x-pack/plugins/ml/public/application/explorer/actions/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/actions/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/actions/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/actions/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/actions/job_selection.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/actions/job_selection.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/actions/job_selection.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/actions/job_selection.ts diff --git a/x-pack/plugins/ml/public/application/explorer/actions/load_explorer_data.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/actions/load_explorer_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/actions/load_explorer_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/actions/load_explorer_data.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/alerts_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/alerts_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/alerts_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/alerts_panel.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/alerts_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/alerts_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/alerts_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/alerts_summary.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/anomaly_detection_alerts_state_service.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/anomaly_detection_alerts_state_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/anomaly_detection_alerts_state_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/anomaly_detection_alerts_state_service.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/chart.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/const.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/const.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/const.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/const.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/get_alerts_summary.test.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/get_alerts_summary.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/get_alerts_summary.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/get_alerts_summary.test.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/get_alerts_summary.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/get_alerts_summary.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/get_alerts_summary.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/get_alerts_summary.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/swim_lane_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/swim_lane_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/swim_lane_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/swim_lane_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/annotation_timeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/annotation_timeline.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/annotation_timeline.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/annotation_timeline.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomalies_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomalies_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomalies_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomalies_map.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_charts_state_service.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_charts_state_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_charts_state_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_charts_state_service.ts diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_context_menu.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_context_menu.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_explorer_common_state.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_explorer_common_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_explorer_common_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_explorer_common_state.ts diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_explorer_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_explorer_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_explorer_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_explorer_context.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_timeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_timeline.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_timeline_help_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline_help_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_timeline_help_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline_help_popover.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_timeline_state_service.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline_state_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_timeline_state_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline_state_service.ts diff --git a/x-pack/plugins/ml/public/application/explorer/calculate_row_options.test.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/calculate_row_options.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/calculate_row_options.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/calculate_row_options.test.ts diff --git a/x-pack/plugins/ml/public/application/explorer/calculate_row_options.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/calculate_row_options.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/calculate_row_options.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/calculate_row_options.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_jobs_selected/explorer_no_jobs_selected.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_jobs_selected/explorer_no_jobs_selected.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_jobs_selected/explorer_no_jobs_selected.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_jobs_selected/explorer_no_jobs_selected.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_jobs_selected/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_jobs_selected/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_jobs_selected/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_jobs_selected/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_query_bar/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_query_bar/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/no_overall_data.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/no_overall_data.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/no_overall_data.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/no_overall_data.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/constants.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/constants.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_record.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_record.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_record.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_record.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_job_config.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_job_config.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_job_config.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_job_config.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_rare.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_rare.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_rare.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_rare.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_promises_response.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_promises_response.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_promises_response.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_promises_response.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/_explorer_chart.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_explorer_chart.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/_explorer_chart.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_explorer_chart.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/_explorer_chart_tooltip.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_explorer_chart_tooltip.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/_explorer_chart_tooltip.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_explorer_chart_tooltip.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_index.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_index.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/entity_filter.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/entity_filter.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/entity_filter.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/entity_filter.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/index.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/index.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/index.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/constants.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/constants.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_anomalies_container.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_anomalies_container.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_anomalies_container.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_anomalies_container.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_embedded_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_embedded_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_embedded_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_embedded_map.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container_service.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container_service.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_error_callouts.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_error_callouts.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_error_callouts.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_error_callouts.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/index.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/index.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/index.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/map_config.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/map_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/map_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/map_config.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/utils/draw_anomaly_explorer_charts_cursor.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/utils/draw_anomaly_explorer_charts_cursor.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/utils/draw_anomaly_explorer_charts_cursor.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/utils/draw_anomaly_explorer_charts_cursor.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_constants.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_constants.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_dashboard_service.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_dashboard_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_dashboard_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_dashboard_service.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_utils.ts diff --git a/x-pack/plugins/ml/public/application/explorer/has_matching_points.test.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/has_matching_points.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/has_matching_points.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/has_matching_points.test.ts diff --git a/x-pack/plugins/ml/public/application/explorer/has_matching_points.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/has_matching_points.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/has_matching_points.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/has_matching_points.ts diff --git a/x-pack/plugins/ml/public/application/explorer/hooks/use_explorer_url_state.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/hooks/use_explorer_url_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/hooks/use_explorer_url_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/hooks/use_explorer_url_state.ts diff --git a/x-pack/plugins/ml/public/application/explorer/hooks/use_selected_cells.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/hooks/use_selected_cells.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/hooks/use_selected_cells.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/hooks/use_selected_cells.ts diff --git a/x-pack/plugins/ml/public/application/explorer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/clear_influencer_filter_settings.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/clear_influencer_filter_settings.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/clear_influencer_filter_settings.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/clear_influencer_filter_settings.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/get_index_pattern.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/get_index_pattern.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/get_index_pattern.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/get_index_pattern.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/job_selection_change.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/job_selection_change.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/job_selection_change.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/job_selection_change.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/reducer.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/reducer.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/reducer.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/reducer.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/set_kql_query_bar_placeholder.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/set_kql_query_bar_placeholder.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/set_kql_query_bar_placeholder.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/set_kql_query_bar_placeholder.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/state.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/state.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/state.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/swimlane_annotation_container.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_annotation_container.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/swimlane_annotation_container.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_annotation_container.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_container.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_container.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/swimlane_pagination.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_pagination.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/swimlane_pagination.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_pagination.tsx diff --git a/x-pack/plugins/ml/public/application/formatters/abbreviate_whole_number.test.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/abbreviate_whole_number.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/abbreviate_whole_number.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/abbreviate_whole_number.test.ts diff --git a/x-pack/plugins/ml/public/application/formatters/abbreviate_whole_number.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/abbreviate_whole_number.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/abbreviate_whole_number.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/abbreviate_whole_number.ts diff --git a/x-pack/plugins/ml/public/application/formatters/format_value.test.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/format_value.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/format_value.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/format_value.test.ts diff --git a/x-pack/plugins/ml/public/application/formatters/format_value.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/format_value.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/format_value.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/format_value.ts diff --git a/x-pack/plugins/ml/public/application/formatters/kibana_field_format.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/kibana_field_format.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/kibana_field_format.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/kibana_field_format.ts diff --git a/x-pack/plugins/ml/public/application/formatters/number_as_ordinal.test.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/number_as_ordinal.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/number_as_ordinal.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/number_as_ordinal.test.ts diff --git a/x-pack/plugins/ml/public/application/formatters/number_as_ordinal.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/number_as_ordinal.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/number_as_ordinal.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/number_as_ordinal.ts diff --git a/x-pack/plugins/ml/public/application/hooks/index.ts b/x-pack/platform/plugins/shared/ml/public/application/hooks/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/hooks/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/hooks/index.ts diff --git a/x-pack/plugins/ml/public/application/hooks/use_as_observable.test.ts b/x-pack/platform/plugins/shared/ml/public/application/hooks/use_as_observable.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/hooks/use_as_observable.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/hooks/use_as_observable.test.ts diff --git a/x-pack/plugins/ml/public/application/hooks/use_as_observable.ts b/x-pack/platform/plugins/shared/ml/public/application/hooks/use_as_observable.ts similarity index 100% rename from x-pack/plugins/ml/public/application/hooks/use_as_observable.ts rename to x-pack/platform/plugins/shared/ml/public/application/hooks/use_as_observable.ts diff --git a/x-pack/plugins/ml/public/application/jobs/components/jobs_action_menu/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/components/jobs_action_menu/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/components/jobs_action_menu/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/components/jobs_action_menu/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/components/jobs_action_menu/jobs_action_menu.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/components/jobs_action_menu/jobs_action_menu.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/components/jobs_action_menu/jobs_action_menu.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/components/jobs_action_menu/jobs_action_menu.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_empty_state.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_empty_state.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_empty_state.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_empty_state.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_kibana.png b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_kibana.png similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_kibana.png rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_kibana.png diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/close_jobs_confirm_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/close_jobs_confirm_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/close_jobs_confirm_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/close_jobs_confirm_modal.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/managed_jobs_warning_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/managed_jobs_warning_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/managed_jobs_warning_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/managed_jobs_warning_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/stop_datafeeds_confirm_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/stop_datafeeds_confirm_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/stop_datafeeds_confirm_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/stop_datafeeds_confirm_modal.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/constants.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/constants.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/datafeed_chart_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/datafeed_chart_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/datafeed_chart_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/datafeed_chart_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/edit_query_delay.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/edit_query_delay.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/edit_query_delay.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/edit_query_delay.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.test.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.test.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/delete_job_modal/delete_job_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/delete_job_modal/delete_job_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/delete_job_modal/delete_job_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/delete_job_modal/delete_job_modal.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/delete_job_modal/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/delete_job_modal/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/delete_job_modal/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/delete_job_modal/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/management.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/management.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/management.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/management.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/results.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/results.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/results.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/results.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/extract_job_details.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/extract_job_details.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/extract_job_details.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/extract_job_details.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/format_values.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/format_values.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/format_values.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/format_values.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_details.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_details.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_details.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_details.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_details_pane.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_details_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_details_pane.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_details_pane.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/json_tab.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/json_tab.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/json_tab.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/json_tab.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_filter_bar/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_filter_bar/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_filter_bar/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_filter_bar/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_filter_bar/job_filter_bar.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_filter_bar/job_filter_bar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_filter_bar/job_filter_bar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_filter_bar/job_filter_bar.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_group/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_group/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_group/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_group/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_group/job_group.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_group/job_group.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_group/job_group.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_group/job_group.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/job_description.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/job_description.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/job_description.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/job_description.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/job_id_link.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/job_id_link.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/job_id_link.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/job_id_link.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list_view/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list_view/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/ml_job_editor/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/ml_job_editor/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/ml_job_editor/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/ml_job_editor/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/ml_job_editor/ml_job_editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/ml_job_editor/ml_job_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/ml_job_editor/ml_job_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/ml_job_editor/ml_job_editor.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/actions_menu.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/actions_menu.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/actions_menu.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/actions_menu.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/new_job_button/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/new_job_button/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/new_job_button/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/new_job_button/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/new_job_button/new_job_button.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/new_job_button/new_job_button.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/new_job_button/new_job_button.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/new_job_button/new_job_button.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/open_jobs_warning_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/open_jobs_warning_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/open_jobs_warning_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/open_jobs_warning_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/reset_job_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/reset_job_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/reset_job_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/reset_job_modal.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/utils.d.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/utils.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/utils.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/utils.d.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/utils.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/utils.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/utils.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/validate_job.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/validate_job.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/validate_job.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/validate_job.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/jobs.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/jobs.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/jobs.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/jobs.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_utils.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/searches.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/searches.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/searches.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/searches.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/components/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/components/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/components/job_groups_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/job_groups_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/components/job_groups_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/job_groups_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/components/time_range_picker.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/time_range_picker.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/components/time_range_picker.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/time_range_picker.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/index_pattern_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/index_pattern_context.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/geo_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/geo_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/geo_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/geo_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/type_guards.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/type_guards.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/type_guards.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/type_guards.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/default_configs.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/default_configs.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/default_configs.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/default_configs.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.test.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.test.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/general.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/general.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/general.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/general.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.test.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.test.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_runner/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_runner/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_runner/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_runner/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_runner/job_runner.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_runner/job_runner.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_runner/job_runner.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_runner/job_runner.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/job_validator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/job_validator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/job_validator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/job_validator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/util.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/util.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/util.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/util.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/validators.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/validators.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/validators.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/validators.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/map_loader/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/map_loader/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/map_loader/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/map_loader/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/map_loader/map_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/map_loader/map_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/map_loader/map_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/map_loader/map_loader.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/results_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/results_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/results_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/results_loader.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/searches.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/searches.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/searches.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/searches.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_dashboard/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_dashboard/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_dashboard/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_dashboard/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_dashboard/quick_create_job_base.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_dashboard/quick_create_job_base.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_dashboard/quick_create_job_base.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_dashboard/quick_create_job_base.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/quick_create_job.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/quick_create_job.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/quick_create_job.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/quick_create_job.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/route_resolver.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/route_resolver.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/route_resolver.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/route_resolver.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/utils.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/visualization_extractor.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/visualization_extractor.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/visualization_extractor.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/visualization_extractor.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/quick_create_job.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/quick_create_job.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/quick_create_job.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/quick_create_job.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/route_resolver.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/route_resolver.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/route_resolver.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/route_resolver.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/utils.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/visualization_extractor.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/visualization_extractor.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/visualization_extractor.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/visualization_extractor.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/quick_create_job.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/quick_create_job.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/quick_create_job.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/quick_create_job.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/route_resolver.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/route_resolver.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/route_resolver.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/route_resolver.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/utils.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/anomaly_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/anomaly_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/anomaly_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/anomaly_chart.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/line.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/line.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/line.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/line.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/scatter.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/scatter.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/scatter.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/scatter.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/anomalies.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/anomalies.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/anomalies.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/anomalies.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/axes.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/axes.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/axes.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/axes.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/settings.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/settings.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/settings.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/settings.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/utils.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/event_rate_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/event_rate_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/event_rate_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/event_rate_chart.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/loading_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/loading_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/loading_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/loading_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/json_editor_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/json_editor_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/json_editor_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/json_editor_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/model_memory_limit_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/model_memory_limit_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/model_memory_limit_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/model_memory_limit_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view_button.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/frequency_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/frequency_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/frequency_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/frequency_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/hooks.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/hooks.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/hooks.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/hooks.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/query_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/query_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/query_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/query_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/query_delay_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/query_delay_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/query_delay_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/query_delay_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/index.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/reset_query.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/reset_query.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/reset_query.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/reset_query.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/scroll_size_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/scroll_size_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/scroll_size_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/scroll_size_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/datafeed.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/datafeed.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/datafeed.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/datafeed.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_creator_context.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_creator_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_creator_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_creator_context.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/additional_section.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/additional_section.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/additional_section.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/additional_section.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/calendars_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/calendars_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/calendars_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/calendars_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description_dst.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description_dst.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description_dst.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description_dst.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/custom_urls_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/custom_urls_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/custom_urls_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/custom_urls_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/advanced_section.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/advanced_section.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/advanced_section.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/advanced_section.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/annotations_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/annotations_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/annotations_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/annotations_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/dedicated_index_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/dedicated_index_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/dedicated_index_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/dedicated_index_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/ignore_unavailable_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/ignore_unavailable_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/ignore_unavailable_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/ignore_unavailable_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/mml_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/mml_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/mml_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/mml_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/model_plot_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/model_plot_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/model_plot_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/model_plot_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/groups_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/groups_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/groups_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/groups_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/job_description_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/job_description_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/job_description_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/job_description_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/job_id_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/job_id_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/job_id_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/job_id_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/job_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/job_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/job_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/job_details.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/advanced_detector_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/advanced_detector_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/advanced_detector_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/advanced_detector_modal.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/descriptions.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/descriptions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/descriptions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/descriptions.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/function_help.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/function_help.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/function_help.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/function_help.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/index.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/modal_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/modal_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/modal_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/modal_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/advanced_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/advanced_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/advanced_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/advanced_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/detector_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/detector_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/detector_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/detector_list.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/extra.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/extra.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/extra.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/extra.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selector.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/agg_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/agg_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/agg_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/agg_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/bucket_span_estimator.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/bucket_span_estimator.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/bucket_span_estimator.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/bucket_span_estimator.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/by_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/by_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/by_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/by_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/categorization_detector.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/categorization_detector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/categorization_detector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/categorization_detector.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_dropdown.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_dropdown.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_dropdown.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_dropdown.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_stop_on_warn_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_stop_on_warn_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_stop_on_warn_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_stop_on_warn_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/categorization_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/categorization_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/categorization_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/categorization_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/category_stopped_partitions.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/category_stopped_partitions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/category_stopped_partitions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/category_stopped_partitions.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/invalid_ccs_version_valid_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/invalid_ccs_version_valid_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/invalid_ccs_version_valid_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/invalid_ccs_version_valid_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/top_categories.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/top_categories.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/top_categories.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/top_categories.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/detector_title.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/detector_title.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/detector_title.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/detector_title.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_map_examples.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_map_examples.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_map_examples.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_map_examples.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/metric_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/metric_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/metric_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/metric_selector.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/chart_grid.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/chart_grid.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/chart_grid.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/chart_grid.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/multi_metric_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/multi_metric_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/multi_metric_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/multi_metric_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/population_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/population_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/population_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/population_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/chart_grid.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/chart_grid.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/chart_grid.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/chart_grid.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/population_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/population_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/population_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/population_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/detector_cards.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/detector_cards.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/detector_cards.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/detector_cards.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/rare_detector.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/rare_detector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/rare_detector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/rare_detector.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/detector_description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/detector_description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/detector_description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/detector_description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/rare_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/rare_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/rare_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/rare_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/single_metric_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/single_metric_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/single_metric_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/single_metric_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/sparse_data_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/sparse_data_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/sparse_data_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/sparse_data_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/animate_split_hook.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/animate_split_hook.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/animate_split_hook.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/animate_split_hook.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/split_cards.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/split_cards.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/split_cards.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/split_cards.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/split_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/split_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/split_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/split_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/split_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/split_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/split_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/split_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/pick_fields.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/pick_fields.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/pick_fields.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/pick_fields.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/step_types.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/step_types.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/step_types.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/step_types.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/common.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/common.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/common.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/common.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/datafeed_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/datafeed_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/datafeed_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/datafeed_details.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/detector_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/detector_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/detector_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/detector_chart.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/job_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/job_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/job_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/job_details.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/job_progress.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/job_progress.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/job_progress.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/job_progress.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/post_save_options.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/post_save_options.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/post_save_options.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/post_save_options.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/start_datafeed_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/start_datafeed_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/start_datafeed_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/start_datafeed_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/time_range_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/time_range_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/time_range_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/time_range_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/time_range_step/time_range.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/time_range_step/time_range.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/time_range_step/time_range.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/time_range_step/time_range.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/skip_validatoin.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/skip_validatoin.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/skip_validatoin.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/skip_validatoin.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/validation.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/validation.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/validation.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/validation.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/wizard_nav/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/wizard_nav/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/wizard_nav/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/wizard_nav/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/wizard_nav/wizard_nav.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/wizard_nav/wizard_nav.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/wizard_nav/wizard_nav.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/wizard_nav/wizard_nav.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/page.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/categorization_job_icon.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/categorization_job_icon.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/categorization_job_icon.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/categorization_job_icon.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/geo_job_icon.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/geo_job_icon.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/geo_job_icon.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/geo_job_icon.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/page.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/rare_job_icon.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/rare_job_icon.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/rare_job_icon.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/rare_job_icon.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/page.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard_horizontal_steps.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard_horizontal_steps.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard_horizontal_steps.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard_horizontal_steps.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard_steps.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard_steps.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard_steps.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard_steps.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/create_result_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/create_result_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/create_result_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/create_result_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/edit_job.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/edit_job.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/edit_job.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/edit_job.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_item.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/job_item.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_item.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/job_item.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_settings_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/job_settings_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_settings_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/job_settings_form.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/kibana_objects.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/kibana_objects.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/kibana_objects.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/kibana_objects.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/module_jobs.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/module_jobs.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/module_jobs.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/module_jobs.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/page.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/utils/new_job_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/utils/new_job_utils.ts diff --git a/x-pack/plugins/ml/public/application/license/check_license.tsx b/x-pack/platform/plugins/shared/ml/public/application/license/check_license.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/license/check_license.tsx rename to x-pack/platform/plugins/shared/ml/public/application/license/check_license.tsx diff --git a/x-pack/plugins/ml/public/application/license/index.ts b/x-pack/platform/plugins/shared/ml/public/application/license/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/license/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/license/index.ts diff --git a/x-pack/plugins/ml/public/application/management/breadcrumbs.ts b/x-pack/platform/plugins/shared/ml/public/application/management/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/breadcrumbs.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/breadcrumbs.ts diff --git a/x-pack/plugins/ml/public/application/management/index.ts b/x-pack/platform/plugins/shared/ml/public/application/management/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/index.ts diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/access_denied_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/access_denied_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/access_denied_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/access_denied_page.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/index.ts b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/index.ts diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/insufficient_license_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/insufficient_license_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/insufficient_license_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/insufficient_license_page.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/docs_link.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/docs_link.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/docs_link.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/docs_link.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/index.ts b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/index.ts diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/columns.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/columns.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/columns.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/columns.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/filters.ts b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/filters.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/filters.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/filters.ts diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/index.ts b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/index.ts diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/space_management.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/space_management.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/space_management.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/space_management.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/index.ts diff --git a/x-pack/plugins/ml/public/application/management/management_urls.ts b/x-pack/platform/plugins/shared/ml/public/application/management/management_urls.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/management_urls.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/management_urls.ts diff --git a/x-pack/plugins/ml/public/application/memory_usage/index.ts b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/index.ts diff --git a/x-pack/plugins/ml/public/application/memory_usage/memory_item_colors.ts b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_item_colors.ts similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/memory_item_colors.ts rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_item_colors.ts diff --git a/x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/index.ts b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/index.ts diff --git a/x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/memory_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/memory_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/memory_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/memory_page.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/memory_usage_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_usage_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/memory_usage_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_usage_page.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/nodes_overview/expanded_row.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/expanded_row.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/nodes_overview/expanded_row.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/expanded_row.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/nodes_overview/index.ts b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/nodes_overview/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/index.ts diff --git a/x-pack/plugins/ml/public/application/memory_usage/nodes_overview/memory_preview_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/memory_preview_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/nodes_overview/memory_preview_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/memory_preview_chart.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/nodes_overview/nodes_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/nodes_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/nodes_overview/nodes_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/nodes_list.tsx diff --git a/x-pack/plugins/ml/public/application/ml.svg b/x-pack/platform/plugins/shared/ml/public/application/ml.svg similarity index 100% rename from x-pack/plugins/ml/public/application/ml.svg rename to x-pack/platform/plugins/shared/ml/public/application/ml.svg diff --git a/x-pack/plugins/ml/public/application/ml_nodes_check/check_ml_nodes.ts b/x-pack/platform/plugins/shared/ml/public/application/ml_nodes_check/check_ml_nodes.ts similarity index 100% rename from x-pack/plugins/ml/public/application/ml_nodes_check/check_ml_nodes.ts rename to x-pack/platform/plugins/shared/ml/public/application/ml_nodes_check/check_ml_nodes.ts diff --git a/x-pack/plugins/ml/public/application/ml_nodes_check/index.ts b/x-pack/platform/plugins/shared/ml/public/application/ml_nodes_check/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/ml_nodes_check/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/ml_nodes_check/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/add_model_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/add_model_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/add_model_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/add_model_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/config_mapping.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/config_mapping.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/config_mapping.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/config_mapping.ts diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/create_pipeline_for_model_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/create_pipeline_for_model_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/create_pipeline_for_model_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/create_pipeline_for_model_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/get_inference_properties_from_pipeline_config.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/get_inference_properties_from_pipeline_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/get_inference_properties_from_pipeline_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/get_inference_properties_from_pipeline_config.ts diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/get_pipeline_config.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/get_pipeline_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/get_pipeline_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/get_pipeline_config.ts diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/pipeline_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/pipeline_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/pipeline_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/pipeline_details.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/state.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/state.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/state.ts diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/test_trained_model.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/test_trained_model.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/test_trained_model.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/test_trained_model.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/delete_models_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/delete_models_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/delete_models_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/delete_models_modal.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/deployment_params_mapper.test.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_params_mapper.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/deployment_params_mapper.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_params_mapper.test.ts diff --git a/x-pack/plugins/ml/public/application/model_management/deployment_params_mapper.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_params_mapper.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/deployment_params_mapper.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_params_mapper.ts diff --git a/x-pack/plugins/ml/public/application/model_management/deployment_setup.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_setup.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/deployment_setup.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_setup.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/expanded_row.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/expanded_row.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/expanded_row.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/expanded_row.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/force_stop_dialog.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/force_stop_dialog.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/force_stop_dialog.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/force_stop_dialog.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/get_model_state.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/get_model_state.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/get_model_state.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/get_model_state.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/inference_api_tab.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/inference_api_tab.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/inference_api_tab.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/inference_api_tab.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/model_actions.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/model_actions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/model_actions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/model_actions.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/model_link.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/model_link.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/model_link.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/model_link.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/models_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/models_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/models_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/models_list.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/pipelines/expanded_row.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/expanded_row.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/pipelines/expanded_row.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/expanded_row.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/pipelines/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/pipelines/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/pipelines/pipelines.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/pipelines.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/pipelines/pipelines.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/pipelines.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_dfa_models_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_dfa_models_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_dfa_models_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_dfa_models_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/inference_error.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/inference_error.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/inference_error.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/inference_error.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/index_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/index_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/index_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/index_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_base.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_base.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_base.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_base.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_info.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_info.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_info.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_info.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/index.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/index_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/index_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/index_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/index_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/inference_input_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/inference_input_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/inference_input_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/inference_input_form.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/input_form_controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/input_form_controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/input_form_controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/input_form_controls.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/text_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/text_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/text_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/text_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/ner/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/ner/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/ner/ner_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/ner/ner_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/ner/ner_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/ner/ner_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/raw_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/raw_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/raw_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/raw_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/common.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/common.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/common.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/common.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/fill_mask_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/fill_mask_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/fill_mask_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/fill_mask_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/fill_mask_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/fill_mask_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/fill_mask_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/fill_mask_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_codes.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_codes.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_codes.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_codes.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_ident_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_ident_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_ident_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_ident_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_ident_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_ident_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_ident_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_ident_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/text_classification_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/text_classification_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/text_classification_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/text_classification_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/text_classification_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/text_classification_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/text_classification_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/text_classification_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/output_loading.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/output_loading.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/output_loading.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/output_loading.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/selected_model.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/selected_model.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/selected_model.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/selected_model.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/test_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/test_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/test_model_and_pipeline_creation_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_model_and_pipeline_creation_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/test_model_and_pipeline_creation_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_model_and_pipeline_creation_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/test_trained_model_content.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_trained_model_content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/test_trained_model_content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_trained_model_content.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/test_trained_models_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_trained_models_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/test_trained_models_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_trained_models_context.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/utils.ts diff --git a/x-pack/plugins/ml/public/application/notifications/components/entity_filter.tsx b/x-pack/platform/plugins/shared/ml/public/application/notifications/components/entity_filter.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/notifications/components/entity_filter.tsx rename to x-pack/platform/plugins/shared/ml/public/application/notifications/components/entity_filter.tsx diff --git a/x-pack/plugins/ml/public/application/notifications/components/notifications_list.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/notifications/components/notifications_list.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/notifications/components/notifications_list.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/notifications/components/notifications_list.test.tsx diff --git a/x-pack/plugins/ml/public/application/notifications/components/notifications_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/notifications/components/notifications_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/notifications/components/notifications_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/notifications/components/notifications_list.tsx diff --git a/x-pack/plugins/ml/public/application/notifications/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/notifications/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/notifications/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/notifications/page.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/actions.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/actions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/analytics_panel/actions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/actions.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/analytics_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/table.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/analytics_panel/table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/table.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/actions.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/actions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/actions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/actions.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/table.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/table.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/utils.ts diff --git a/x-pack/plugins/ml/public/application/overview/components/content.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/content.tsx diff --git a/x-pack/plugins/ml/public/application/overview/overview_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/overview_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/overview_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/overview_page.tsx diff --git a/x-pack/plugins/ml/public/application/routing/breadcrumbs.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/breadcrumbs.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/breadcrumbs.ts diff --git a/x-pack/plugins/ml/public/application/routing/components/navigate_to_page_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/components/navigate_to_page_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/components/navigate_to_page_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/components/navigate_to_page_button.tsx diff --git a/x-pack/plugins/ml/public/application/routing/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/ml_page_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/ml_page_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/ml_page_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/ml_page_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/routing/resolvers.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/resolvers.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/resolvers.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/resolvers.ts diff --git a/x-pack/plugins/ml/public/application/routing/router.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/router.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/router.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/router.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/aiops/change_point_detection.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/change_point_detection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/aiops/change_point_detection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/change_point_detection.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/aiops/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/aiops/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/aiops/log_categorization.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/log_categorization.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/aiops/log_categorization.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/log_categorization.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/aiops/log_rate_analysis.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/log_rate_analysis.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/aiops/log_rate_analysis.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/log_rate_analysis.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_job_creation.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_job_creation.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_job_creation.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_job_creation.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_jobs_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_jobs_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_jobs_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_jobs_list.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_map.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_source_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_source_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_source_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_source_selection.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/data_comparison.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/data_comparison.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/data_comparison.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/data_comparison.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/data_drift.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/data_drift.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/data_drift.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/data_drift.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/datavisualizer.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/datavisualizer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/datavisualizer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/datavisualizer.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/file_based.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/file_based.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/file_based.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/file_based.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/index_based.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/index_based.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/index_based.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/index_based.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/explorer/explorer.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/explorer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/explorer/explorer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/explorer.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/explorer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/explorer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/explorer/state_manager.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/state_manager.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/explorer/state_manager.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/state_manager.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/jobs_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/jobs_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/jobs_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/jobs_list.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/memory_usage.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/memory_usage.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/memory_usage.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/memory_usage.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/from_lens.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_lens.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/from_lens.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_lens.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/from_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/from_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_map.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/from_pattern_analysis.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_pattern_analysis.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/from_pattern_analysis.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_pattern_analysis.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/index_or_search.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/index_or_search.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/index_or_search.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/index_or_search.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/job_type.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/job_type.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/job_type.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/job_type.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/new_job.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/new_job.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/new_job.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/new_job.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/recognize.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/recognize.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/recognize.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/recognize.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/wizard.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/wizard.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/wizard.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/wizard.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/notifications.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/notifications.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/notifications.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/notifications.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/overview.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/overview.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/overview.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/overview.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/calendar_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/calendar_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/calendar_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/calendar_list.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/calendar_new_edit.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/calendar_new_edit.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/calendar_new_edit.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/calendar_new_edit.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/filter_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/filter_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/filter_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/filter_list.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/filter_list_new_edit.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/filter_list_new_edit.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/filter_list_new_edit.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/filter_list_new_edit.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/settings.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/supplied_configurations/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/supplied_configurations/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/supplied_configurations/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/supplied_configurations/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/supplied_configurations/supplied_configurations_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/supplied_configurations/supplied_configurations_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/supplied_configurations/supplied_configurations_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/supplied_configurations/supplied_configurations_view.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/state_manager.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/state_manager.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/state_manager.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/state_manager.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.test.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/trained_models/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/trained_models/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/trained_models/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/trained_models/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/trained_models/models_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/trained_models/models_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/trained_models/models_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/trained_models/models_list.tsx diff --git a/x-pack/plugins/ml/public/application/routing/use_active_route.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/use_active_route.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/use_active_route.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/use_active_route.tsx diff --git a/x-pack/plugins/ml/public/application/routing/use_doc_title.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/use_doc_title.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/use_doc_title.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/use_doc_title.ts diff --git a/x-pack/plugins/ml/public/application/routing/use_refresh.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/use_refresh.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/use_refresh.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/use_refresh.ts diff --git a/x-pack/plugins/ml/public/application/routing/use_resolver.test.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/use_resolver.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/use_resolver.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/use_resolver.test.ts diff --git a/x-pack/plugins/ml/public/application/routing/use_resolver.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/use_resolver.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/use_resolver.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/use_resolver.tsx diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/anomaly_detector_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/anomaly_detector_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/anomaly_detector_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/anomaly_detector_service.ts diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/anomaly_explorer_charts_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/anomaly_explorer_charts_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/anomaly_explorer_charts_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/anomaly_explorer_charts_service.ts diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/cloudwatch_job_caps_response.json b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/cloudwatch_job_caps_response.json similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/cloudwatch_job_caps_response.json rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/cloudwatch_job_caps_response.json diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/ml_api_services.ts b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/ml_api_services.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/ml_api_services.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/ml_api_services.ts diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/ml_info_response.json b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/ml_info_response.json similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/ml_info_response.json rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/ml_info_response.json diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/nested_field_index_response.json b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/nested_field_index_response.json similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/nested_field_index_response.json rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/nested_field_index_response.json diff --git a/x-pack/plugins/ml/public/application/services/annotations_service.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/services/annotations_service.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/services/annotations_service.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/services/annotations_service.test.tsx diff --git a/x-pack/plugins/ml/public/application/services/annotations_service.tsx b/x-pack/platform/plugins/shared/ml/public/application/services/annotations_service.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/services/annotations_service.tsx rename to x-pack/platform/plugins/shared/ml/public/application/services/annotations_service.tsx diff --git a/x-pack/plugins/ml/public/application/services/anomaly_detector_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/anomaly_detector_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/anomaly_detector_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/anomaly_detector_service.ts diff --git a/x-pack/plugins/ml/public/application/services/anomaly_explorer_charts_service.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/anomaly_explorer_charts_service.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/anomaly_explorer_charts_service.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/anomaly_explorer_charts_service.test.ts diff --git a/x-pack/plugins/ml/public/application/services/anomaly_explorer_charts_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/anomaly_explorer_charts_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/anomaly_explorer_charts_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/anomaly_explorer_charts_service.ts diff --git a/x-pack/plugins/ml/public/application/services/anomaly_timeline_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/anomaly_timeline_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/anomaly_timeline_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/anomaly_timeline_service.ts diff --git a/x-pack/plugins/ml/public/application/services/calendar_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/calendar_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/calendar_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/calendar_service.ts diff --git a/x-pack/plugins/ml/public/application/services/dashboard_service.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/dashboard_service.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/dashboard_service.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/dashboard_service.test.ts diff --git a/x-pack/plugins/ml/public/application/services/dashboard_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/dashboard_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/dashboard_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/dashboard_service.ts diff --git a/x-pack/plugins/ml/public/application/services/elastic_models_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/elastic_models_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/elastic_models_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/elastic_models_service.ts diff --git a/x-pack/plugins/ml/public/application/services/field_format_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/field_format_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts diff --git a/x-pack/plugins/ml/public/application/services/field_format_service_factory.ts b/x-pack/platform/plugins/shared/ml/public/application/services/field_format_service_factory.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/field_format_service_factory.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/field_format_service_factory.ts diff --git a/x-pack/plugins/ml/public/application/services/forecast_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/forecast_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/forecast_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/forecast_service.ts diff --git a/x-pack/plugins/ml/public/application/services/get_shared_ml_services.ts b/x-pack/platform/plugins/shared/ml/public/application/services/get_shared_ml_services.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/get_shared_ml_services.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/get_shared_ml_services.ts diff --git a/x-pack/plugins/ml/public/application/services/http_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/http_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/http_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/http_service.ts diff --git a/x-pack/plugins/ml/public/application/services/job_cloning_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/job_cloning_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/job_cloning_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/job_cloning_service.ts diff --git a/x-pack/plugins/ml/public/application/services/job_service.d.ts b/x-pack/platform/plugins/shared/ml/public/application/services/job_service.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/job_service.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/job_service.d.ts diff --git a/x-pack/plugins/ml/public/application/services/job_service.js b/x-pack/platform/plugins/shared/ml/public/application/services/job_service.js similarity index 100% rename from x-pack/plugins/ml/public/application/services/job_service.js rename to x-pack/platform/plugins/shared/ml/public/application/services/job_service.js diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/alerting.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/alerting.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/alerting.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/alerting.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/annotations.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/annotations.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/annotations.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/annotations.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/data_frame_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/data_frame_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/data_frame_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/data_frame_analytics.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/filters.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/filters.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/filters.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/filters.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/index.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/index.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/inference_models.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/inference_models.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/inference_models.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/inference_models.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/jobs.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/jobs.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/jobs.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/jobs.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/json_schema.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/json_schema.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/json_schema.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/json_schema.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/management.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/management.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/management.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/management.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/notifications.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/notifications.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/notifications.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/notifications.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/results.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/results.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/results.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/results.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/saved_objects.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/saved_objects.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/saved_objects.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/saved_objects.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/trained_models.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/trained_models.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/trained_models.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_results_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_results_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_results_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_results_service.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_server_info.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_server_info.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_server_info.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_server_info.test.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_server_info.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_server_info.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_server_info.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_server_info.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/index.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/index.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.test.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts diff --git a/x-pack/plugins/ml/public/application/services/results_service/index.ts b/x-pack/platform/plugins/shared/ml/public/application/services/results_service/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/results_service/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/results_service/index.ts diff --git a/x-pack/plugins/ml/public/application/services/results_service/result_service_rx.ts b/x-pack/platform/plugins/shared/ml/public/application/services/results_service/result_service_rx.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/results_service/result_service_rx.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/results_service/result_service_rx.ts diff --git a/x-pack/plugins/ml/public/application/services/results_service/results_service.d.ts b/x-pack/platform/plugins/shared/ml/public/application/services/results_service/results_service.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/results_service/results_service.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/results_service/results_service.d.ts diff --git a/x-pack/plugins/ml/public/application/services/results_service/results_service.js b/x-pack/platform/plugins/shared/ml/public/application/services/results_service/results_service.js similarity index 100% rename from x-pack/plugins/ml/public/application/services/results_service/results_service.js rename to x-pack/platform/plugins/shared/ml/public/application/services/results_service/results_service.js diff --git a/x-pack/plugins/ml/public/application/services/state_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/state_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/state_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/state_service.ts diff --git a/x-pack/plugins/ml/public/application/services/table_service.js b/x-pack/platform/plugins/shared/ml/public/application/services/table_service.js similarity index 100% rename from x-pack/plugins/ml/public/application/services/table_service.js rename to x-pack/platform/plugins/shared/ml/public/application/services/table_service.js diff --git a/x-pack/plugins/ml/public/application/services/toast_notification_service/__mocks__/index.ts b/x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/toast_notification_service/__mocks__/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/__mocks__/index.ts diff --git a/x-pack/plugins/ml/public/application/services/toast_notification_service/index.ts b/x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/toast_notification_service/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/index.ts diff --git a/x-pack/plugins/ml/public/application/services/toast_notification_service/toast_notification_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/toast_notification_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/toast_notification_service/toast_notification_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/toast_notification_service.ts diff --git a/x-pack/plugins/ml/public/application/services/usage_collection.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/usage_collection.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/usage_collection.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/usage_collection.test.ts diff --git a/x-pack/plugins/ml/public/application/services/usage_collection.ts b/x-pack/platform/plugins/shared/ml/public/application/services/usage_collection.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/usage_collection.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/usage_collection.ts diff --git a/x-pack/plugins/ml/public/application/settings/anomaly_detection_settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/anomaly_detection_settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/anomaly_detection_settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/anomaly_detection_settings.tsx diff --git a/x-pack/plugins/ml/public/application/settings/anomaly_detection_settings_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/anomaly_detection_settings_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/anomaly_detection_settings_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/anomaly_detection_settings_context.tsx diff --git a/x-pack/plugins/ml/public/application/settings/calendars/dst_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/dst_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/dst_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/dst_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/dst_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/dst_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/dst_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/dst_utils.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.tsx diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/dst_event_generator.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/dst_event_generator.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/dst_event_generator.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/dst_event_generator.tsx diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/events_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/events_table.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/events_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/events_table.tsx diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/import_modal.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/import_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/import_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/import_modal.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/import_modal.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/import_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/import_modal.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/import_modal.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/index.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/utils.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/utils.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/utils.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/imported_events.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/imported_events.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/imported_events.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/imported_events.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/imported_events.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/imported_events.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/imported_events.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/imported_events.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/index.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.d.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.d.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/index.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/utils.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/__snapshots__/header.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/__snapshots__/header.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/__snapshots__/header.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/__snapshots__/header.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.d.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.d.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/delete_calendars.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/delete_calendars.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/delete_calendars.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/delete_calendars.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/header.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/header.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/header.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/header.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/header.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/header.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/header.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/header.tsx diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/table/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/index.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/table/table.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/table.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/table/table.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/table.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/table/table.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/table/table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/table.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/index.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/index.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/index.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/index.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/__snapshots__/header.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/__snapshots__/header.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/__snapshots__/header.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/__snapshots__/header.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.d.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.d.ts diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/header.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/header.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/header.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/header.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/header.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/header.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/header.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/header.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/toolbar.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/toolbar.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/toolbar.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/toolbar.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/toolbar.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/toolbar.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/toolbar.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/toolbar.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/utils.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/utils.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/utils.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/header.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/__snapshots__/header.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/header.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/__snapshots__/header.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.d.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.d.ts diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/header.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/header.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/header.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/header.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/header.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/header.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/header.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/header.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/table.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/table.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/table.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/table.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/table.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/table.test.js diff --git a/x-pack/plugins/ml/public/application/settings/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/settings.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/settings.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/settings.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/settings.test.tsx diff --git a/x-pack/plugins/ml/public/application/settings/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/settings.tsx diff --git a/x-pack/plugins/ml/public/application/styles.ts b/x-pack/platform/plugins/shared/ml/public/application/styles.ts similarity index 100% rename from x-pack/plugins/ml/public/application/styles.ts rename to x-pack/platform/plugins/shared/ml/public/application/styles.ts diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/data_views_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/data_views_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/data_views_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/data_views_table.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/jobs_tab_content.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/jobs_tab_content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/jobs_tab_content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/jobs_tab_content.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/kibana_tab_content.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/kibana_tab_content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/kibana_tab_content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/kibana_tab_content.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/overview_tab_content.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/overview_tab_content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/overview_tab_content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/overview_tab_content.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/utils.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/context_chart_mask/index.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/context_chart_mask/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/context_chart_mask/index.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/context_chart_mask/index.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/entity_control.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_control.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/entity_control.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_control.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/index.ts diff --git a/x-pack/plugins/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 similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_progress.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_progress.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_progress.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_progress.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasts_list.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasts_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasts_list.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasts_list.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/index.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/index.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/index.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/modal.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/modal.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/modal.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_states.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_states.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_states.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_states.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/plot_function_controls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/plot_function_controls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/plot_function_controls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/plot_function_controls/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/plot_function_controls/plot_function_controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/plot_function_controls/plot_function_controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/plot_function_controls/plot_function_controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/plot_function_controls/plot_function_controls.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/series_controls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/series_controls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/series_controls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/series_controls/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/timeseriesexplorer_controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/timeseriesexplorer_controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/timeseriesexplorer_controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/timeseriesexplorer_controls.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/timeseriesexplorer_no_chart_data.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/timeseriesexplorer_no_chart_data.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/timeseriesexplorer_no_chart_data.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/timeseriesexplorer_no_chart_data.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/get_controls_for_detector.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_controls_for_detector.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/get_controls_for_detector.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_controls_for_detector.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/get_criteria_fields.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_criteria_fields.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/get_criteria_fields.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_criteria_fields.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/get_function_description.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_function_description.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/get_function_description.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_function_description.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/hooks/__mocks__/use_timeseriesexplorer_url_state.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/hooks/__mocks__/use_timeseriesexplorer_url_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/hooks/__mocks__/use_timeseriesexplorer_url_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/hooks/__mocks__/use_timeseriesexplorer_url_state.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/hooks/use_timeseriesexplorer_url_state.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/hooks/use_timeseriesexplorer_url_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/hooks/use_timeseriesexplorer_url_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/hooks/use_timeseriesexplorer_url_state.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/styles.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/styles.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/styles.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/styles.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.d.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.d.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_constants.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_constants.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_checkbox.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_checkbox.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_checkbox.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_checkbox.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_embeddable_chart.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_embeddable_chart.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_embeddable_chart.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_embeddable_chart.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_title.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_title.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_title.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_title.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_help_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_help_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_help_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_help_popover.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_page.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_timeseriesexplorer_default_state.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_timeseriesexplorer_default_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_timeseriesexplorer_default_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_timeseriesexplorer_default_state.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_viewable_detectors.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_viewable_detectors.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_viewable_detectors.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_viewable_detectors.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/time_series_search_service.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/time_series_search_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/time_series_search_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/time_series_search_service.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/validate_job_selection.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/validate_job_selection.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/validate_job_selection.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/validate_job_selection.ts diff --git a/x-pack/plugins/ml/public/application/util/__mocks__/time_buckets.ts b/x-pack/platform/plugins/shared/ml/public/application/util/__mocks__/time_buckets.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/__mocks__/time_buckets.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/__mocks__/time_buckets.ts diff --git a/x-pack/plugins/ml/public/application/util/__mocks__/url_state.tsx b/x-pack/platform/plugins/shared/ml/public/application/util/__mocks__/url_state.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/util/__mocks__/url_state.tsx rename to x-pack/platform/plugins/shared/ml/public/application/util/__mocks__/url_state.tsx diff --git a/x-pack/plugins/ml/public/application/util/chart_config_builder.ts b/x-pack/platform/plugins/shared/ml/public/application/util/chart_config_builder.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/chart_config_builder.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/chart_config_builder.ts diff --git a/x-pack/plugins/ml/public/application/util/chart_utils.d.ts b/x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/chart_utils.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.d.ts diff --git a/x-pack/plugins/ml/public/application/util/chart_utils.js b/x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/util/chart_utils.js rename to x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js diff --git a/x-pack/plugins/ml/public/application/util/chart_utils.test.js b/x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/util/chart_utils.test.js rename to x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.test.js diff --git a/x-pack/plugins/ml/public/application/util/component_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/component_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/component_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/component_utils.ts diff --git a/x-pack/plugins/ml/public/application/util/custom_url_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/util/custom_url_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/custom_url_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/custom_url_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/util/custom_url_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/custom_url_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/custom_url_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/custom_url_utils.ts diff --git a/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/util/field_types_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/field_types_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/field_types_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/util/field_types_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/field_types_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/field_types_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/field_types_utils.ts diff --git a/x-pack/plugins/ml/public/application/util/get_services.ts b/x-pack/platform/plugins/shared/ml/public/application/util/get_services.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/get_services.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/get_services.ts diff --git a/x-pack/plugins/ml/public/application/util/get_time_buckets_from_cache.ts b/x-pack/platform/plugins/shared/ml/public/application/util/get_time_buckets_from_cache.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/get_time_buckets_from_cache.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/get_time_buckets_from_cache.ts diff --git a/x-pack/plugins/ml/public/application/util/index_service.ts b/x-pack/platform/plugins/shared/ml/public/application/util/index_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/index_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/index_service.ts diff --git a/x-pack/plugins/ml/public/application/util/index_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/index_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/index_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/index_utils.ts diff --git a/x-pack/plugins/ml/public/application/util/recently_accessed.ts b/x-pack/platform/plugins/shared/ml/public/application/util/recently_accessed.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/recently_accessed.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/recently_accessed.ts diff --git a/x-pack/plugins/ml/public/application/util/results_url.ts b/x-pack/platform/plugins/shared/ml/public/application/util/results_url.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/results_url.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/results_url.ts diff --git a/x-pack/plugins/ml/public/application/util/string_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/util/string_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/string_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/string_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/util/string_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/string_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/string_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/string_utils.ts diff --git a/x-pack/plugins/ml/public/application/util/time_buckets_service.ts b/x-pack/platform/plugins/shared/ml/public/application/util/time_buckets_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/time_buckets_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/time_buckets_service.ts diff --git a/x-pack/plugins/ml/public/application/util/time_series_explorer_service.ts b/x-pack/platform/plugins/shared/ml/public/application/util/time_series_explorer_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/time_series_explorer_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/time_series_explorer_service.ts diff --git a/x-pack/plugins/ml/public/application/util/url_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/util/url_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/url_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/url_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/util/url_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/url_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/url_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/url_utils.ts diff --git a/x-pack/plugins/ml/public/cases/anomaly_charts_attachments.tsx b/x-pack/platform/plugins/shared/ml/public/cases/anomaly_charts_attachments.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/anomaly_charts_attachments.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/anomaly_charts_attachments.tsx diff --git a/x-pack/plugins/ml/public/cases/anomaly_swim_lane_attachment.tsx b/x-pack/platform/plugins/shared/ml/public/cases/anomaly_swim_lane_attachment.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/anomaly_swim_lane_attachment.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/anomaly_swim_lane_attachment.tsx diff --git a/x-pack/plugins/ml/public/cases/index.tsx b/x-pack/platform/plugins/shared/ml/public/cases/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/index.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/index.tsx diff --git a/x-pack/plugins/ml/public/cases/register_anomaly_charts_attachment.tsx b/x-pack/platform/plugins/shared/ml/public/cases/register_anomaly_charts_attachment.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/register_anomaly_charts_attachment.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/register_anomaly_charts_attachment.tsx diff --git a/x-pack/plugins/ml/public/cases/register_anomaly_swim_lane_attachment.tsx b/x-pack/platform/plugins/shared/ml/public/cases/register_anomaly_swim_lane_attachment.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/register_anomaly_swim_lane_attachment.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/register_anomaly_swim_lane_attachment.tsx diff --git a/x-pack/plugins/ml/public/cases/register_cases_attachments.ts b/x-pack/platform/plugins/shared/ml/public/cases/register_cases_attachments.ts similarity index 100% rename from x-pack/plugins/ml/public/cases/register_cases_attachments.ts rename to x-pack/platform/plugins/shared/ml/public/cases/register_cases_attachments.ts diff --git a/x-pack/plugins/ml/public/cases/register_single_metric_viewer_attachment.tsx b/x-pack/platform/plugins/shared/ml/public/cases/register_single_metric_viewer_attachment.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/register_single_metric_viewer_attachment.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/register_single_metric_viewer_attachment.tsx diff --git a/x-pack/plugins/ml/public/cases/single_metric_viewer_attachment.tsx b/x-pack/platform/plugins/shared/ml/public/cases/single_metric_viewer_attachment.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/single_metric_viewer_attachment.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/single_metric_viewer_attachment.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable_factory.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable_factory.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable_factory.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable_factory.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.test.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.test.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.test.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_react_container.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_react_container.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_react_container.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_react_container.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_setup_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_setup_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_setup_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_setup_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/get_anomaly_charts_services_dependencies.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/get_anomaly_charts_services_dependencies.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/get_anomaly_charts_services_dependencies.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/get_anomaly_charts_services_dependencies.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/initialize_anomaly_charts_controls.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/initialize_anomaly_charts_controls.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/initialize_anomaly_charts_controls.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/initialize_anomaly_charts_controls.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/lazy_anomaly_charts_container.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/lazy_anomaly_charts_container.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/lazy_anomaly_charts_container.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/lazy_anomaly_charts_container.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/use_anomaly_charts_data.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/use_anomaly_charts_data.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/use_anomaly_charts_data.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/use_anomaly_charts_data.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/utils.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/utils.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/utils.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.test.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.test.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.test.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_initializer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_initializer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_initializer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_initializer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_setup_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_setup_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_setup_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_setup_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_data_fetcher.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_data_fetcher.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_data_fetcher.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_data_fetcher.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/types.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/types.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/types.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/types.ts diff --git a/x-pack/plugins/ml/public/embeddables/common/anomaly_detection_embeddable.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/common/anomaly_detection_embeddable.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/anomaly_detection_embeddable.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/anomaly_detection_embeddable.ts diff --git a/x-pack/plugins/ml/public/embeddables/common/components/embeddable_loading_fallback.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/common/components/embeddable_loading_fallback.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/components/embeddable_loading_fallback.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/components/embeddable_loading_fallback.tsx diff --git a/x-pack/plugins/ml/public/embeddables/common/components/job_selector_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/common/components/job_selector_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/components/job_selector_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/components/job_selector_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/common/get_jobs_observable.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/common/get_jobs_observable.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/get_jobs_observable.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/get_jobs_observable.ts diff --git a/x-pack/plugins/ml/public/embeddables/common/process_filters.test.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/common/process_filters.test.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/process_filters.test.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/process_filters.test.ts diff --git a/x-pack/plugins/ml/public/embeddables/common/process_filters.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/common/process_filters.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/process_filters.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/process_filters.ts diff --git a/x-pack/plugins/ml/public/embeddables/common/use_embeddable_execution_context.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/common/use_embeddable_execution_context.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/use_embeddable_execution_context.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/use_embeddable_execution_context.ts diff --git a/x-pack/plugins/ml/public/embeddables/constants.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/constants.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/constants.ts diff --git a/x-pack/plugins/ml/public/embeddables/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/create_job.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/create_job.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/create_job.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/create_job.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/aiops/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/aiops/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/aiops/show_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/show_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/aiops/show_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/show_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/common/context.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/context.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/common/context.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/context.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/common/create_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/create_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/common/create_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/create_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/common/job_details.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/job_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/common/job_details.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/job_details.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/show_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/show_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/show_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/show_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/show_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/show_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/show_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/show_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/get_default_panel_title.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/get_default_panel_title.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/get_default_panel_title.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/get_default_panel_title.ts diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/get_services.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/get_services.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/get_services.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/get_services.ts diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_controls_initializer.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_controls_initializer.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_controls_initializer.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_controls_initializer.ts diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_data_fetcher.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_data_fetcher.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_data_fetcher.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_data_fetcher.ts diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_embeddable_factory.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_embeddable_factory.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_embeddable_factory.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_embeddable_factory.tsx diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_initializer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_initializer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_initializer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_initializer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_setup_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_setup_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_setup_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_setup_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/types.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/types.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/types.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/types.ts diff --git a/x-pack/plugins/ml/public/embeddables/utils.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/utils.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/utils.ts diff --git a/x-pack/plugins/ml/public/index.ts b/x-pack/platform/plugins/shared/ml/public/index.ts similarity index 100% rename from x-pack/plugins/ml/public/index.ts rename to x-pack/platform/plugins/shared/ml/public/index.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/aiops.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/aiops.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/aiops.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/aiops.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/anomaly_detection.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/anomaly_detection.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/anomaly_detection.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/anomaly_detection.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/common.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/common.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/common.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/common.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/data_frame_analytics.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/data_frame_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/data_frame_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/data_frame_analytics.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/index.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/index.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/index.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/index.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/notifications.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/notifications.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/notifications.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/notifications.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/settings.tsx b/x-pack/platform/plugins/shared/ml/public/locator/formatters/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/settings.tsx diff --git a/x-pack/plugins/ml/public/locator/formatters/trained_models.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/trained_models.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/trained_models.ts diff --git a/x-pack/plugins/ml/public/locator/index.ts b/x-pack/platform/plugins/shared/ml/public/locator/index.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/index.ts rename to x-pack/platform/plugins/shared/ml/public/locator/index.ts diff --git a/x-pack/plugins/ml/public/locator/ml_locator.test.ts b/x-pack/platform/plugins/shared/ml/public/locator/ml_locator.test.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/ml_locator.test.ts rename to x-pack/platform/plugins/shared/ml/public/locator/ml_locator.test.ts diff --git a/x-pack/plugins/ml/public/locator/ml_locator.ts b/x-pack/platform/plugins/shared/ml/public/locator/ml_locator.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/ml_locator.ts rename to x-pack/platform/plugins/shared/ml/public/locator/ml_locator.ts diff --git a/x-pack/plugins/ml/public/locator/use_ml_href.ts b/x-pack/platform/plugins/shared/ml/public/locator/use_ml_href.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/use_ml_href.ts rename to x-pack/platform/plugins/shared/ml/public/locator/use_ml_href.ts diff --git a/x-pack/plugins/ml/public/maps/anomaly_job_selector.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_job_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_job_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_job_selector.tsx diff --git a/x-pack/plugins/ml/public/maps/anomaly_job_selector_empty_state.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_job_selector_empty_state.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_job_selector_empty_state.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_job_selector_empty_state.tsx diff --git a/x-pack/plugins/ml/public/maps/anomaly_layer_wizard.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_layer_wizard.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_layer_wizard.tsx diff --git a/x-pack/plugins/ml/public/maps/anomaly_layer_wizard_factory.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_layer_wizard_factory.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_layer_wizard_factory.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_layer_wizard_factory.tsx diff --git a/x-pack/plugins/ml/public/maps/anomaly_source.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_source.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_source.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_source.tsx diff --git a/x-pack/plugins/ml/public/maps/anomaly_source_factory.ts b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_source_factory.ts similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_source_factory.ts rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_source_factory.ts diff --git a/x-pack/plugins/ml/public/maps/anomaly_source_field.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_source_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_source_field.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_source_field.tsx diff --git a/x-pack/plugins/ml/public/maps/create_anomaly_source_editor.tsx b/x-pack/platform/plugins/shared/ml/public/maps/create_anomaly_source_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/create_anomaly_source_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/create_anomaly_source_editor.tsx diff --git a/x-pack/plugins/ml/public/maps/layer_selector.tsx b/x-pack/platform/plugins/shared/ml/public/maps/layer_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/layer_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/layer_selector.tsx diff --git a/x-pack/plugins/ml/public/maps/maps_util.test.js b/x-pack/platform/plugins/shared/ml/public/maps/maps_util.test.js similarity index 100% rename from x-pack/plugins/ml/public/maps/maps_util.test.js rename to x-pack/platform/plugins/shared/ml/public/maps/maps_util.test.js diff --git a/x-pack/plugins/ml/public/maps/register_map_extension.ts b/x-pack/platform/plugins/shared/ml/public/maps/register_map_extension.ts similarity index 100% rename from x-pack/plugins/ml/public/maps/register_map_extension.ts rename to x-pack/platform/plugins/shared/ml/public/maps/register_map_extension.ts diff --git a/x-pack/plugins/ml/public/maps/results.test.mock.ts b/x-pack/platform/plugins/shared/ml/public/maps/results.test.mock.ts similarity index 100% rename from x-pack/plugins/ml/public/maps/results.test.mock.ts rename to x-pack/platform/plugins/shared/ml/public/maps/results.test.mock.ts diff --git a/x-pack/plugins/ml/public/maps/update_anomaly_source_editor.tsx b/x-pack/platform/plugins/shared/ml/public/maps/update_anomaly_source_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/update_anomaly_source_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/update_anomaly_source_editor.tsx diff --git a/x-pack/plugins/ml/public/maps/util.ts b/x-pack/platform/plugins/shared/ml/public/maps/util.ts similarity index 100% rename from x-pack/plugins/ml/public/maps/util.ts rename to x-pack/platform/plugins/shared/ml/public/maps/util.ts diff --git a/x-pack/plugins/ml/public/mocks.ts b/x-pack/platform/plugins/shared/ml/public/mocks.ts similarity index 100% rename from x-pack/plugins/ml/public/mocks.ts rename to x-pack/platform/plugins/shared/ml/public/mocks.ts diff --git a/x-pack/plugins/ml/public/plugin.ts b/x-pack/platform/plugins/shared/ml/public/plugin.ts similarity index 100% rename from x-pack/plugins/ml/public/plugin.ts rename to x-pack/platform/plugins/shared/ml/public/plugin.ts diff --git a/x-pack/plugins/ml/public/register_helper/index.ts b/x-pack/platform/plugins/shared/ml/public/register_helper/index.ts similarity index 100% rename from x-pack/plugins/ml/public/register_helper/index.ts rename to x-pack/platform/plugins/shared/ml/public/register_helper/index.ts diff --git a/x-pack/plugins/ml/public/register_helper/register_search_links/index.ts b/x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/index.ts similarity index 100% rename from x-pack/plugins/ml/public/register_helper/register_search_links/index.ts rename to x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/index.ts diff --git a/x-pack/plugins/ml/public/register_helper/register_search_links/register_search_links.ts b/x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/register_search_links.ts similarity index 100% rename from x-pack/plugins/ml/public/register_helper/register_search_links/register_search_links.ts rename to x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/register_search_links.ts diff --git a/x-pack/plugins/ml/public/register_helper/register_search_links/search_deep_links.ts b/x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/search_deep_links.ts similarity index 100% rename from x-pack/plugins/ml/public/register_helper/register_search_links/search_deep_links.ts rename to x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/search_deep_links.ts diff --git a/x-pack/plugins/ml/public/register_home_feature.ts b/x-pack/platform/plugins/shared/ml/public/register_home_feature.ts similarity index 100% rename from x-pack/plugins/ml/public/register_home_feature.ts rename to x-pack/platform/plugins/shared/ml/public/register_home_feature.ts diff --git a/x-pack/plugins/ml/public/shared_components/anomaly_swim_lane.tsx b/x-pack/platform/plugins/shared/ml/public/shared_components/anomaly_swim_lane.tsx similarity index 100% rename from x-pack/plugins/ml/public/shared_components/anomaly_swim_lane.tsx rename to x-pack/platform/plugins/shared/ml/public/shared_components/anomaly_swim_lane.tsx diff --git a/x-pack/plugins/ml/public/shared_components/index.ts b/x-pack/platform/plugins/shared/ml/public/shared_components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/shared_components/index.ts rename to x-pack/platform/plugins/shared/ml/public/shared_components/index.ts diff --git a/x-pack/plugins/ml/public/shared_components/single_metric_viewer/index.tsx b/x-pack/platform/plugins/shared/ml/public/shared_components/single_metric_viewer/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/shared_components/single_metric_viewer/index.tsx rename to x-pack/platform/plugins/shared/ml/public/shared_components/single_metric_viewer/index.tsx diff --git a/x-pack/plugins/ml/public/shared_components/single_metric_viewer/single_metric_viewer.tsx b/x-pack/platform/plugins/shared/ml/public/shared_components/single_metric_viewer/single_metric_viewer.tsx similarity index 100% rename from x-pack/plugins/ml/public/shared_components/single_metric_viewer/single_metric_viewer.tsx rename to x-pack/platform/plugins/shared/ml/public/shared_components/single_metric_viewer/single_metric_viewer.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/apply_entity_filters_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/apply_entity_filters_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/apply_influencer_filters_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/apply_influencer_filters_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/apply_time_range_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/apply_time_range_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/apply_time_range_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/apply_time_range_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/clear_selection_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/clear_selection_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/clear_selection_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/clear_selection_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/constants.ts b/x-pack/platform/plugins/shared/ml/public/ui_actions/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/constants.ts rename to x-pack/platform/plugins/shared/ml/public/ui_actions/constants.ts diff --git a/x-pack/plugins/ml/public/ui_actions/create_anomaly_chart.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/create_anomaly_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/create_anomaly_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/create_anomaly_chart.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/create_single_metric_viewer.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/create_single_metric_viewer.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/create_single_metric_viewer.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/create_single_metric_viewer.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/create_swim_lane.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/create_swim_lane.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/create_swim_lane.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/create_swim_lane.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/get_embeddable_time_range.ts b/x-pack/platform/plugins/shared/ml/public/ui_actions/get_embeddable_time_range.ts similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/get_embeddable_time_range.ts rename to x-pack/platform/plugins/shared/ml/public/ui_actions/get_embeddable_time_range.ts diff --git a/x-pack/plugins/ml/public/ui_actions/index.ts b/x-pack/platform/plugins/shared/ml/public/ui_actions/index.ts similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/index.ts rename to x-pack/platform/plugins/shared/ml/public/ui_actions/index.ts diff --git a/x-pack/plugins/ml/public/ui_actions/open_create_categorization_job_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/open_create_categorization_job_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/open_create_categorization_job_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/open_create_categorization_job_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/open_in_anomaly_explorer_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/open_in_anomaly_explorer_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/open_in_anomaly_explorer_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/open_in_anomaly_explorer_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/open_in_single_metric_viewer_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/open_in_single_metric_viewer_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/open_in_single_metric_viewer_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/open_in_single_metric_viewer_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/open_vis_in_ml_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/open_vis_in_ml_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/open_vis_in_ml_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/open_vis_in_ml_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/triggers.ts b/x-pack/platform/plugins/shared/ml/public/ui_actions/triggers.ts similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/triggers.ts rename to x-pack/platform/plugins/shared/ml/public/ui_actions/triggers.ts diff --git a/x-pack/plugins/ml/public/ui_actions/types.ts b/x-pack/platform/plugins/shared/ml/public/ui_actions/types.ts similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/types.ts rename to x-pack/platform/plugins/shared/ml/public/ui_actions/types.ts diff --git a/x-pack/plugins/ml/readme.md b/x-pack/platform/plugins/shared/ml/readme.md similarity index 94% rename from x-pack/plugins/ml/readme.md rename to x-pack/platform/plugins/shared/ml/readme.md index 235cc4e0458bf..2c99bd37ff4c7 100644 --- a/x-pack/plugins/ml/readme.md +++ b/x-pack/platform/plugins/shared/ml/readme.md @@ -69,7 +69,7 @@ These data sets are now ready be analyzed in ML jobs in Kibana. Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing -Run the test following jest tests from `kibana/x-pack/plugins/ml`. +Run the test following jest tests from `kibana/x-pack/platform/plugins/shared/ml`. New snapshots, all plugins: @@ -173,23 +173,23 @@ Note: We are in the process of moving shared code to packages, for example `@kbn You can find the ML shared functions in the following files in GitHub: ``` -https://github.com/elastic/kibana/blob/main/x-pack/plugins/ml/public/shared.ts +https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/ml/public/shared.ts ``` ``` -https://github.com/elastic/kibana/blob/main/x-pack/plugins/ml/server/shared.ts +https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/ml/server/shared.ts ``` These functions are shared from the root of the ML plugin, you can import them with an import statement. For example: ``` -import { MlPluginSetup } from '../../../../ml/server'; +import { MlPluginSetup } from '../../../../../../ml/server'; ``` or ``` -import { ML_ANOMALY_SEVERITY } from '../../ml/common'; +import { ML_ANOMALY_SEVERITY } from '../../../../ml/common'; ``` Functions are shared from the following directories: diff --git a/x-pack/plugins/ml/server/client/error_wrapper.ts b/x-pack/platform/plugins/shared/ml/server/client/error_wrapper.ts similarity index 100% rename from x-pack/plugins/ml/server/client/error_wrapper.ts rename to x-pack/platform/plugins/shared/ml/server/client/error_wrapper.ts diff --git a/x-pack/plugins/ml/server/client/errors.js b/x-pack/platform/plugins/shared/ml/server/client/errors.js similarity index 100% rename from x-pack/plugins/ml/server/client/errors.js rename to x-pack/platform/plugins/shared/ml/server/client/errors.js diff --git a/x-pack/plugins/ml/server/config_schema.ts b/x-pack/platform/plugins/shared/ml/server/config_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/config_schema.ts rename to x-pack/platform/plugins/shared/ml/server/config_schema.ts diff --git a/x-pack/plugins/ml/server/index.ts b/x-pack/platform/plugins/shared/ml/server/index.ts similarity index 100% rename from x-pack/plugins/ml/server/index.ts rename to x-pack/platform/plugins/shared/ml/server/index.ts diff --git a/x-pack/plugins/ml/server/lib/__mocks__/log.ts b/x-pack/platform/plugins/shared/ml/server/lib/__mocks__/log.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/__mocks__/log.ts rename to x-pack/platform/plugins/shared/ml/server/lib/__mocks__/log.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/alerting_service.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/alerting_service.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/alerting_service.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/alerting_service.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/jobs_health_service.test.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/jobs_health_service.test.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/jobs_health_service.test.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/jobs_health_service.test.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/jobs_health_service.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/jobs_health_service.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/jobs_health_service.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/jobs_health_service.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/register_anomaly_detection_alert_type.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/register_anomaly_detection_alert_type.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/register_anomaly_detection_alert_type.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/register_anomaly_detection_alert_type.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/register_jobs_monitoring_rule_type.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/register_jobs_monitoring_rule_type.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/register_jobs_monitoring_rule_type.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/register_jobs_monitoring_rule_type.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/register_ml_alerts.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/register_ml_alerts.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/register_ml_alerts.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/register_ml_alerts.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/__mocks__/ml_capabilities.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/__mocks__/ml_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/__mocks__/ml_capabilities.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/__mocks__/ml_capabilities.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/capabilities_switcher.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/capabilities_switcher.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/capabilities_switcher.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/capabilities_switcher.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/check_capabilities.test.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/check_capabilities.test.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/check_capabilities.test.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/check_capabilities.test.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/check_capabilities.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/check_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/check_capabilities.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/check_capabilities.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/errors.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/errors.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/index.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/index.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/index.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/index.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/upgrade.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/upgrade.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/upgrade.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/upgrade.ts diff --git a/x-pack/plugins/ml/server/lib/check_annotations/index.ts b/x-pack/platform/plugins/shared/ml/server/lib/check_annotations/index.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/check_annotations/index.ts rename to x-pack/platform/plugins/shared/ml/server/lib/check_annotations/index.ts diff --git a/x-pack/plugins/ml/server/lib/data_views_utils.ts b/x-pack/platform/plugins/shared/ml/server/lib/data_views_utils.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/data_views_utils.ts rename to x-pack/platform/plugins/shared/ml/server/lib/data_views_utils.ts diff --git a/x-pack/plugins/ml/server/lib/log.ts b/x-pack/platform/plugins/shared/ml/server/lib/log.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/log.ts rename to x-pack/platform/plugins/shared/ml/server/lib/log.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/errors.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/errors.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/errors.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/errors.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/index.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/index.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/index.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/index.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/ml_audit_logger.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/ml_audit_logger.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/ml_audit_logger.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/ml_audit_logger.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/ml_client.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/ml_client.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/ml_client.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/ml_client.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/search.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/search.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/search.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/search.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/types.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/types.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/types.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/types.ts diff --git a/x-pack/plugins/ml/server/lib/node_utils.ts b/x-pack/platform/plugins/shared/ml/server/lib/node_utils.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/node_utils.ts rename to x-pack/platform/plugins/shared/ml/server/lib/node_utils.ts diff --git a/x-pack/plugins/ml/server/lib/register_cases.ts b/x-pack/platform/plugins/shared/ml/server/lib/register_cases.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/register_cases.ts rename to x-pack/platform/plugins/shared/ml/server/lib/register_cases.ts diff --git a/x-pack/plugins/ml/server/lib/register_sample_data_set_links.ts b/x-pack/platform/plugins/shared/ml/server/lib/register_sample_data_set_links.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/register_sample_data_set_links.ts rename to x-pack/platform/plugins/shared/ml/server/lib/register_sample_data_set_links.ts diff --git a/x-pack/plugins/ml/server/lib/register_settings.ts b/x-pack/platform/plugins/shared/ml/server/lib/register_settings.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/register_settings.ts rename to x-pack/platform/plugins/shared/ml/server/lib/register_settings.ts diff --git a/x-pack/plugins/ml/server/lib/request_authorization.ts b/x-pack/platform/plugins/shared/ml/server/lib/request_authorization.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/request_authorization.ts rename to x-pack/platform/plugins/shared/ml/server/lib/request_authorization.ts diff --git a/x-pack/plugins/ml/server/lib/route_guard.ts b/x-pack/platform/plugins/shared/ml/server/lib/route_guard.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/route_guard.ts rename to x-pack/platform/plugins/shared/ml/server/lib/route_guard.ts diff --git a/x-pack/plugins/ml/server/lib/spaces_utils.ts b/x-pack/platform/plugins/shared/ml/server/lib/spaces_utils.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/spaces_utils.ts rename to x-pack/platform/plugins/shared/ml/server/lib/spaces_utils.ts diff --git a/x-pack/plugins/ml/server/mocks.ts b/x-pack/platform/plugins/shared/ml/server/mocks.ts similarity index 100% rename from x-pack/plugins/ml/server/mocks.ts rename to x-pack/platform/plugins/shared/ml/server/mocks.ts diff --git a/x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_request.json b/x-pack/platform/plugins/shared/ml/server/models/annotation_service/__mocks__/get_annotations_request.json similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_request.json rename to x-pack/platform/plugins/shared/ml/server/models/annotation_service/__mocks__/get_annotations_request.json diff --git a/x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_response.json b/x-pack/platform/plugins/shared/ml/server/models/annotation_service/__mocks__/get_annotations_response.json similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_response.json rename to x-pack/platform/plugins/shared/ml/server/models/annotation_service/__mocks__/get_annotations_response.json diff --git a/x-pack/plugins/ml/server/models/annotation_service/annotation.test.ts b/x-pack/platform/plugins/shared/ml/server/models/annotation_service/annotation.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/annotation.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/annotation_service/annotation.test.ts diff --git a/x-pack/plugins/ml/server/models/annotation_service/annotation.ts b/x-pack/platform/plugins/shared/ml/server/models/annotation_service/annotation.ts similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/annotation.ts rename to x-pack/platform/plugins/shared/ml/server/models/annotation_service/annotation.ts diff --git a/x-pack/plugins/ml/server/models/annotation_service/index.ts b/x-pack/platform/plugins/shared/ml/server/models/annotation_service/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/annotation_service/index.ts diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.d.ts b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.d.ts similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.d.ts rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.d.ts diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.js b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.js rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.js diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.test.ts b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.test.ts diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/index.ts b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/index.ts diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/intervals.js b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/intervals.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/intervals.js rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/intervals.js diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/polled_data_checker.js b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/polled_data_checker.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/polled_data_checker.js rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/polled_data_checker.js diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/single_series_checker.js b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/single_series_checker.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/single_series_checker.js rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/single_series_checker.js diff --git a/x-pack/plugins/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.ts b/x-pack/platform/plugins/shared/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.ts similarity index 100% rename from x-pack/plugins/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.ts rename to x-pack/platform/plugins/shared/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.ts diff --git a/x-pack/plugins/ml/server/models/calculate_model_memory_limit/index.ts b/x-pack/platform/plugins/shared/ml/server/models/calculate_model_memory_limit/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/calculate_model_memory_limit/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/calculate_model_memory_limit/index.ts diff --git a/x-pack/plugins/ml/server/models/calendar/calendar_manager.ts b/x-pack/platform/plugins/shared/ml/server/models/calendar/calendar_manager.ts similarity index 100% rename from x-pack/plugins/ml/server/models/calendar/calendar_manager.ts rename to x-pack/platform/plugins/shared/ml/server/models/calendar/calendar_manager.ts diff --git a/x-pack/plugins/ml/server/models/calendar/event_manager.ts b/x-pack/platform/plugins/shared/ml/server/models/calendar/event_manager.ts similarity index 100% rename from x-pack/plugins/ml/server/models/calendar/event_manager.ts rename to x-pack/platform/plugins/shared/ml/server/models/calendar/event_manager.ts diff --git a/x-pack/plugins/ml/server/models/calendar/index.ts b/x-pack/platform/plugins/shared/ml/server/models/calendar/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/calendar/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/calendar/index.ts diff --git a/x-pack/plugins/ml/server/models/data_frame_analytics/analytics_audit_messages.ts b/x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/analytics_audit_messages.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_frame_analytics/analytics_audit_messages.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/analytics_audit_messages.ts diff --git a/x-pack/plugins/ml/server/models/data_frame_analytics/analytics_manager.ts b/x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/analytics_manager.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_frame_analytics/analytics_manager.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/analytics_manager.ts diff --git a/x-pack/plugins/ml/server/models/data_frame_analytics/index.ts b/x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_frame_analytics/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/index.ts diff --git a/x-pack/plugins/ml/server/models/data_frame_analytics/types.ts b/x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/types.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_frame_analytics/types.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/types.ts diff --git a/x-pack/plugins/ml/server/models/data_frame_analytics/validation.ts b/x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/validation.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_frame_analytics/validation.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/validation.ts diff --git a/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.test.ts b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/data_recognizer.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/data_recognizer.test.ts diff --git a/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/data_recognizer.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/data_recognizer.ts diff --git a/x-pack/plugins/ml/server/models/data_recognizer/index.ts b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/index.ts diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/apm_tx_metrics.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/ml/apm_tx_metrics.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/apm_tx_metrics.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/ml/apm_tx_metrics.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_apm_tx_metrics.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_apm_tx_metrics.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_apm_tx_metrics.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_apm_tx_metrics.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/datafeed_log_entry_rate.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/datafeed_log_entry_rate.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/datafeed_log_entry_rate.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/datafeed_log_entry_rate.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/datafeed_log_entry_categories_count.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/datafeed_log_entry_categories_count.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/datafeed_log_entry_categories_count.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/datafeed_log_entry_categories_count.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/log_entry_categories_count.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/log_entry_categories_count.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/log_entry_categories_count.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/log_entry_categories_count.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_memory_usage.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_memory_usage.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_memory_usage.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_memory_usage.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_in.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_in.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_in.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_in.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_out.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_out.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_out.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_out.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_memory_usage.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_memory_usage.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_memory_usage.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_memory_usage.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_in.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_in.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_in.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_in.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_out.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_out.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_out.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_out.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_memory_usage.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_memory_usage.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_memory_usage.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_memory_usage.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_in.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_in.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_in.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_in.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_out.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_out.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_out.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_out.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_memory_usage.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_memory_usage.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_memory_usage.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_memory_usage.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_in.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_in.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_in.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_in.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_out.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_out.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_out.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_out.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events_for_a_source_ip.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events_for_a_source_ip.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events_for_a_source_ip.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events_for_a_source_ip.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_fails.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_fails.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_fails.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_fails.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_hour_for_a_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_hour_for_a_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_hour_for_a_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_hour_for_a_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_source_ip_for_a_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_source_ip_for_a_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_source_ip_for_a_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_source_ip_for_a_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events_for_a_source_ip.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events_for_a_source_ip.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events_for_a_source_ip.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events_for_a_source_ip.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_fails.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_fails.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_fails.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_fails.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_hour_for_a_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_hour_for_a_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_hour_for_a_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_hour_for_a_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_source_ip_for_a_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_source_ip_for_a_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_source_ip_for_a_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_source_ip_for_a_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_suspicious_login_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_suspicious_login_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_suspicious_login_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_suspicious_login_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/suspicious_login_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/suspicious_login_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/suspicious_login_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/suspicious_login_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_high_distinct_count_error_message.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_high_distinct_count_error_message.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_high_distinct_count_error_message.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_high_distinct_count_error_message.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_error_code.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_error_code.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_error_code.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_error_code.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_city.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_city.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_city.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_city.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_username.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_username.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_username.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_username.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/high_distinct_count_error_message.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/high_distinct_count_error_message.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/high_distinct_count_error_message.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/high_distinct_count_error_message.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_error_code.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_error_code.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_error_code.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_error_code.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_city.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_city.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_city.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_city.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_username.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_username.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_username.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_username.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_high_count_events_for_a_host_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_high_count_events_for_a_host_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_high_count_events_for_a_host_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_high_count_events_for_a_host_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_low_count_events_for_a_host_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_low_count_events_for_a_host_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_low_count_events_for_a_host_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_low_count_events_for_a_host_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/high_count_events_for_a_host_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/high_count_events_for_a_host_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/high_count_events_for_a_host_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/high_count_events_for_a_host_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/low_count_events_for_a_host_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/low_count_events_for_a_host_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/low_count_events_for_a_host_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/low_count_events_for_a_host_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_port_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_port_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_port_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_port_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_process_all_hosts.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_process_all_hosts.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_process_all_hosts.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_process_all_hosts.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_user_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_user_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_user_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_user_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_configuration_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_configuration_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_configuration_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_configuration_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_connection_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_connection_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_connection_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_connection_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_process.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_process.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_process.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_process.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_sudo_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_sudo_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_sudo_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_sudo_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_user_compiler.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_user_compiler.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_user_compiler.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_user_compiler.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_information_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_information_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_information_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_information_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_process_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_process_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_process_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_process_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_user_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_user_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_user_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_user_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_rare_process_by_host_linux.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_rare_process_by_host_linux.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_rare_process_by_host_linux.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_rare_process_by_host_linux.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_port_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_port_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_port_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_port_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_process_all_hosts.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_process_all_hosts.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_process_all_hosts.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_process_all_hosts.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_user_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_user_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_user_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_user_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_configuration_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_configuration_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_configuration_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_configuration_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_connection_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_connection_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_connection_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_connection_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_process.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_process.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_process.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_process.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_sudo_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_sudo_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_sudo_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_sudo_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_user_compiler.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_user_compiler.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_user_compiler.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_user_compiler.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_information_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_information_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_information_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_information_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_process_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_process_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_process_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_process_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_user_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_user_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_user_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_user_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_rare_process_by_host_linux.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_rare_process_by_host_linux.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_rare_process_by_host_linux.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_rare_process_by_host_linux.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_by_destination_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_by_destination_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_by_destination_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_by_destination_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_denies.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_denies.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_denies.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_denies.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_events.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_events.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_events.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_events.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_rare_destination_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_rare_destination_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_rare_destination_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_rare_destination_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_by_destination_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_by_destination_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_by_destination_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_by_destination_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_denies.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_denies.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_denies.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_denies.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_events.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_events.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_events.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_events.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/rare_destination_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/rare_destination_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/rare_destination_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/rare_destination_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_dns_tunneling.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_dns_tunneling.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_dns_tunneling.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_dns_tunneling.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_dns_question.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_dns_question.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_dns_question.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_dns_question.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_server_domain.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_server_domain.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_server_domain.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_server_domain.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_urls.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_urls.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_urls.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_urls.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_user_agent.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_user_agent.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_user_agent.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_user_agent.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_dns_tunneling.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_dns_tunneling.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_dns_tunneling.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_dns_tunneling.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_dns_question.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_dns_question.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_dns_question.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_dns_question.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_server_domain.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_server_domain.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_server_domain.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_server_domain.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_urls.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_urls.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_urls.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_urls.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_user_agent.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_user_agent.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_user_agent.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_user_agent.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_rare_process_by_host_windows.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_rare_process_by_host_windows.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_rare_process_by_host_windows.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_rare_process_by_host_windows.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_network_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_network_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_network_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_network_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_path_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_path_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_path_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_path_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_all_hosts.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_all_hosts.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_all_hosts.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_all_hosts.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_creation.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_creation.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_creation.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_creation.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_script.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_script.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_script.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_script.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_service.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_service.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_service.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_service.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_user_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_user_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_user_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_user_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_process.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_process.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_process.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_process.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_runas_event.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_runas_event.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_runas_event.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_runas_event.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_type10_remote_login.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_type10_remote_login.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_type10_remote_login.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_type10_remote_login.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_rare_process_by_host_windows.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_rare_process_by_host_windows.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_rare_process_by_host_windows.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_rare_process_by_host_windows.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_network_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_network_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_network_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_network_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_path_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_path_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_path_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_path_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_all_hosts.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_all_hosts.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_all_hosts.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_all_hosts.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_creation.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_creation.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_creation.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_creation.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_script.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_script.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_script.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_script.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_service.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_service.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_service.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_service.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_user_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_user_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_user_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_user_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_process.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_process.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_process.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_process.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_runas_event.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_runas_event.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_runas_event.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_runas_event.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_type10_remote_login.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_type10_remote_login.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_type10_remote_login.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_type10_remote_login.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/datafeed_high_latency_by_geo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/datafeed_high_latency_by_geo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/datafeed_high_latency_by_geo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/datafeed_high_latency_by_geo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/high_latency_by_geo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/high_latency_by_geo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/high_latency_by_geo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/high_latency_by_geo.json diff --git a/x-pack/plugins/ml/server/models/data_visualizer/data_visualizer.ts b/x-pack/platform/plugins/shared/ml/server/models/data_visualizer/data_visualizer.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_visualizer/data_visualizer.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_visualizer/data_visualizer.ts diff --git a/x-pack/plugins/ml/server/models/data_visualizer/index.ts b/x-pack/platform/plugins/shared/ml/server/models/data_visualizer/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_visualizer/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_visualizer/index.ts diff --git a/x-pack/plugins/ml/server/models/fields_service/fields_aggs_cache.ts b/x-pack/platform/plugins/shared/ml/server/models/fields_service/fields_aggs_cache.ts similarity index 100% rename from x-pack/plugins/ml/server/models/fields_service/fields_aggs_cache.ts rename to x-pack/platform/plugins/shared/ml/server/models/fields_service/fields_aggs_cache.ts diff --git a/x-pack/plugins/ml/server/models/fields_service/fields_service.ts b/x-pack/platform/plugins/shared/ml/server/models/fields_service/fields_service.ts similarity index 100% rename from x-pack/plugins/ml/server/models/fields_service/fields_service.ts rename to x-pack/platform/plugins/shared/ml/server/models/fields_service/fields_service.ts diff --git a/x-pack/plugins/ml/server/models/fields_service/index.ts b/x-pack/platform/plugins/shared/ml/server/models/fields_service/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/fields_service/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/fields_service/index.ts diff --git a/x-pack/plugins/ml/server/models/filter/filter_manager.ts b/x-pack/platform/plugins/shared/ml/server/models/filter/filter_manager.ts similarity index 100% rename from x-pack/plugins/ml/server/models/filter/filter_manager.ts rename to x-pack/platform/plugins/shared/ml/server/models/filter/filter_manager.ts diff --git a/x-pack/plugins/ml/server/models/filter/index.ts b/x-pack/platform/plugins/shared/ml/server/models/filter/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/filter/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/filter/index.ts diff --git a/x-pack/plugins/ml/server/models/job_audit_messages/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_audit_messages/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/index.ts diff --git a/x-pack/plugins/ml/server/models/job_audit_messages/is_clearable.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/is_clearable.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_audit_messages/is_clearable.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/is_clearable.test.ts diff --git a/x-pack/plugins/ml/server/models/job_audit_messages/job_audit_messages.ts b/x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/job_audit_messages.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_audit_messages/job_audit_messages.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/job_audit_messages.ts diff --git a/x-pack/plugins/ml/server/models/job_service/datafeeds.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/datafeeds.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/datafeeds.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/datafeeds.ts diff --git a/x-pack/plugins/ml/server/models/job_service/error_utils.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/error_utils.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/error_utils.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/error_utils.ts diff --git a/x-pack/plugins/ml/server/models/job_service/groups.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/groups.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/groups.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/groups.ts diff --git a/x-pack/plugins/ml/server/models/job_service/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/index.ts diff --git a/x-pack/plugins/ml/server/models/job_service/jobs.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/jobs.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/jobs.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/jobs.ts diff --git a/x-pack/plugins/ml/server/models/job_service/model_snapshots.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/model_snapshots.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/model_snapshots.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/model_snapshots.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/categorization/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/categorization/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/categorization/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/categorization/index.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/categorization/top_categories.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/categorization/top_categories.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/categorization/top_categories.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/categorization/top_categories.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/charts.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/charts.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/charts.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/charts.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/index.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/line_chart.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/line_chart.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/line_chart.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/line_chart.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/population_chart.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/population_chart.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/population_chart.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/population_chart.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/cloudwatch_field_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/cloudwatch_field_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/cloudwatch_field_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/cloudwatch_field_caps.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/data_view_rollup_cloudwatch.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/data_view_rollup_cloudwatch.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/data_view_rollup_cloudwatch.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/data_view_rollup_cloudwatch.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/farequote_field_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/farequote_field_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/farequote_field_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/farequote_field_caps.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/rollup_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/rollup_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/rollup_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/rollup_caps.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/cloudwatch_rollup_job_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/cloudwatch_rollup_job_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/cloudwatch_rollup_job_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/cloudwatch_rollup_job_caps.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps_empty.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps_empty.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps_empty.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps_empty.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/field_service.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/field_service.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/field_service.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/field_service.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/index.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/new_job_caps.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/new_job_caps.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/new_job_caps.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/new_job_caps.test.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/new_job_caps.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/new_job_caps.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/new_job_caps.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/new_job_caps.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/rollup.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/rollup.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_farequote_cardinality.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_farequote_cardinality.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_farequote_cardinality.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_farequote_cardinality.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_farequote_search_response.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_farequote_search_response.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_farequote_search_response.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_farequote_search_response.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_field_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_field_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_field_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_field_caps.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_it_search_response.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_it_search_response.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_it_search_response.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_it_search_response.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_field.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_field.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_field.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_field.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_field_nested.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_field_nested.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_field_nested.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_field_nested.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_range.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_range.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_range.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_range.json diff --git a/x-pack/plugins/ml/server/models/job_validation/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/index.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/job_validation.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/job_validation.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/job_validation.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/job_validation.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/job_validation.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/job_validation.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/job_validation.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/job_validation.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_bucket_span.js b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_bucket_span.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_bucket_span.js rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_bucket_span.js diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_bucket_span.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_bucket_span.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_bucket_span.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_bucket_span.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_cardinality.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_cardinality.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_cardinality.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_cardinality.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_cardinality.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_cardinality.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_cardinality.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_cardinality.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_datafeed_preview.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_datafeed_preview.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_datafeed_preview.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_datafeed_preview.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_influencers.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_influencers.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_influencers.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_influencers.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_influencers.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_influencers.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_influencers.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_influencers.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_job_object.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_job_object.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_job_object.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_job_object.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_model_memory_limit.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_model_memory_limit.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_model_memory_limit.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_model_memory_limit.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_time_range.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_time_range.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_time_range.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_time_range.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_time_range.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_time_range.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_time_range.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_time_range.ts diff --git a/x-pack/plugins/ml/server/models/model_management/__mocks__/mock_deployment_response.json b/x-pack/platform/plugins/shared/ml/server/models/model_management/__mocks__/mock_deployment_response.json similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/__mocks__/mock_deployment_response.json rename to x-pack/platform/plugins/shared/ml/server/models/model_management/__mocks__/mock_deployment_response.json diff --git a/x-pack/plugins/ml/server/models/model_management/__mocks__/mock_download_tasks.json b/x-pack/platform/plugins/shared/ml/server/models/model_management/__mocks__/mock_download_tasks.json similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/__mocks__/mock_download_tasks.json rename to x-pack/platform/plugins/shared/ml/server/models/model_management/__mocks__/mock_download_tasks.json diff --git a/x-pack/plugins/ml/server/models/model_management/get_model_state.test.tsx b/x-pack/platform/plugins/shared/ml/server/models/model_management/get_model_state.test.tsx similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/get_model_state.test.tsx rename to x-pack/platform/plugins/shared/ml/server/models/model_management/get_model_state.test.tsx diff --git a/x-pack/plugins/ml/server/models/model_management/get_model_state.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/get_model_state.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/get_model_state.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/get_model_state.ts diff --git a/x-pack/plugins/ml/server/models/model_management/index.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/index.ts diff --git a/x-pack/plugins/ml/server/models/model_management/memory_usage.test.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/memory_usage.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/memory_usage.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/memory_usage.test.ts diff --git a/x-pack/plugins/ml/server/models/model_management/memory_usage.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/memory_usage.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/memory_usage.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/memory_usage.ts diff --git a/x-pack/plugins/ml/server/models/model_management/model_provider.test.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/model_provider.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/model_provider.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/model_provider.test.ts diff --git a/x-pack/plugins/ml/server/models/model_management/models_provider.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/models_provider.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/models_provider.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/models_provider.ts diff --git a/x-pack/plugins/ml/server/models/notifications_service/index.ts b/x-pack/platform/plugins/shared/ml/server/models/notifications_service/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/notifications_service/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/notifications_service/index.ts diff --git a/x-pack/plugins/ml/server/models/notifications_service/notifications_service_provider.ts b/x-pack/platform/plugins/shared/ml/server/models/notifications_service/notifications_service_provider.ts similarity index 100% rename from x-pack/plugins/ml/server/models/notifications_service/notifications_service_provider.ts rename to x-pack/platform/plugins/shared/ml/server/models/notifications_service/notifications_service_provider.ts diff --git a/x-pack/plugins/ml/server/models/results_service/anomaly_charts.test.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/anomaly_charts.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/anomaly_charts.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/anomaly_charts.test.ts diff --git a/x-pack/plugins/ml/server/models/results_service/anomaly_charts.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/anomaly_charts.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/anomaly_charts.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/anomaly_charts.ts diff --git a/x-pack/plugins/ml/server/models/results_service/build_anomaly_table_items.d.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/build_anomaly_table_items.d.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/build_anomaly_table_items.d.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/build_anomaly_table_items.d.ts diff --git a/x-pack/plugins/ml/server/models/results_service/build_anomaly_table_items.js b/x-pack/platform/plugins/shared/ml/server/models/results_service/build_anomaly_table_items.js similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/build_anomaly_table_items.js rename to x-pack/platform/plugins/shared/ml/server/models/results_service/build_anomaly_table_items.js diff --git a/x-pack/plugins/ml/server/models/results_service/get_partition_fields_values.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/get_partition_fields_values.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/get_partition_fields_values.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/get_partition_fields_values.ts diff --git a/x-pack/plugins/ml/server/models/results_service/index.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/index.ts diff --git a/x-pack/plugins/ml/server/models/results_service/results_service.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/results_service.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/results_service.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/results_service.ts diff --git a/x-pack/plugins/ml/server/plugin.ts b/x-pack/platform/plugins/shared/ml/server/plugin.ts similarity index 100% rename from x-pack/plugins/ml/server/plugin.ts rename to x-pack/platform/plugins/shared/ml/server/plugin.ts diff --git a/x-pack/plugins/ml/server/routes/README.md b/x-pack/platform/plugins/shared/ml/server/routes/README.md similarity index 100% rename from x-pack/plugins/ml/server/routes/README.md rename to x-pack/platform/plugins/shared/ml/server/routes/README.md diff --git a/x-pack/plugins/ml/server/routes/alerting.ts b/x-pack/platform/plugins/shared/ml/server/routes/alerting.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/alerting.ts rename to x-pack/platform/plugins/shared/ml/server/routes/alerting.ts diff --git a/x-pack/plugins/ml/server/routes/annotations.ts b/x-pack/platform/plugins/shared/ml/server/routes/annotations.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/annotations.ts rename to x-pack/platform/plugins/shared/ml/server/routes/annotations.ts diff --git a/x-pack/plugins/ml/server/routes/anomaly_detectors.ts b/x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/anomaly_detectors.ts rename to x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts diff --git a/x-pack/plugins/ml/server/routes/calendars.ts b/x-pack/platform/plugins/shared/ml/server/routes/calendars.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/calendars.ts rename to x-pack/platform/plugins/shared/ml/server/routes/calendars.ts diff --git a/x-pack/plugins/ml/server/routes/data_frame_analytics.ts b/x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/data_frame_analytics.ts rename to x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts diff --git a/x-pack/plugins/ml/server/routes/data_visualizer.ts b/x-pack/platform/plugins/shared/ml/server/routes/data_visualizer.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/data_visualizer.ts rename to x-pack/platform/plugins/shared/ml/server/routes/data_visualizer.ts diff --git a/x-pack/plugins/ml/server/routes/datafeeds.ts b/x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/datafeeds.ts rename to x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts diff --git a/x-pack/plugins/ml/server/routes/fields_service.ts b/x-pack/platform/plugins/shared/ml/server/routes/fields_service.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/fields_service.ts rename to x-pack/platform/plugins/shared/ml/server/routes/fields_service.ts diff --git a/x-pack/plugins/ml/server/routes/filters.ts b/x-pack/platform/plugins/shared/ml/server/routes/filters.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/filters.ts rename to x-pack/platform/plugins/shared/ml/server/routes/filters.ts diff --git a/x-pack/plugins/ml/server/routes/inference_models.ts b/x-pack/platform/plugins/shared/ml/server/routes/inference_models.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/inference_models.ts rename to x-pack/platform/plugins/shared/ml/server/routes/inference_models.ts diff --git a/x-pack/plugins/ml/server/routes/job_audit_messages.ts b/x-pack/platform/plugins/shared/ml/server/routes/job_audit_messages.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/job_audit_messages.ts rename to x-pack/platform/plugins/shared/ml/server/routes/job_audit_messages.ts diff --git a/x-pack/plugins/ml/server/routes/job_service.ts b/x-pack/platform/plugins/shared/ml/server/routes/job_service.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/job_service.ts rename to x-pack/platform/plugins/shared/ml/server/routes/job_service.ts diff --git a/x-pack/plugins/ml/server/routes/job_validation.ts b/x-pack/platform/plugins/shared/ml/server/routes/job_validation.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/job_validation.ts rename to x-pack/platform/plugins/shared/ml/server/routes/job_validation.ts diff --git a/x-pack/plugins/ml/server/routes/management.ts b/x-pack/platform/plugins/shared/ml/server/routes/management.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/management.ts rename to x-pack/platform/plugins/shared/ml/server/routes/management.ts diff --git a/x-pack/plugins/ml/server/routes/model_management.ts b/x-pack/platform/plugins/shared/ml/server/routes/model_management.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/model_management.ts rename to x-pack/platform/plugins/shared/ml/server/routes/model_management.ts diff --git a/x-pack/plugins/ml/server/routes/modules.ts b/x-pack/platform/plugins/shared/ml/server/routes/modules.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/modules.ts rename to x-pack/platform/plugins/shared/ml/server/routes/modules.ts diff --git a/x-pack/plugins/ml/server/routes/notifications.ts b/x-pack/platform/plugins/shared/ml/server/routes/notifications.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/notifications.ts rename to x-pack/platform/plugins/shared/ml/server/routes/notifications.ts diff --git a/x-pack/plugins/ml/server/routes/results_service.ts b/x-pack/platform/plugins/shared/ml/server/routes/results_service.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/results_service.ts rename to x-pack/platform/plugins/shared/ml/server/routes/results_service.ts diff --git a/x-pack/plugins/ml/server/routes/saved_objects.ts b/x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/saved_objects.ts rename to x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/alerting_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/alerting_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/alerting_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/alerting_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/annotations_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/annotations_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/annotations_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/annotations_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/anomaly_detectors_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/anomaly_detectors_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/calendars_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/calendars_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/calendars_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/calendars_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/data_frame_analytics_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/data_frame_analytics_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/data_frame_analytics_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/data_frame_analytics_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/data_visualizer_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/data_visualizer_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/data_visualizer_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/data_visualizer_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/datafeeds_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/datafeeds_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/datafeeds_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/datafeeds_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/fields_service_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/fields_service_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/fields_service_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/fields_service_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/filters_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/filters_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/filters_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/filters_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/indices_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/indices_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/indices_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/indices_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/inference_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/inference_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/inference_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/inference_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/job_audit_messages_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/job_audit_messages_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/job_audit_messages_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/job_audit_messages_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/job_service_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/job_service_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/job_service_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/job_service_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/job_validation_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/job_validation_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/job_validation_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/job_validation_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/management_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/management_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/management_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/management_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/modules.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/modules.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/modules.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/modules.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/notifications_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/notifications_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/notifications_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/notifications_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/results_service_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/results_service_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/results_service_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/results_service_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/runtime_mappings_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/runtime_mappings_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/runtime_mappings_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/runtime_mappings_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/saved_objects.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/saved_objects.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/saved_objects.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/saved_objects.ts diff --git a/x-pack/plugins/ml/server/routes/system.ts b/x-pack/platform/plugins/shared/ml/server/routes/system.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/system.ts rename to x-pack/platform/plugins/shared/ml/server/routes/system.ts diff --git a/x-pack/plugins/ml/server/routes/trained_models.ts b/x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/trained_models.ts rename to x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts diff --git a/x-pack/plugins/ml/server/saved_objects/authorization.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/authorization.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/authorization.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/authorization.ts diff --git a/x-pack/plugins/ml/server/saved_objects/checks.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/checks.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/checks.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/checks.ts diff --git a/x-pack/plugins/ml/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/index.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/index.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/index.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/index.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/index.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/initialization.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/initialization.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/initialization.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/initialization.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/index.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/index.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/index.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/index.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/logs.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/logs.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/logs.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/logs.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/metrics.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/metrics.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/metrics.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/metrics.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/space_overrides.test.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/space_overrides.test.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/space_overrides.test.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/space_overrides.test.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/space_overrides.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/space_overrides.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/space_overrides.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/space_overrides.ts diff --git a/x-pack/plugins/ml/server/saved_objects/mappings.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/mappings.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/mappings.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/mappings.ts diff --git a/x-pack/plugins/ml/server/saved_objects/migrations.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/migrations.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/migrations.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/migrations.ts diff --git a/x-pack/plugins/ml/server/saved_objects/saved_objects.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/saved_objects.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts diff --git a/x-pack/plugins/ml/server/saved_objects/service.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/service.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/service.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/service.ts diff --git a/x-pack/plugins/ml/server/saved_objects/sync.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/sync.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/sync.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/sync.ts diff --git a/x-pack/plugins/ml/server/saved_objects/sync_task.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/sync_task.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/sync_task.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/sync_task.ts diff --git a/x-pack/plugins/ml/server/saved_objects/util.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/util.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/util.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/util.ts diff --git a/x-pack/plugins/ml/server/shared.ts b/x-pack/platform/plugins/shared/ml/server/shared.ts similarity index 100% rename from x-pack/plugins/ml/server/shared.ts rename to x-pack/platform/plugins/shared/ml/server/shared.ts diff --git a/x-pack/plugins/ml/server/shared_services/errors.test.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/errors.test.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/errors.test.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/errors.test.ts diff --git a/x-pack/plugins/ml/server/shared_services/errors.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/errors.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/errors.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/errors.ts diff --git a/x-pack/plugins/ml/server/shared_services/index.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/index.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/index.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/index.ts diff --git a/x-pack/plugins/ml/server/shared_services/license_checks/errors.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/errors.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/license_checks/errors.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/errors.ts diff --git a/x-pack/plugins/ml/server/shared_services/license_checks/index.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/index.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/license_checks/index.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/index.ts diff --git a/x-pack/plugins/ml/server/shared_services/license_checks/license_checks.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/license_checks.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/license_checks/license_checks.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/license_checks.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/alerting_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/alerting_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/alerting_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/alerting_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/anomaly_detectors.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/anomaly_detectors.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/anomaly_detectors.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/anomaly_detectors.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/jobs_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/jobs_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/jobs_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/jobs_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/modules.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/modules.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/modules.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/modules.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/results_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/results_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/results_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/results_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/system.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/system.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/system.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/system.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/trained_models.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/trained_models.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/trained_models.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/alerting_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/alerting_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/alerting_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/alerting_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/anomaly_detectors.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/anomaly_detectors.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/anomaly_detectors.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/anomaly_detectors.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/index.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/index.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/index.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/index.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/job_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/job_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/job_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/job_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/modules.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/modules.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/modules.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/modules.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/results_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/results_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/results_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/results_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/system.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/system.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/system.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/system.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/trained_models.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/trained_models.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/trained_models.ts diff --git a/x-pack/plugins/ml/server/shared_services/shared_services.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/shared_services.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/shared_services.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/shared_services.ts diff --git a/x-pack/plugins/ml/server/types.ts b/x-pack/platform/plugins/shared/ml/server/types.ts similarity index 100% rename from x-pack/plugins/ml/server/types.ts rename to x-pack/platform/plugins/shared/ml/server/types.ts diff --git a/x-pack/plugins/ml/server/usage/collector.ts b/x-pack/platform/plugins/shared/ml/server/usage/collector.ts similarity index 100% rename from x-pack/plugins/ml/server/usage/collector.ts rename to x-pack/platform/plugins/shared/ml/server/usage/collector.ts diff --git a/x-pack/plugins/transform/server/usage/index.ts b/x-pack/platform/plugins/shared/ml/server/usage/index.ts similarity index 100% rename from x-pack/plugins/transform/server/usage/index.ts rename to x-pack/platform/plugins/shared/ml/server/usage/index.ts diff --git a/x-pack/plugins/ml/tsconfig.json b/x-pack/platform/plugins/shared/ml/tsconfig.json similarity index 96% rename from x-pack/plugins/ml/tsconfig.json rename to x-pack/platform/plugins/shared/ml/tsconfig.json index e11358f258a3a..b65618569ec71 100644 --- a/x-pack/plugins/ml/tsconfig.json +++ b/x-pack/platform/plugins/shared/ml/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -9,7 +9,7 @@ "server/**/*", "scripts/**/*", "__mocks__/**/*", - "../../../typings/**/*", + "../../../../../typings/**/*", // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 "common/**/*.json", "public/**/*.json", @@ -21,7 +21,7 @@ "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 "@kbn/actions-plugin", diff --git a/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx b/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx index e3a11d2c94c87..6acaec47b63bb 100644 --- a/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx +++ b/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx @@ -11,7 +11,8 @@ import type { AppMockRenderer } from '../../common/mock'; import { createAppMockRenderer } from '../../common/mock'; import { CancelCreationConfirmationModal } from './cancel_creation_confirmation_modal'; -describe('CancelCreationConfirmationModal', () => { +// FLAKY: https://github.com/elastic/kibana/issues/197304 +describe.skip('CancelCreationConfirmationModal', () => { let appMock: AppMockRenderer; const props = { title: 'My title', diff --git a/x-pack/plugins/enterprise_search/common/constants.ts b/x-pack/plugins/enterprise_search/common/constants.ts index 2603ea3d89018..13afad3f1a342 100644 --- a/x-pack/plugins/enterprise_search/common/constants.ts +++ b/x-pack/plugins/enterprise_search/common/constants.ts @@ -10,7 +10,6 @@ import dedent from 'dedent'; import { ENTERPRISE_SEARCH_APP_ID, ENTERPRISE_SEARCH_CONTENT_APP_ID, - ENTERPRISE_SEARCH_RELEVANCE_APP_ID, ENTERPRISE_SEARCH_APPLICATIONS_APP_ID, ENTERPRISE_SEARCH_ANALYTICS_APP_ID, ENTERPRISE_SEARCH_APPSEARCH_APP_ID, @@ -200,22 +199,6 @@ export const SEMANTIC_SEARCH_PLUGIN = { URL: '/app/enterprise_search/semantic_search', }; -export const SEARCH_RELEVANCE_PLUGIN = { - ID: ENTERPRISE_SEARCH_RELEVANCE_APP_ID, - NAME: i18n.translate('xpack.enterpriseSearch.inferenceEndpoints.productName', { - defaultMessage: 'Inference Endpoints', - }), - NAV_TITLE: i18n.translate('xpack.enterpriseSearch.inferenceEndpoints.navTitle', { - defaultMessage: 'Relevance', - }), - DESCRIPTION: i18n.translate('xpack.enterpriseSearch.inferenceEndpoints.description', { - defaultMessage: 'Manage your inference endpoints for semantic search and AI use cases.', - }), - URL: '/app/elasticsearch/relevance', - LOGO: 'logoEnterpriseSearch', - SUPPORT_URL: 'https://discuss.elastic.co/c/enterprise-search/', -}; - export const CREATE_CONNECTOR_PLUGIN = { CLI_SNIPPET: dedent`./bin/connectors connector create --index-name my-index diff --git a/x-pack/plugins/enterprise_search/common/locators/index.ts b/x-pack/plugins/enterprise_search/common/locators/index.ts index 3c3597fe4f161..e89c31a2f589b 100644 --- a/x-pack/plugins/enterprise_search/common/locators/index.ts +++ b/x-pack/plugins/enterprise_search/common/locators/index.ts @@ -6,15 +6,12 @@ */ import type { SharePluginSetup } from '@kbn/share-plugin/public'; -import { SerializableRecord } from '@kbn/utility-types'; import { CreateIndexLocatorDefinition, type CreateIndexLocatorParams, } from './create_index_locator'; -import { SearchInferenceEndpointLocatorDefinition } from './inference_locator'; export function registerLocators(share: SharePluginSetup) { share.url.locators.create(new CreateIndexLocatorDefinition()); - share.url.locators.create(new SearchInferenceEndpointLocatorDefinition()); } diff --git a/x-pack/plugins/enterprise_search/common/locators/inference_locator.tsx b/x-pack/plugins/enterprise_search/common/locators/inference_locator.tsx deleted file mode 100644 index f20d628bf1899..0000000000000 --- a/x-pack/plugins/enterprise_search/common/locators/inference_locator.tsx +++ /dev/null @@ -1,30 +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. - */ - -import type { LocatorDefinition } from '@kbn/share-plugin/common'; -import type { SharePluginSetup } from '@kbn/share-plugin/public'; -import type { SerializableRecord } from '@kbn/utility-types'; - -import { SEARCH_RELEVANCE_PLUGIN } from '../constants'; - -export function registerLocators(share: SharePluginSetup) { - share.url.locators.create(new SearchInferenceEndpointLocatorDefinition()); -} - -export class SearchInferenceEndpointLocatorDefinition - implements LocatorDefinition -{ - public readonly getLocation = async () => { - return { - app: SEARCH_RELEVANCE_PLUGIN.ID, - path: '/inference_endpoints', - state: {}, - }; - }; - - public readonly id = 'SEARCH_INFERENCE_ENDPOINTS'; -} diff --git a/x-pack/plugins/enterprise_search/kibana.jsonc b/x-pack/plugins/enterprise_search/kibana.jsonc index 65343904ba7fc..42e4db528a759 100644 --- a/x-pack/plugins/enterprise_search/kibana.jsonc +++ b/x-pack/plugins/enterprise_search/kibana.jsonc @@ -34,7 +34,6 @@ "guidedOnboarding", "console", "searchConnectors", - "searchInferenceEndpoints", "searchNavigation", "searchPlayground", "embeddable", diff --git a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/kibana_logic.mock.ts b/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/kibana_logic.mock.ts index 7af3dbc94343d..4dde6a5be527e 100644 --- a/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/kibana_logic.mock.ts +++ b/x-pack/plugins/enterprise_search/public/applications/__mocks__/kea_logic/kibana_logic.mock.ts @@ -65,7 +65,6 @@ export const mockKibanaValues = { hasWebCrawler: true, }, renderHeaderActions: jest.fn(), - searchInferenceEndpoints: null, security: securityMock.createStart(), setBreadcrumbs: jest.fn(), setChromeIsVisible: jest.fn(), diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/start_step.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/start_step.tsx index fb740189148d7..978a87fec1220 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/start_step.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connectors/create_connector/start_step.tsx @@ -67,6 +67,7 @@ export const StartStep: React.FC = ({ generatedConfigData, isGenerateLoading, isCreateLoading, + isFormDirty, } = useValues(NewConnectorLogic); const { setRawName, createConnector, generateConnectorName, setFormDirty } = useActions(NewConnectorLogic); @@ -211,7 +212,9 @@ export const StartStep: React.FC = ({ { defaultMessage: 'Elastic managed' } )} checked={selfManagePreference === 'native'} - disabled={selectedConnector?.isNative === false || isRunningLocally} + disabled={ + selectedConnector?.isNative === false || isRunningLocally || isFormDirty + } onChange={() => onSelfManagePreferenceChange('native')} name="setUp" /> @@ -232,6 +235,7 @@ export const StartStep: React.FC = ({ { defaultMessage: 'Self-managed' } )} checked={selfManagePreference === 'selfManaged'} + disabled={isFormDirty} onChange={() => onSelfManagePreferenceChange('selfManaged')} name="setUp" /> diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.tsx index 211738b43f25d..076b47c82693a 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/new_search_index_template.tsx @@ -154,7 +154,11 @@ export const NewSearchIndexTemplate: React.FC = ({ optionally set a default {language_analyzer} for the index." values={{ language_analyzer: ( - + {i18n.translate( 'xpack.enterpriseSearch.content.newIndex.newSearchIndexTemplate.formDescription.linkText', { @@ -247,6 +251,7 @@ export const NewSearchIndexTemplate: React.FC = ({ )} > = ({ - + {i18n.translate( 'xpack.enterpriseSearch.content.newIndex.newSearchIndexTemplate.learnMoreIndices.linkText', { @@ -273,7 +282,11 @@ export const NewSearchIndexTemplate: React.FC = ({ {type === INGESTION_METHOD_IDS.CONNECTOR && ( - + {i18n.translate( 'xpack.enterpriseSearch.content.newIndex.newSearchIndexTemplate.learnMoreConnectors.linkText', { @@ -285,7 +298,11 @@ export const NewSearchIndexTemplate: React.FC = ({ )} {type === INGESTION_METHOD_IDS.CRAWLER && ( - + {i18n.translate( 'xpack.enterpriseSearch.content.newIndex.newSearchIndexTemplate.learnMoreCrawler.linkText', { @@ -297,7 +314,11 @@ export const NewSearchIndexTemplate: React.FC = ({ )} {type === INGESTION_METHOD_IDS.API && ( - + {i18n.translate( 'xpack.enterpriseSearch.content.newIndex.newSearchIndexTemplate.learnMoreApis.linkText', { @@ -312,6 +333,7 @@ export const NewSearchIndexTemplate: React.FC = ({ history.back()} diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/inference_endpoints.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/inference_endpoints.tsx deleted file mode 100644 index bc3ca80c1c751..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/inference_endpoints.tsx +++ /dev/null @@ -1,41 +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. - */ - -import React from 'react'; - -import { useValues } from 'kea'; - -import { i18n } from '@kbn/i18n'; - -import { KibanaLogic } from '../../shared/kibana'; - -import { EnterpriseSearchRelevancePageTemplate } from './layout/page_template'; - -export const InferenceEndpoints: React.FC = () => { - const { searchInferenceEndpoints } = useValues(KibanaLogic); - - if (!searchInferenceEndpoints) { - return null; - } - return ( - - - - - - ); -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/layout/page_template.test.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/layout/page_template.test.tsx deleted file mode 100644 index 246c9835a015a..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/layout/page_template.test.tsx +++ /dev/null @@ -1,79 +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. - */ - -jest.mock('../../../shared/layout/nav', () => ({ - useEnterpriseSearchNav: () => [], -})); - -import React from 'react'; - -import { shallow } from 'enzyme'; - -import { i18n } from '@kbn/i18n'; - -import { SetEnterpriseSearchRelevanceChrome } from '../../../shared/kibana_chrome'; -import { EnterpriseSearchPageTemplateWrapper } from '../../../shared/layout'; -import { SendEnterpriseSearchTelemetry } from '../../../shared/telemetry'; - -import { EnterpriseSearchRelevancePageTemplate } from './page_template'; - -describe('EnterpriseSearchRelevancePageTemplate', () => { - it('renders', () => { - const wrapper = shallow( - -
- {i18n.translate('xpack.enterpriseSearch..div.worldLabel', { defaultMessage: 'world' })} -
-
- ); - - expect(wrapper.type()).toEqual(EnterpriseSearchPageTemplateWrapper); - expect(wrapper.prop('solutionNav')).toEqual({ items: [], name: 'Elasticsearch' }); - expect(wrapper.find('.hello').text()).toEqual('world'); - }); - - describe('page chrome', () => { - it('takes a breadcrumb array & renders a product-specific page chrome', () => { - const wrapper = shallow(); - const setPageChrome = wrapper - .find(EnterpriseSearchPageTemplateWrapper) - .prop('setPageChrome') as any; - - expect(setPageChrome.type).toEqual(SetEnterpriseSearchRelevanceChrome); - expect(setPageChrome.props.trail).toEqual(['Some page']); - }); - }); - - describe('page telemetry', () => { - it('takes a metric & renders product-specific telemetry viewed event', () => { - const wrapper = shallow( - - ); - - expect(wrapper.find(SendEnterpriseSearchTelemetry).prop('action')).toEqual('viewed'); - expect(wrapper.find(SendEnterpriseSearchTelemetry).prop('metric')).toEqual('some_page'); - }); - }); - - describe('props', () => { - it('passes down any ...pageTemplateProps that EnterpriseSearchPageTemplateWrapper accepts', () => { - const wrapper = shallow( - } - /> - ); - - expect( - wrapper.find(EnterpriseSearchPageTemplateWrapper).prop('pageHeader')!.pageTitle - ).toEqual('hello world'); - expect(wrapper.find(EnterpriseSearchPageTemplateWrapper).prop('isLoading')).toEqual(false); - expect(wrapper.find(EnterpriseSearchPageTemplateWrapper).prop('emptyState')).toEqual(
); - }); - }); -}); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/layout/page_template.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/layout/page_template.tsx deleted file mode 100644 index 258b9c9a68ae1..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/layout/page_template.tsx +++ /dev/null @@ -1,37 +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. - */ - -import React from 'react'; - -import { SEARCH_PRODUCT_NAME } from '../../../../../common/constants'; -import { SetEnterpriseSearchRelevanceChrome } from '../../../shared/kibana_chrome'; -import { EnterpriseSearchPageTemplateWrapper, PageTemplateProps } from '../../../shared/layout'; -import { useEnterpriseSearchNav } from '../../../shared/layout'; -import { SendEnterpriseSearchTelemetry } from '../../../shared/telemetry'; - -export const EnterpriseSearchRelevancePageTemplate: React.FC = ({ - children, - pageChrome, - pageViewTelemetry, - ...pageTemplateProps -}) => { - return ( - } - > - {pageViewTelemetry && ( - - )} - {children} - - ); -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/not_found.test.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/not_found.test.tsx deleted file mode 100644 index 7b5436958edb7..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/not_found.test.tsx +++ /dev/null @@ -1,38 +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. - */ - -import React from 'react'; - -import { shallow } from 'enzyme'; - -import { NotFoundPrompt } from '../../../shared/not_found'; -import { SendEnterpriseSearchTelemetry } from '../../../shared/telemetry'; -import { EnterpriseSearchRelevancePageTemplate } from '../layout'; - -import { NotFound } from '.'; - -describe('NotFound', () => { - const wrapper = shallow(); - - it('renders the shared not found prompt', () => { - expect(wrapper.find(NotFoundPrompt)).toHaveLength(1); - }); - - it('renders a telemetry error event', () => { - expect(wrapper.find(SendEnterpriseSearchTelemetry).prop('action')).toEqual('error'); - }); - - it('passes optional preceding page chrome', () => { - wrapper.setProps({ pageChrome: ['Inference Endpoints', 'some-index'] }); - - expect(wrapper.find(EnterpriseSearchRelevancePageTemplate).prop('pageChrome')).toEqual([ - 'Inference Endpoints', - 'some-index', - '404', - ]); - }); -}); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/not_found.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/not_found.tsx deleted file mode 100644 index 22f5e8d913bd8..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/not_found.tsx +++ /dev/null @@ -1,23 +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. - */ - -import React from 'react'; - -import { SEARCH_RELEVANCE_PLUGIN } from '../../../../../common/constants'; -import { PageTemplateProps } from '../../../shared/layout'; -import { NotFoundPrompt } from '../../../shared/not_found'; -import { SendEnterpriseSearchTelemetry } from '../../../shared/telemetry'; -import { EnterpriseSearchRelevancePageTemplate } from '../layout'; - -export const NotFound: React.FC = ({ pageChrome = [] }) => { - return ( - - - - - ); -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/index.test.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/index.test.tsx deleted file mode 100644 index 6294a60128e2d..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/index.test.tsx +++ /dev/null @@ -1,23 +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. - */ - -import '../__mocks__/shallow_useeffect.mock'; -import '../__mocks__/enterprise_search_url.mock'; - -import React from 'react'; - -import { shallow } from 'enzyme'; - -import { EnterpriseSearchRelevance, EnterpriseSearchRelevanceConfigured } from '.'; - -describe('EnterpriseSearchRelevance', () => { - it('renders EnterpriseSearchRelevanceConfigured', () => { - const wrapper = shallow(); - - expect(wrapper.find(EnterpriseSearchRelevanceConfigured)).toHaveLength(1); - }); -}); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/index.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/index.tsx deleted file mode 100644 index 7594e514af54f..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/index.tsx +++ /dev/null @@ -1,41 +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. - */ - -import React from 'react'; -import { Redirect } from 'react-router-dom'; - -import { Route, Routes } from '@kbn/shared-ux-router'; - -import { InitialAppData } from '../../../common/types'; - -import { InferenceEndpoints } from './components/inference_endpoints'; -import { NotFound } from './components/not_found'; -import { INFERENCE_ENDPOINTS_PATH, ROOT_PATH } from './routes'; - -export const EnterpriseSearchRelevance: React.FC = (props) => { - return ( - - - )} /> - - - ); -}; - -export const EnterpriseSearchRelevanceConfigured: React.FC> = () => { - return ( - - - - - - - - - - ); -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/jest.config.js b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/jest.config.js deleted file mode 100644 index d186396d14a07..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/jest.config.js +++ /dev/null @@ -1,28 +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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../../..', - roots: [ - '/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance', - ], - collectCoverage: true, - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/enterprise_search/public/applications/**/*.{ts,tsx}', - '!/x-pack/plugins/enterprise_search/public/*.ts', - '!/x-pack/plugins/enterprise_search/server/*.ts', - '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', - ], - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance', - modulePathIgnorePatterns: [ - '/x-pack/plugins/enterprise_search/public/applications/app_search/cypress', - '/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress', - ], -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/routes.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/routes.ts deleted file mode 100644 index 5ea7ad1c781a8..0000000000000 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/routes.ts +++ /dev/null @@ -1,10 +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 const ROOT_PATH = '/'; -export const ERROR_STATE_PATH = '/error_state'; -export const INFERENCE_ENDPOINTS_PATH = `${ROOT_PATH}inference_endpoints`; diff --git a/x-pack/plugins/enterprise_search/public/applications/index.tsx b/x-pack/plugins/enterprise_search/public/applications/index.tsx index 8cefb4cb733e5..d934932dd163f 100644 --- a/x-pack/plugins/enterprise_search/public/applications/index.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/index.tsx @@ -129,7 +129,6 @@ export const renderApp = ( params.setHeaderActionMenu( HeaderActions ? renderHeaderActions.bind(null, HeaderActions, store, params) : undefined ), - searchInferenceEndpoints: plugins.searchInferenceEndpoints, security, setBreadcrumbs: chrome.setBreadcrumbs, setChromeIsVisible: chrome.setIsVisible, diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.ts b/x-pack/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.ts index 02a00a3198ee2..2185f0df344cc 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/kibana/kibana_logic.ts @@ -29,7 +29,6 @@ import { LensPublicStart } from '@kbn/lens-plugin/public'; import { MlPluginStart } from '@kbn/ml-plugin/public'; import { ELASTICSEARCH_URL_PLACEHOLDER } from '@kbn/search-api-panels/constants'; import { ConnectorDefinition } from '@kbn/search-connectors'; -import { SearchInferenceEndpointsPluginStart } from '@kbn/search-inference-endpoints/public'; import { AuthenticatedUser, SecurityPluginStart } from '@kbn/security-plugin/public'; import { SharePluginStart } from '@kbn/share-plugin/public'; @@ -66,7 +65,6 @@ export interface KibanaLogicProps { productAccess: ProductAccess; productFeatures: ProductFeatures; renderHeaderActions(HeaderActions?: FC): void; - searchInferenceEndpoints?: SearchInferenceEndpointsPluginStart; security?: SecurityPluginStart; setBreadcrumbs(crumbs: ChromeBreadcrumb[]): void; setChromeIsVisible(isVisible: boolean): void; @@ -100,7 +98,6 @@ export interface KibanaValues { productAccess: ProductAccess; productFeatures: ProductFeatures; renderHeaderActions(HeaderActions?: FC): void; - searchInferenceEndpoints: SearchInferenceEndpointsPluginStart | null; security: SecurityPluginStart | null; setBreadcrumbs(crumbs: ChromeBreadcrumb[]): void; setChromeIsVisible(isVisible: boolean): void; @@ -146,7 +143,6 @@ export const KibanaLogic = kea>({ productAccess: [props.productAccess, {}], productFeatures: [props.productFeatures, {}], renderHeaderActions: [props.renderHeaderActions, {}], - searchInferenceEndpoints: [props.searchInferenceEndpoints || null, {}], security: [props.security || null, {}], setBreadcrumbs: [props.setBreadcrumbs, {}], setChromeIsVisible: [props.setChromeIsVisible, {}], diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.ts b/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.ts index 189ca53e362e1..024a84858f108 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/generate_breadcrumbs.ts @@ -14,7 +14,6 @@ import { ANALYTICS_PLUGIN, APP_SEARCH_PLUGIN, ENTERPRISE_SEARCH_CONTENT_PLUGIN, - SEARCH_RELEVANCE_PLUGIN, ENTERPRISE_SEARCH_PRODUCT_NAME, AI_SEARCH_PLUGIN, SEARCH_EXPERIENCES_PLUGIN, @@ -160,9 +159,6 @@ export const useEnterpriseSearchContentBreadcrumbs = (breadcrumbs: Breadcrumbs = ...breadcrumbs, ]); -export const useEnterpriseSearchRelevanceBreadcrumbs = (breadcrumbs: Breadcrumbs = []) => - useSearchBreadcrumbs([{ text: SEARCH_RELEVANCE_PLUGIN.NAV_TITLE, path: '/' }, ...breadcrumbs]); - export const useSearchExperiencesBreadcrumbs = (breadcrumbs: Breadcrumbs = []) => useSearchBreadcrumbs([{ text: SEARCH_EXPERIENCES_PLUGIN.NAV_TITLE, path: '/' }, ...breadcrumbs]); diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/index.ts b/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/index.ts index f9a6564ab5f28..2da72eb28b6e9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/index.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/index.ts @@ -9,7 +9,6 @@ export { SetSearchChrome, SetAnalyticsChrome, SetEnterpriseSearchContentChrome, - SetEnterpriseSearchRelevanceChrome, SetElasticsearchChrome, SetAiSearchChrome, SetAppSearchChrome, diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.tsx index 0c05cb0c02ca0..c556213ec8b42 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/kibana_chrome/set_chrome.tsx @@ -18,7 +18,6 @@ import { useEnterpriseSearchApplicationsBreadcrumbs, useAnalyticsBreadcrumbs, useEnterpriseSearchContentBreadcrumbs, - useEnterpriseSearchRelevanceBreadcrumbs, useAiSearchBreadcrumbs, useElasticsearchBreadcrumbs, useAppSearchBreadcrumbs, @@ -181,19 +180,6 @@ export const SetEnterpriseSearchContentChrome: React.FC = ({ tra return null; }; -export const SetEnterpriseSearchRelevanceChrome: React.FC = ({ trail = [] }) => { - const { setBreadcrumbs } = useValues(KibanaLogic); - - const crumbs = useGenerateBreadcrumbs(trail); - const breadcrumbs = useEnterpriseSearchRelevanceBreadcrumbs(crumbs); - - useEffect(() => { - setBreadcrumbs(breadcrumbs); - }, [trail]); - - return null; -}; - export const SetSearchExperiencesChrome: React.FC = ({ trail = [] }) => { const { setBreadcrumbs, setDocTitle } = useValues(KibanaLogic); diff --git a/x-pack/plugins/enterprise_search/public/plugin.ts b/x-pack/plugins/enterprise_search/public/plugin.ts index aa0a2e37c599c..b483796540ad1 100644 --- a/x-pack/plugins/enterprise_search/public/plugin.ts +++ b/x-pack/plugins/enterprise_search/public/plugin.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { BehaviorSubject, firstValueFrom } from 'rxjs'; +import { BehaviorSubject, firstValueFrom, type Subscription } from 'rxjs'; import { ChartsPluginStart } from '@kbn/charts-plugin/public'; import { CloudSetup, CloudStart } from '@kbn/cloud-plugin/public'; @@ -34,7 +34,6 @@ import { MlPluginStart } from '@kbn/ml-plugin/public'; import type { NavigationPublicPluginStart } from '@kbn/navigation-plugin/public'; import { ELASTICSEARCH_URL_PLACEHOLDER } from '@kbn/search-api-panels/constants'; import { SearchConnectorsPluginStart } from '@kbn/search-connectors-plugin/public'; -import { SearchInferenceEndpointsPluginStart } from '@kbn/search-inference-endpoints/public'; import type { SearchNavigationPluginStart } from '@kbn/search-navigation/public'; import { SearchPlaygroundPluginStart } from '@kbn/search-playground/public'; import { SecurityPluginSetup, SecurityPluginStart } from '@kbn/security-plugin/public'; @@ -53,7 +52,6 @@ import { VECTOR_SEARCH_PLUGIN, WORKPLACE_SEARCH_PLUGIN, SEMANTIC_SEARCH_PLUGIN, - SEARCH_RELEVANCE_PLUGIN, } from '../common/constants'; import { registerLocators } from '../common/locators'; import { ClientConfigType, InitialAppData, ProductAccess } from '../common/types'; @@ -67,7 +65,6 @@ import { CRAWLERS_PATH, } from './applications/enterprise_search_content/routes'; -import { INFERENCE_ENDPOINTS_PATH } from './applications/enterprise_search_relevance/routes'; import { docLinks } from './applications/shared/doc_links'; import type { DynamicSideNavItems } from './navigation_tree'; @@ -99,7 +96,6 @@ export interface PluginsStart { ml?: MlPluginStart; navigation: NavigationPublicPluginStart; searchConnectors?: SearchConnectorsPluginStart; - searchInferenceEndpoints?: SearchInferenceEndpointsPluginStart; searchNavigation?: SearchNavigationPluginStart; searchPlayground?: SearchPlaygroundPluginStart; security?: SecurityPluginStart; @@ -136,20 +132,6 @@ const contentLinks: AppDeepLink[] = [ }, ]; -const relevanceLinks: AppDeepLink[] = [ - { - id: 'inferenceEndpoints', - path: `/${INFERENCE_ENDPOINTS_PATH}`, - title: i18n.translate( - 'xpack.enterpriseSearch.navigation.relevanceInferenceEndpointsLinkLabel', - { - defaultMessage: 'Inference Endpoints', - } - ), - visibleIn: ['globalSearch'], - }, -]; - const applicationsLinks: AppDeepLink[] = [ { id: 'searchApplications', @@ -177,6 +159,7 @@ const appSearchLinks: AppDeepLink[] = [ export class EnterpriseSearchPlugin implements Plugin { private config: ClientConfigType; private enterpriseLicenseAppUpdater$ = new BehaviorSubject(() => ({})); + private licenseSubscription: Subscription | undefined; constructor(initializerContext: PluginInitializerContext) { this.config = initializerContext.config.get(); @@ -432,33 +415,6 @@ export class EnterpriseSearchPlugin implements Plugin { title: ANALYTICS_PLUGIN.NAME, }); - core.application.register({ - appRoute: SEARCH_RELEVANCE_PLUGIN.URL, - category: DEFAULT_APP_CATEGORIES.enterpriseSearch, - deepLinks: relevanceLinks, - euiIconType: SEARCH_RELEVANCE_PLUGIN.LOGO, - id: SEARCH_RELEVANCE_PLUGIN.ID, - status: AppStatus.inaccessible, - updater$: this.enterpriseLicenseAppUpdater$, - mount: async (params: AppMountParameters) => { - const kibanaDeps = await this.getKibanaDeps(core, params, cloud); - const { chrome, http } = kibanaDeps.core; - chrome.docTitle.change(SEARCH_RELEVANCE_PLUGIN.NAME); - - await this.getInitialData(http); - const pluginData = this.getPluginData(); - - const { renderApp } = await import('./applications'); - const { EnterpriseSearchRelevance } = await import( - './applications/enterprise_search_relevance' - ); - - return renderApp(EnterpriseSearchRelevance, kibanaDeps, pluginData); - }, - title: SEARCH_RELEVANCE_PLUGIN.NAV_TITLE, - visibleIn: [], - }); - core.application.register({ appRoute: SEARCH_EXPERIENCES_PLUGIN.URL, category: DEFAULT_APP_CATEGORIES.enterpriseSearch, @@ -636,7 +592,7 @@ export class EnterpriseSearchPlugin implements Plugin { }); } - plugins.licensing?.license$.subscribe((license) => { + this.licenseSubscription = plugins.licensing?.license$.subscribe((license) => { if (hasEnterpriseLicense(license)) { this.enterpriseLicenseAppUpdater$.next(() => ({ status: AppStatus.accessible, @@ -653,7 +609,12 @@ export class EnterpriseSearchPlugin implements Plugin { return {}; } - public stop() {} + public stop() { + if (this.licenseSubscription) { + this.licenseSubscription.unsubscribe(); + this.licenseSubscription = undefined; + } + } private updateSideNavDefinition = (items: Partial) => { this.sideNavDynamicItems$.next({ ...this.sideNavDynamicItems$.getValue(), ...items }); diff --git a/x-pack/plugins/enterprise_search/server/plugin.ts b/x-pack/plugins/enterprise_search/server/plugin.ts index 4900fe2af29a2..6079e53e618e6 100644 --- a/x-pack/plugins/enterprise_search/server/plugin.ts +++ b/x-pack/plugins/enterprise_search/server/plugin.ts @@ -47,7 +47,6 @@ import { AI_SEARCH_PLUGIN, APPLICATIONS_PLUGIN, SEARCH_PRODUCT_NAME, - SEARCH_RELEVANCE_PLUGIN, } from '../common/constants'; import { @@ -177,7 +176,6 @@ export class EnterpriseSearchPlugin implements Plugin { SEMANTIC_SEARCH_PLUGIN.ID, APPLICATIONS_PLUGIN.ID, AI_SEARCH_PLUGIN.ID, - SEARCH_RELEVANCE_PLUGIN.ID, ]; const isCloud = !!cloud?.cloudId; diff --git a/x-pack/plugins/enterprise_search/tsconfig.json b/x-pack/plugins/enterprise_search/tsconfig.json index de98a647e0a94..bd716c8ac169f 100644 --- a/x-pack/plugins/enterprise_search/tsconfig.json +++ b/x-pack/plugins/enterprise_search/tsconfig.json @@ -70,7 +70,6 @@ "@kbn/es-errors", "@kbn/search-connectors-plugin", "@kbn/search-playground", - "@kbn/search-inference-endpoints", "@kbn/utility-types", "@kbn/index-management-shared-types", "@kbn/deeplinks-search", diff --git a/x-pack/plugins/fleet/common/experimental_features.ts b/x-pack/plugins/fleet/common/experimental_features.ts index 07fd2caf0f061..bc31bfc965505 100644 --- a/x-pack/plugins/fleet/common/experimental_features.ts +++ b/x-pack/plugins/fleet/common/experimental_features.ts @@ -22,7 +22,7 @@ const _allowedExperimentalValues = { outputSecretsStorage: true, remoteESOutput: true, enableStrictKQLValidation: true, - subfeaturePrivileges: false, + subfeaturePrivileges: true, advancedPolicySettings: true, useSpaceAwareness: false, enableReusableIntegrationPolicies: true, diff --git a/x-pack/plugins/inference/server/chat_complete/adapters/gemini/process_vertex_stream.ts b/x-pack/plugins/inference/server/chat_complete/adapters/gemini/process_vertex_stream.ts index 7b2ed2869c21d..fd497441f137c 100644 --- a/x-pack/plugins/inference/server/chat_complete/adapters/gemini/process_vertex_stream.ts +++ b/x-pack/plugins/inference/server/chat_complete/adapters/gemini/process_vertex_stream.ts @@ -38,8 +38,9 @@ export function processVertexStream() { }); } - // completion: only present on last chunk - if (value.usageMetadata) { + // 'usageMetadata' can be present as an empty object on chunks + // only the last chunk will have its fields populated + if (value.usageMetadata?.totalTokenCount) { subscriber.next({ type: ChatCompletionEventType.ChatCompletionTokenCount, tokens: { diff --git a/x-pack/plugins/integration_assistant/server/integration_builder/build_integration.test.ts b/x-pack/plugins/integration_assistant/server/integration_builder/build_integration.test.ts index d7ce89e2e8f63..eaa50e87d41b4 100644 --- a/x-pack/plugins/integration_assistant/server/integration_builder/build_integration.test.ts +++ b/x-pack/plugins/integration_assistant/server/integration_builder/build_integration.test.ts @@ -209,24 +209,29 @@ describe('buildPackage', () => { await buildPackage(testIntegration); - expect(createReadme).toHaveBeenCalledWith(integrationPath, testIntegration.name, [ - { - datastream: firstDatastreamName, - fields: [ - { name: 'name a', description: 'description 1', type: 'type 1' }, + expect(createReadme).toHaveBeenCalledWith( + integrationPath, + testIntegration.name, + testIntegration.dataStreams, + [ + { + datastream: firstDatastreamName, + fields: [ + { name: 'name a', description: 'description 1', type: 'type 1' }, - { name: 'name b', description: 'description 1', type: 'type 1' }, - ], - }, - { - datastream: secondDatastreamName, - fields: [ - { name: 'name c', description: 'description 2', type: 'type 2' }, - { name: 'name d', description: 'description 2', type: 'type 2' }, - { name: 'name e', description: 'description 3', type: 'type 3' }, - ], - }, - ]); + { name: 'name b', description: 'description 1', type: 'type 1' }, + ], + }, + { + datastream: secondDatastreamName, + fields: [ + { name: 'name c', description: 'description 2', type: 'type 2' }, + { name: 'name d', description: 'description 2', type: 'type 2' }, + { name: 'name e', description: 'description 3', type: 'type 3' }, + ], + }, + ] + ); }); }); diff --git a/x-pack/plugins/integration_assistant/server/integration_builder/build_integration.ts b/x-pack/plugins/integration_assistant/server/integration_builder/build_integration.ts index bf2e9b6b9d5a7..785c11125afd9 100644 --- a/x-pack/plugins/integration_assistant/server/integration_builder/build_integration.ts +++ b/x-pack/plugins/integration_assistant/server/integration_builder/build_integration.ts @@ -59,7 +59,7 @@ export async function buildPackage(integration: Integration): Promise { }; }); - createReadme(packageDir, integration.name, fieldsPerDatastream); + createReadme(packageDir, integration.name, integration.dataStreams, fieldsPerDatastream); const zipBuffer = await createZipArchive(workingDir, packageDirectoryName); removeDirSync(workingDir); diff --git a/x-pack/plugins/integration_assistant/server/integration_builder/readme_files.test.ts b/x-pack/plugins/integration_assistant/server/integration_builder/readme_files.test.ts index ae9080fff8a74..2cb350458378e 100644 --- a/x-pack/plugins/integration_assistant/server/integration_builder/readme_files.test.ts +++ b/x-pack/plugins/integration_assistant/server/integration_builder/readme_files.test.ts @@ -59,7 +59,7 @@ describe('createReadme', () => { }, ]; - createReadme(integrationPath, testIntegration.name, fields); + createReadme(integrationPath, testIntegration.name, testIntegration.dataStreams, fields); expect(createSync).toHaveBeenCalledWith( `${integrationPath}/_dev/build/docs/README.md`, @@ -103,7 +103,7 @@ describe('createReadme', () => { }, ]; - createReadme(integrationPath, testIntegration.name, fields); + createReadme(integrationPath, testIntegration.name, testIntegration.dataStreams, fields); const firstDatastreamFieldsDisplayed = ` | Field | Description | Type | @@ -139,7 +139,7 @@ describe('createReadme', () => { }, ]; - createReadme(integrationPath, testIntegration.name, fields); + createReadme(integrationPath, testIntegration.name, testIntegration.dataStreams, fields); expect(createSync).toHaveBeenCalledWith( `${integrationPath}/_dev/build/docs/README.md`, @@ -165,7 +165,7 @@ describe('createReadme', () => { }, ]; - createReadme(integrationPath, testIntegration.name, fields); + createReadme(integrationPath, testIntegration.name, testIntegration.dataStreams, fields); const firstDatastreamFieldsDisplayed = ` | Field | Description | Type | diff --git a/x-pack/plugins/integration_assistant/server/integration_builder/readme_files.ts b/x-pack/plugins/integration_assistant/server/integration_builder/readme_files.ts index 5467a1549cea2..9b2b38c171d0d 100644 --- a/x-pack/plugins/integration_assistant/server/integration_builder/readme_files.ts +++ b/x-pack/plugins/integration_assistant/server/integration_builder/readme_files.ts @@ -8,29 +8,46 @@ import { Environment, FileSystemLoader } from 'nunjucks'; import { join as joinPath } from 'path'; +import { DataStream } from '../../common'; import { createSync, ensureDirSync } from '../util'; -export function createReadme(packageDir: string, integrationName: string, fields: object[]) { - createPackageReadme(packageDir, integrationName, fields); - createBuildReadme(packageDir, integrationName, fields); +export function createReadme( + packageDir: string, + integrationName: string, + datastreams: DataStream[], + fields: object[] +) { + createPackageReadme(packageDir, integrationName, datastreams, fields); + createBuildReadme(packageDir, integrationName, datastreams, fields); } -function createPackageReadme(packageDir: string, integrationName: string, fields: object[]) { +function createPackageReadme( + packageDir: string, + integrationName: string, + datastreams: DataStream[], + fields: object[] +) { const dirPath = joinPath(packageDir, 'docs/'); // The readme nunjucks template files should be named in the format `somename_readme.md.njk` and not just `readme.md.njk` // since any file with `readme.*` pattern is skipped in build process in buildkite. - createReadmeFile(dirPath, 'package_readme.md.njk', integrationName, fields); + createReadmeFile(dirPath, 'package_readme.md.njk', integrationName, datastreams, fields); } -function createBuildReadme(packageDir: string, integrationName: string, fields: object[]) { +function createBuildReadme( + packageDir: string, + integrationName: string, + datastreams: DataStream[], + fields: object[] +) { const dirPath = joinPath(packageDir, '_dev/build/docs/'); - createReadmeFile(dirPath, 'build_readme.md.njk', integrationName, fields); + createReadmeFile(dirPath, 'build_readme.md.njk', integrationName, datastreams, fields); } function createReadmeFile( targetDir: string, templateName: string, integrationName: string, + datastreams: DataStream[], fields: object[] ) { ensureDirSync(targetDir); @@ -44,6 +61,7 @@ function createReadmeFile( const renderedTemplate = template.render({ package_name: integrationName, + datastreams, fields, }); diff --git a/x-pack/plugins/integration_assistant/server/templates/build_readme.md.njk b/x-pack/plugins/integration_assistant/server/templates/build_readme.md.njk index 1b58e55aebd37..92b03575b10fb 100644 --- a/x-pack/plugins/integration_assistant/server/templates/build_readme.md.njk +++ b/x-pack/plugins/integration_assistant/server/templates/build_readme.md.njk @@ -1,8 +1,8 @@ {% include "./description_readme.njk" %} -{% for data_stream in fields %} -### {{ data_stream.datastream }} - -Insert a description of the datastream here. +{% for datastream in datastreams %} +### {{ datastream.title }} +{{ datastream.description }}{% endfor %} +{% for data_stream in fields %} {% raw %}{{fields {% endraw %}"{{ data_stream.datastream }}"{% raw %}}}{% endraw %} {% endfor %} \ No newline at end of file diff --git a/x-pack/plugins/integration_assistant/server/templates/description_readme.njk b/x-pack/plugins/integration_assistant/server/templates/description_readme.njk index 91c1bf6f1b40c..9fe32dccb2b2b 100644 --- a/x-pack/plugins/integration_assistant/server/templates/description_readme.njk +++ b/x-pack/plugins/integration_assistant/server/templates/description_readme.njk @@ -7,8 +7,11 @@ Check the [overview guidelines](https://www.elastic.co/guide/en/integrations-dev ## Datastreams -Provide a high-level overview of the kind of data that is collected by the integration. -Check the [datastreams guidelines](https://www.elastic.co/guide/en/integrations-developer/current/documentation-guidelines.html#idg-docs-guidelines-datastreams) for more information. +{% for datastream in datastreams %} +### {{ datastream.title }} + +{{ datastream.description }} +{% endfor %} ## Requirements diff --git a/x-pack/plugins/integration_assistant/server/templates/package_readme.md.njk b/x-pack/plugins/integration_assistant/server/templates/package_readme.md.njk index bd56aba5ac1e5..3131822e3f2ee 100644 --- a/x-pack/plugins/integration_assistant/server/templates/package_readme.md.njk +++ b/x-pack/plugins/integration_assistant/server/templates/package_readme.md.njk @@ -1,15 +1,15 @@ {% include "./description_readme.njk" %} -{% for data_stream in fields %} -### {{ data_stream.datastream }} +{% for datastream in datastreams %} +### {{ datastream.title }} -Insert a description of the datastream here. +{{ datastream.description }}{% endfor %} **ECS Field Reference** Please refer to the following [document](https://www.elastic.co/guide/en/ecs/current/ecs-field-reference.html) for detailed information on ECS fields. **Exported fields** - +{% for data_stream in fields %} | Field | Description | Type | |---|---|---| {% for field in data_stream.fields %}| {{ field.name }} | {{ field.description | default('') | replace('\n', ' ') | trim }} | {{ field.type }} | diff --git a/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_lens_attributes.test.tsx b/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_lens_attributes.test.tsx index 1581ffd446713..e04e3d90d4b26 100644 --- a/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_lens_attributes.test.tsx +++ b/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_lens_attributes.test.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { allSeriesKey, reportTypeKey, UrlStorageContextProvider } from './use_series_storage'; -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { useLensAttributes } from './use_lens_attributes'; import { ReportTypes } from '../configurations/constants'; import { mockDataView } from '../rtl_helpers'; @@ -66,9 +66,15 @@ describe('useExpViewTimeRange', function () { jest.spyOn(lensHook, 'useLensFormulaHelper').mockReturnValue(formulaHelper); }); - const lensAttributesSpy = jest.spyOn(lensAttributes, 'LensAttributes'); + const lensAttributesSpy = jest + .spyOn(lensAttributes, 'LensAttributes') + .mockImplementation(function (...args) { + return { + getJSON: () => {}, + } as lensAttributes.LensAttributes; + }); - function Wrapper({ children }: { children: JSX.Element }) { + function Wrapper({ children }: React.PropsWithChildren) { return ( - {children} + + {React.createElement(React.Fragment, {}, children)} + ); } diff --git a/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_series_storage.test.tsx b/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_series_storage.test.tsx index d43a36246c069..3ad5bdb66ed93 100644 --- a/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_series_storage.test.tsx +++ b/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_series_storage.test.tsx @@ -6,9 +6,8 @@ */ import React, { useEffect } from 'react'; -import { act, renderHook } from '@testing-library/react-hooks'; import { Router, Route } from '@kbn/shared-ux-router'; -import { render } from '@testing-library/react'; +import { render, renderHook, act } from '@testing-library/react'; import { UrlStorageContextProvider, useSeriesStorage, reportTypeKey } from './use_series_storage'; import { getHistoryFromUrl } from '../rtl_helpers'; import type { AppDataType } from '../types'; @@ -135,7 +134,7 @@ describe('userSeriesStorage', function () { }); it('ensures that only one series has a breakdown', () => { - function wrapper({ children }: { children: React.ReactElement }) { + function wrapper({ children }: React.PropsWithChildren) { return ( - {children} + {React.createElement(React.Fragment, {}, children)} ); } @@ -166,7 +165,7 @@ describe('userSeriesStorage', function () { it('sets reportType when calling applyChanges', () => { const setStorage = jest.fn(); - function wrapper({ children }: { children: React.ReactElement }) { + function wrapper({ children }: React.PropsWithChildren) { return ( - {children} + {React.createElement(React.Fragment, {}, children)} ); } @@ -197,7 +196,7 @@ describe('userSeriesStorage', function () { it('returns reportType in state, not url storage, from hook', () => { const setStorage = jest.fn(); - function wrapper({ children }: { children: React.ReactElement }) { + function wrapper({ children }: React.PropsWithChildren) { return ( - {children} + {React.createElement(React.Fragment, {}, children)} ); } @@ -225,7 +224,7 @@ describe('userSeriesStorage', function () { it('ensures that telemetry is called', () => { const trackEvent = jest.fn(); jest.spyOn(useTrackMetric, 'useUiTracker').mockReturnValue(trackEvent); - function wrapper({ children }: { children: React.ReactElement }) { + function wrapper({ children }: React.PropsWithChildren) { return ( - {children} + {React.createElement(React.Fragment, {}, children)} ); } diff --git a/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_time_range.test.tsx b/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_time_range.test.tsx index b97e3cc3c6923..ce6d344b86687 100644 --- a/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_time_range.test.tsx +++ b/x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_time_range.test.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { allSeriesKey, reportTypeKey, UrlStorageContextProvider } from './use_series_storage'; -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { useExpViewTimeRange } from './use_time_range'; import { ReportTypes } from '../configurations/constants'; import { createKbnUrlStateStorage } from '@kbn/kibana-utils-plugin/public'; @@ -43,9 +43,14 @@ const mockMultipleSeries = [ describe('useExpViewTimeRange', function () { const storage = createKbnUrlStateStorage({ useHash: false }); - function Wrapper({ children }: { children: JSX.Element }) { - return {children}; + function Wrapper({ children }: React.PropsWithChildren) { + return ( + + {React.createElement(React.Fragment, {}, children)} + + ); } + it('should return expected result when there is one series', async function () { await storage.set(allSeriesKey, mockSingleSeries); await storage.set(reportTypeKey, ReportTypes.KPI); diff --git a/x-pack/plugins/observability_solution/infra/emotion.d.ts b/x-pack/plugins/observability_solution/infra/emotion.d.ts new file mode 100644 index 0000000000000..213178080e536 --- /dev/null +++ b/x-pack/plugins/observability_solution/infra/emotion.d.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 '@emotion/react'; +import type { UseEuiTheme } from '@elastic/eui'; + +declare module '@emotion/react' { + // eslint-disable-next-line @typescript-eslint/no-empty-interface + export interface Theme extends UseEuiTheme {} +} diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.tsx index 0b587bf067f47..c3e7cb93c44d2 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.tsx @@ -7,13 +7,13 @@ import React from 'react'; import { Chart, Metric, Settings } from '@elastic/charts'; -import { EuiIcon, EuiPanel, useEuiBackgroundColor } from '@elastic/eui'; +import { EuiIcon, EuiPanel, type UseEuiTheme, useEuiTheme } from '@elastic/eui'; import type { PartialTheme, Theme } from '@elastic/charts'; import { i18n } from '@kbn/i18n'; import { COMPARATORS } from '@kbn/alerting-comparators'; export interface ChartProps { - theme?: PartialTheme; + theme?: UseEuiTheme<{}>; baseTheme: Theme; } @@ -41,7 +41,8 @@ export const Threshold = ({ valueFormatter, warning, }: Props) => { - const color = useEuiBackgroundColor('danger'); + const { euiTheme } = useEuiTheme(); + const color = euiTheme.colors.backgroundBaseDanger; return ( - + diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row.tsx index 93d6b6e8efd91..f39316ed43816 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row.tsx @@ -21,7 +21,7 @@ import { EuiButton, EuiSpacer, } from '@elastic/eui'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import useToggle from 'react-use/lib/useToggle'; import { type Message } from '@kbn/observability-ai-assistant-plugin/public'; import { useKibanaContextForPlugin } from '../../../../hooks/use_kibana'; @@ -199,15 +199,13 @@ const explainProcessMessageTitle = i18n.translate( } ); -const ExpandedRowDescriptionList = euiStyled(EuiDescriptionList).attrs({ - compressed: true, -})` +const ExpandedRowDescriptionList = styled(EuiDescriptionList)` width: 100%; `; -const CodeListItem = euiStyled(EuiCode).attrs({ - transparentBackground: true, -})` +ExpandedRowDescriptionList.defaultProps = { compressed: true }; + +const CodeListItem = styled(EuiCode)` padding: 0 !important; & code.euiCodeBlock__code { white-space: nowrap !important; @@ -215,18 +213,19 @@ const CodeListItem = euiStyled(EuiCode).attrs({ } `; -const ExpandedCommandLine = euiStyled(EuiCode).attrs({ - transparentBackground: true, -})` +CodeListItem.defaultProps = { transparentBackground: true }; + +const ExpandedCommandLine = styled(EuiCode)` padding: 0 !important; - margin-bottom: ${(props) => props.theme.eui.euiSizeS}; + margin-bottom: ${(props) => props.theme.euiTheme.size.s}; `; -const ExpandedRowCell = euiStyled(EuiTableRowCell).attrs({ - textOnly: false, - colSpan: 6, -})` - padding-top: ${(props) => props.theme.eui.euiSizeM} !important; - padding-bottom: ${(props) => props.theme.eui.euiSizeM} !important; - background-color: ${(props) => props.theme.eui.euiColorLightestShade}; +ExpandedCommandLine.defaultProps = { transparentBackground: true }; + +const ExpandedRowCell = styled(EuiTableRowCell)` + padding-top: ${(props) => props.theme.euiTheme.size.m} !important; + padding-bottom: ${(props) => props.theme.euiTheme.size.m} !important; + background-color: ${(props) => props.theme.euiTheme.colors.lightestShade}; `; + +ExpandedRowCell.defaultProps = { textOnly: false, colSpan: 6 }; diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes_table.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes_table.tsx index 6d432910c20b3..4f3a3835990ba 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes_table.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes_table.tsx @@ -367,7 +367,7 @@ const columns: Array<{ ]; const CodeLine = ({ command }: { command: string }) => { - const euiTheme = useEuiTheme(); + const { euiTheme } = useEuiTheme(); return (
{ {command} diff --git a/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/autocomplete_field.tsx b/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/autocomplete_field.tsx index 657db92072275..c1b362c46bd07 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/autocomplete_field.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/autocomplete_field.tsx @@ -8,7 +8,7 @@ import { EuiFieldSearch, EuiOutsideClickDetector, EuiPanel } from '@elastic/eui'; import React from 'react'; import { QuerySuggestion } from '@kbn/unified-search-plugin/public'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { composeStateUpdaters } from '../../utils/typed_react'; import { SuggestionItem } from './suggestion_item'; @@ -302,19 +302,18 @@ const withUnfocused = (state: AutocompleteFieldState) => ({ isFocused: false, }); -const AutocompleteContainer = euiStyled.div` +const AutocompleteContainer = styled.div` position: relative; `; -const SuggestionsPanel = euiStyled(EuiPanel).attrs(() => ({ - paddingSize: 'none', - hasShadow: true, -}))` +const SuggestionsPanel = styled(EuiPanel)` position: absolute; width: 100%; margin-top: 2px; overflow-x: hidden; overflow-y: scroll; - z-index: ${(props) => props.theme.eui.euiZLevel1}; + z-index: ${(props) => props.theme.euiTheme.levels.maskBelowHeader}; max-height: 322px; `; + +SuggestionsPanel.defaultProps = { paddingSize: 'none', hasShadow: true }; diff --git a/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/suggestion_item.tsx b/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/suggestion_item.tsx index a317ad3ecff5e..486d41d2c9c93 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/suggestion_item.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/suggestion_item.tsx @@ -6,8 +6,9 @@ */ import React from 'react'; -import { EuiIcon } from '@elastic/eui'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import { EuiIcon, useEuiFontSize } from '@elastic/eui'; +import styled from '@emotion/styled'; +import type { Theme } from '@emotion/react'; import { QuerySuggestion, QuerySuggestionTypes } from '@kbn/unified-search-plugin/public'; import { transparentize } from 'polished'; @@ -36,51 +37,51 @@ SuggestionItem.defaultProps = { isSelected: false, }; -const SuggestionItemContainer = euiStyled.div<{ +const SuggestionItemContainer = styled.div<{ isSelected?: boolean; }>` display: flex; flex-direction: row; - font-size: ${(props) => props.theme.eui.euiFontSizeS}; - height: ${(props) => props.theme.eui.euiSizeXL}; + font-size: ${() => useEuiFontSize('m').fontSize}; + height: ${({ theme }) => theme.euiTheme.size.xl}; white-space: nowrap; background-color: ${(props) => - props.isSelected ? props.theme.eui.euiColorLightestShade : 'transparent'}; + props.isSelected ? props.theme.euiTheme.colors.lightestShade : 'transparent'}; `; -const SuggestionItemField = euiStyled.div` +const SuggestionItemField = styled.div` align-items: center; cursor: pointer; display: flex; flex-direction: row; - height: ${(props) => props.theme.eui.euiSizeXL}; - padding: ${(props) => props.theme.eui.euiSizeXS}; + height: ${({ theme }) => theme.euiTheme.size.xl}; + padding: ${({ theme }) => theme.euiTheme.size.xs}; `; -const SuggestionItemIconField = euiStyled(SuggestionItemField)<{ +const SuggestionItemIconField = styled(SuggestionItemField)<{ suggestionType: QuerySuggestionTypes; }>` - background-color: ${(props) => - transparentize(0.9, getEuiIconColor(props.theme, props.suggestionType))}; - color: ${(props) => getEuiIconColor(props.theme, props.suggestionType)}; + background-color: ${({ theme, suggestionType }) => + transparentize(0.9, getEuiIconColor(theme, suggestionType))}; + color: ${({ theme, suggestionType }) => getEuiIconColor(theme, suggestionType)}; flex: 0 0 auto; justify-content: center; - width: ${(props) => props.theme.eui.euiSizeXL}; + width: ${({ theme }) => theme.euiTheme.size.xl}; `; -const SuggestionItemTextField = euiStyled(SuggestionItemField)` +const SuggestionItemTextField = styled(SuggestionItemField)` flex: 2 0 0; - font-family: ${(props) => props.theme.eui.euiCodeFontFamily}; + font-family: ${({ theme }) => theme.euiTheme.font.familyCode}; `; -const SuggestionItemDescriptionField = euiStyled(SuggestionItemField)` +const SuggestionItemDescriptionField = styled(SuggestionItemField)` flex: 3 0 0; p { display: inline; span { - font-family: ${(props) => props.theme.eui.euiCodeFontFamily}; + font-family: ${({ theme }) => theme.euiTheme.font.familyCode}; } } `; @@ -102,18 +103,18 @@ const getEuiIconType = (suggestionType: QuerySuggestionTypes) => { } }; -const getEuiIconColor = (theme: any, suggestionType: QuerySuggestionTypes): string => { +const getEuiIconColor = (theme: Theme, suggestionType: QuerySuggestionTypes): string => { switch (suggestionType) { case QuerySuggestionTypes.Field: - return theme?.eui.euiColorVis7; + return theme?.euiTheme.colors.vis.euiColorVis7; case QuerySuggestionTypes.Value: - return theme?.eui.euiColorVis0; + return theme?.euiTheme.colors.vis.euiColorVis0; case QuerySuggestionTypes.Operator: - return theme?.eui.euiColorVis1; + return theme?.euiTheme.colors.vis.euiColorVis1; case QuerySuggestionTypes.Conjunction: - return theme?.eui.euiColorVis2; + return theme?.euiTheme.colors.vis.euiColorVis2; case QuerySuggestionTypes.RecentSearch: default: - return theme?.eui.euiColorMediumShade; + return theme?.euiTheme.colors.mediumShade; } }; diff --git a/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_data.tsx b/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_data.tsx index 0fc2af08d1e5f..3a9fb85331f3c 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_data.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_data.tsx @@ -7,8 +7,7 @@ import { EuiButton, EuiEmptyPrompt } from '@elastic/eui'; import React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; interface NoDataProps { titleText: string; @@ -44,6 +43,6 @@ export const NoData: React.FC = ({ /> ); -const CenteredEmptyPrompt = euiStyled(EuiEmptyPrompt)` +const CenteredEmptyPrompt = styled(EuiEmptyPrompt)` align-self: center; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/toolbar.tsx b/x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/toolbar.tsx index 95f45562c6241..05b474c14fcb6 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/toolbar.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/toolbar.tsx @@ -6,22 +6,14 @@ */ import { EuiPanel } from '@elastic/eui'; -import { FunctionComponent } from 'react'; -import { StyledComponent } from 'styled-components'; -import { euiStyled, EuiTheme } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; -// The return type of this component needs to be specified because the inferred -// return type depends on types that are not exported from EUI. You get a TS4023 -// error if the return type is not specified. -export const Toolbar: StyledComponent = euiStyled(EuiPanel).attrs( - () => ({ - grow: false, - paddingSize: 'none', - }) -)` +export const Toolbar = styled(EuiPanel)` border-top: none; border-right: none; border-left: none; border-radius: 0; - padding: ${(props) => props.theme.eui.euiSizeS} ${(props) => props.theme.eui.euiSizeL}; + padding: ${(props) => props.theme.euiTheme.size.s} ${(props) => props.theme.euiTheme.size.l}; `; + +Toolbar.defaultProps = { grow: false, paddingSize: 'none' }; diff --git a/x-pack/plugins/observability_solution/infra/public/components/fixed_datepicker.tsx b/x-pack/plugins/observability_solution/infra/public/components/fixed_datepicker.tsx index 2d11fd155aa28..a33550399ae4e 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/fixed_datepicker.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/fixed_datepicker.tsx @@ -6,17 +6,13 @@ */ import { EuiDatePicker, EuiDatePickerProps } from '@elastic/eui'; -import React, { FunctionComponent } from 'react'; -import { StyledComponent } from 'styled-components'; -import { euiStyled, EuiTheme } from '@kbn/kibana-react-plugin/common'; +import React from 'react'; +import styled, { type StyledComponent } from '@emotion/styled'; // The return type of this component needs to be specified because the inferred // return type depends on types that are not exported from EUI. You get a TS4023 // error if the return type is not specified. -export const FixedDatePicker: StyledComponent< - FunctionComponent, - EuiTheme -> = euiStyled( +export const FixedDatePicker: StyledComponent = styled( ({ className, inputClassName, diff --git a/x-pack/plugins/observability_solution/infra/public/components/loading/index.tsx b/x-pack/plugins/observability_solution/infra/public/components/loading/index.tsx index b4d8a4867c71e..372bd604834ef 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/loading/index.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/loading/index.tsx @@ -7,8 +7,7 @@ import { EuiLoadingChart, EuiPanel, EuiText } from '@elastic/eui'; import * as React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; interface InfraLoadingProps { text: string | JSX.Element; @@ -34,7 +33,7 @@ export class InfraLoadingPanel extends React.PureComponent & { @@ -28,13 +28,13 @@ const Overlay: FC> = ({ children }) => ( {children ? children : } ); -const RelativeDiv = euiStyled.div` +const RelativeDiv = styled.div` position: relative; `; -const OverlayDiv = euiStyled.div` +const OverlayDiv = styled.div` align-items: center; - background-color: ${(props) => transparentize(0.3, props.theme.eui.euiColorEmptyShade)}; + background-color: ${(props) => transparentize(0.3, props.theme.euiTheme.colors.emptyShade)}; display: flex; height: 100%; justify-content: center; @@ -42,5 +42,5 @@ const OverlayDiv = euiStyled.div` position: absolute; top: 0; width: 100%; - z-index: ${(props) => props.theme.eui.euiZLevel1}; + z-index: ${(props) => props.theme.euiTheme.levels.maskBelowHeader}; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/log_stream/log_stream_react_embeddable.tsx b/x-pack/plugins/observability_solution/infra/public/components/log_stream/log_stream_react_embeddable.tsx index 1193b81379219..8b841c30f1533 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/log_stream/log_stream_react_embeddable.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/log_stream/log_stream_react_embeddable.tsx @@ -7,7 +7,7 @@ import React, { FC, PropsWithChildren, useEffect, useMemo, useState } from 'react'; import { i18n } from '@kbn/i18n'; -import { EuiCallOut, EuiLink } from '@elastic/eui'; +import { EuiCallOut, EuiLink, useEuiTheme } from '@elastic/eui'; import { ReactEmbeddableFactory } from '@kbn/embeddable-plugin/public'; import { initializeTimeRange, @@ -19,7 +19,6 @@ import { AppMountParameters, CoreStart } from '@kbn/core/public'; import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common'; import { Query } from '@kbn/es-query'; import { KibanaRenderContextProvider } from '@kbn/react-kibana-context-render'; -import { euiThemeVars } from '@kbn/ui-theme'; import useLocalStorage from 'react-use/lib/useLocalStorage'; import { FormattedMessage } from '@kbn/i18n-react'; import type { LogStreamApi, LogStreamSerializedState, Services } from './types'; @@ -113,6 +112,7 @@ const SAVED_SEARCH_DOCS_URL = const DeprecationCallout = () => { const [isDismissed, setDismissed] = useLocalStorage(DISMISSAL_STORAGE_KEY, false); + const { euiTheme } = useEuiTheme(); if (isDismissed) { return null; @@ -125,8 +125,8 @@ const DeprecationCallout = () => { onDismiss={() => setDismissed(true)} css={{ position: 'absolute', - bottom: euiThemeVars.euiSizeM, - right: euiThemeVars.euiSizeM, + bottom: euiTheme.size.m, + right: euiTheme.size.m, width: 'min(100%, 40ch)', }} > diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx index b86df4954c431..e3b4ef43106be 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx @@ -17,7 +17,7 @@ import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import { groupBy } from 'lodash'; import React, { Fragment, useState } from 'react'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { CategoryQualityWarning, CategoryQualityWarningReason, @@ -83,10 +83,10 @@ export const CategoryQualityWarnings: React.FC<{ ); }; -const QualityWarningReasonDescription = euiStyled(EuiDescriptionListDescription)` +const QualityWarningReasonDescription = styled(EuiDescriptionListDescription)` display: list-item; list-style-type: disc; - margin-left: ${(props) => props.theme.eui.euiSizeM}; + margin-left: ${(props) => props.theme.euiTheme.size.m}; `; const categoryQualityWarningCalloutTitle = i18n.translate( diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/category_expression.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/category_expression.tsx index 849b8cdaa4546..432b12a0f2372 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/category_expression.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/category_expression.tsx @@ -7,8 +7,7 @@ import { i18n } from '@kbn/i18n'; import React, { memo } from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; export const RegularExpressionRepresentation: React.FunctionComponent<{ maximumSegmentCount?: number; @@ -48,16 +47,16 @@ export const RegularExpressionRepresentation: React.FunctionComponent<{ ); }); -const CategoryPattern = euiStyled.span` - font-family: ${(props) => props.theme.eui.euiCodeFontFamily}; +const CategoryPattern = styled.span` + font-family: ${(props) => props.theme.euiTheme.font.familyCode}; word-break: break-all; `; -const CategoryPatternWildcard = euiStyled.span` - color: ${(props) => props.theme.eui.euiColorMediumShade}; +const CategoryPatternWildcard = styled.span` + color: ${(props) => props.theme.euiTheme.colors.mediumShade}; `; -const CategoryPatternSegment = euiStyled.span` +const CategoryPatternSegment = styled.span` font-weight: bold; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx index dce819ffb0930..db20baea06cc1 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx @@ -7,7 +7,7 @@ import { EuiEmptyPrompt } from '@elastic/eui'; import React from 'react'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { missingMlPrivilegesTitle, missingMlResultsPrivilegesDescription, @@ -23,6 +23,6 @@ export const MissingResultsPrivilegesPrompt: React.FunctionComponent = () => ( /> ); -const EmptyPrompt = euiStyled(EuiEmptyPrompt)` +const EmptyPrompt = styled(EuiEmptyPrompt)` align-self: center; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx index 4e2a360b55ceb..44f98fbf1ba56 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx @@ -7,7 +7,7 @@ import { EuiEmptyPrompt } from '@elastic/eui'; import React from 'react'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { missingMlPrivilegesTitle, missingMlSetupPrivilegesDescription, @@ -23,6 +23,6 @@ export const MissingSetupPrivilegesPrompt: React.FunctionComponent = () => ( /> ); -const EmptyPrompt = euiStyled(EuiEmptyPrompt)` +const EmptyPrompt = styled(EuiEmptyPrompt)` align-self: center; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx index 5dafe8514ee08..a5935f30f52e3 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx @@ -9,8 +9,7 @@ import { EuiButton, EuiEmptyPrompt, EuiLink } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; export const MlUnavailablePrompt: React.FunctionComponent<{}> = () => ( = () => ( /> ); -const EmptyPrompt = euiStyled(EuiEmptyPrompt)` +const EmptyPrompt = styled(EuiEmptyPrompt)` align-self: center; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx index 55cb23c5c51a2..25b759191ca87 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import { EuiEmptyPrompt, EuiButton } from '@elastic/eui'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; interface Props { retry: () => void; @@ -42,6 +42,6 @@ export const LogAnalysisSetupStatusUnknownPrompt: React.FunctionComponent /> ); -const EmptyPrompt = euiStyled(EuiEmptyPrompt)` +const EmptyPrompt = styled(EuiEmptyPrompt)` align-self: center; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_customization_menu.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_customization_menu.tsx index 5e7db2009b33c..e39053a489a49 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_customization_menu.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_customization_menu.tsx @@ -8,8 +8,7 @@ import { EuiButtonEmpty, EuiPopover } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import * as React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; interface LogCustomizationMenuState { isShown: boolean; @@ -75,6 +74,6 @@ export class LogCustomizationMenu extends React.Component< } } -const CustomizationMenuContent = euiStyled.div` +const CustomizationMenuContent = styled.div` min-width: 200px; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx index 2acb77b9406b6..c124866dad8e9 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx @@ -6,7 +6,7 @@ */ import React, { FC, PropsWithChildren } from 'react'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { LogEntryExampleMessagesEmptyIndicator } from './log_entry_examples_empty_indicator'; import { LogEntryExampleMessagesFailureIndicator } from './log_entry_examples_failure_indicator'; import { LogEntryExampleMessagesLoadingIndicator } from './log_entry_examples_loading_indicator'; @@ -41,7 +41,7 @@ export const LogEntryExampleMessages: FC> = ({ ); }; -const Wrapper = euiStyled.div` +const Wrapper = styled.div` align-items: stretch; flex-direction: column; flex: 1 0 0%; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_highlights_menu.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_highlights_menu.tsx index 1e53d8125834f..1657fdc51450d 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_highlights_menu.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_highlights_menu.tsx @@ -18,9 +18,9 @@ import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import { debounce } from 'lodash'; import React, { useCallback, useMemo, useState } from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { useVisibilityState } from '../../hooks/use_visibility_state'; +import { withAttrs } from '../../utils/theme_utils/with_attrs'; interface LogHighlightsMenuProps { onChange: (highlightTerms: string[]) => void; @@ -174,14 +174,17 @@ const goToNextHighlightLabel = i18n.translate( } ); -const ActiveHighlightsIndicator = euiStyled(EuiIcon).attrs(({ theme }) => ({ - type: 'checkInCircleFilled', - size: 'm', - color: theme?.eui.euiColorAccent, -}))` - padding-left: ${(props) => props.theme.eui.euiSizeXS}; -`; +const ActiveHighlightsIndicator = withAttrs( + styled(EuiIcon)` + padding-left: ${(props) => props.theme.euiTheme.size.xs}; + `, + ({ theme }) => ({ + type: 'checkInCircleFilled', + size: 'm', + color: theme?.euiTheme.colors.accent, + }) +); -const LogHighlightsMenuContent = euiStyled.div` +const LogHighlightsMenuContent = styled.div` width: 300px; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/density_chart.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/density_chart.tsx index 72709d7d2faee..5f42d19d035d5 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/density_chart.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/density_chart.tsx @@ -9,8 +9,7 @@ import { scaleLinear, scaleTime } from 'd3-scale'; import { area, curveMonotoneY } from 'd3-shape'; import { max } from 'lodash'; import * as React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { LogEntriesSummaryBucket } from '@kbn/logs-shared-plugin/common'; interface DensityChartProps { @@ -65,16 +64,16 @@ export const DensityChart: React.FC = ({ ); }; -const DensityChartPositiveBackground = euiStyled.rect` +const DensityChartPositiveBackground = styled.rect` fill: ${(props) => - props.theme.darkMode - ? props.theme.eui.euiColorLightShade - : props.theme.eui.euiColorLightestShade}; + props.theme.colorMode === 'DARK' + ? props.theme.euiTheme.colors.lightShade + : props.theme.euiTheme.colors.lightestShade}; `; -const PositiveAreaPath = euiStyled.path` +const PositiveAreaPath = styled.path` fill: ${(props) => - props.theme.darkMode - ? props.theme.eui.euiColorMediumShade - : props.theme.eui.euiColorLightShade}; + props.theme.colorMode === 'DARK' + ? props.theme.euiTheme.colors.mediumShade + : props.theme.euiTheme.colors.lightShade}; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/highlighted_interval.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/highlighted_interval.tsx index f08d7a8ab579b..a672488cc2c5e 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/highlighted_interval.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/highlighted_interval.tsx @@ -6,8 +6,7 @@ */ import * as React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; interface HighlightedIntervalProps { className?: string; @@ -53,14 +52,14 @@ export const HighlightedInterval: React.FC = ({ HighlightedInterval.displayName = 'HighlightedInterval'; -const HighlightTargetMarker = euiStyled.line` - stroke: ${(props) => props.theme.eui.euiColorPrimary}; +const HighlightTargetMarker = styled.line` + stroke: ${(props) => props.theme.euiTheme.colors.primary}; stroke-width: 1; `; -const HighlightPolygon = euiStyled.polygon` - fill: ${(props) => props.theme.eui.euiColorPrimary}; +const HighlightPolygon = styled.polygon` + fill: ${(props) => props.theme.euiTheme.colors.primary}; fill-opacity: 0.3; - stroke: ${(props) => props.theme.eui.euiColorPrimary}; + stroke: ${(props) => props.theme.euiTheme.colors.primary}; stroke-width: 1; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/log_minimap.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/log_minimap.tsx index 00c6bcc4a623f..fcd57e98b07d4 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/log_minimap.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/log_minimap.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { LogEntriesSummaryBucket, LogEntriesSummaryHighlightsBucket, @@ -157,23 +157,23 @@ export class LogMinimap extends React.Component props.theme.eui.euiColorMediumShade}; +const MinimapBorder = styled.line` + stroke: ${(props) => props.theme.euiTheme.colors.mediumShade}; stroke-width: 1px; `; -const TimeCursor = euiStyled.line` +const TimeCursor = styled.line` pointer-events: none; stroke-width: 1px; stroke: ${(props) => - props.theme.darkMode - ? props.theme.eui.euiColorDarkestShade - : props.theme.eui.euiColorDarkShade}; + props.theme.colorMode === 'DARK' + ? props.theme.euiTheme.colors.darkestShade + : props.theme.euiTheme.colors.darkShade}; `; -const MinimapWrapper = euiStyled.svg` +const MinimapWrapper = styled.svg` cursor: pointer; - fill: ${(props) => props.theme.eui.euiColorEmptyShade}; + fill: ${(props) => props.theme.euiTheme.colors.emptyShade}; & ${TimeCursor} { visibility: hidden; } diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker.tsx index efdbb3c3986e9..d651dc0885ad7 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker.tsx @@ -6,7 +6,8 @@ */ import { FormattedMessage } from '@kbn/i18n-react'; -import { euiStyled, keyframes } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; +import { keyframes } from '@emotion/react'; import { LogEntriesSummaryHighlightsBucket, LogEntryTime } from '@kbn/logs-shared-plugin/common'; import * as React from 'react'; import { SearchMarkerTooltip } from './search_marker_tooltip'; @@ -101,14 +102,14 @@ const fadeInAnimation = keyframes` } `; -const SearchMarkerGroup = euiStyled.g` - animation: ${fadeInAnimation} ${(props) => props.theme.eui.euiAnimSpeedExtraSlow} ease-in both; +const SearchMarkerGroup = styled.g` + animation: ${fadeInAnimation} ${(props) => props.theme.euiTheme.animation.extraSlow} ease-in both; `; -const SearchMarkerBackgroundRect = euiStyled.rect` - fill: ${(props) => props.theme.eui.euiColorAccent}; +const SearchMarkerBackgroundRect = styled.rect` + fill: ${(props) => props.theme.euiTheme.colors.accent}; opacity: 0; - transition: opacity ${(props) => props.theme.eui.euiAnimSpeedNormal} ease-in; + transition: opacity ${(props) => props.theme.euiTheme.animation.normal} ease-in; cursor: pointer; ${SearchMarkerGroup}:hover & { @@ -116,6 +117,6 @@ const SearchMarkerBackgroundRect = euiStyled.rect` } `; -const SearchMarkerForegroundRect = euiStyled.rect` - fill: ${(props) => props.theme.eui.euiColorAccent}; +const SearchMarkerForegroundRect = styled.rect` + fill: ${(props) => props.theme.euiTheme.colors.accent}; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx index 861feda79f1e5..1223e014fe9e6 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx @@ -7,8 +7,8 @@ import { scaleTime } from 'd3-scale'; import * as React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; +import { useEuiFontSize } from '@elastic/eui'; import { useKibanaTimeZoneSetting } from '../../../hooks/use_kibana_time_zone_setting'; import { getTimeLabelFormat } from './time_label_formatter'; @@ -59,19 +59,19 @@ export const TimeRuler: React.FC = ({ end, height, start, tickCo TimeRuler.displayName = 'TimeRuler'; -const TimeRulerTickLabel = euiStyled.text` +const TimeRulerTickLabel = styled.text` font-size: 9px; - line-height: ${(props) => props.theme.eui.euiLineHeight}; - fill: ${(props) => props.theme.eui.euiTextSubduedColor}; + line-height: ${() => useEuiFontSize('s').lineHeight}; + fill: ${(props) => props.theme.euiTheme.colors.textSubdued}; user-select: none; pointer-events: none; `; -const TimeRulerGridLine = euiStyled.line` +const TimeRulerGridLine = styled.line` stroke: ${(props) => - props.theme.darkMode - ? props.theme.eui.euiColorDarkestShade - : props.theme.eui.euiColorDarkShade}; + props.theme.colorMode === 'DARK' + ? props.theme.euiTheme.colors.darkestShade + : props.theme.euiTheme.colors.darkShade}; stroke-opacity: 0.5; stroke-width: 1px; `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_input.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_input.tsx index 471b6c75a652a..25aa19d556cbe 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_input.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_input.tsx @@ -7,12 +7,10 @@ import { EuiFieldSearch } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; - +import styled from '@emotion/styled'; import classNames from 'classnames'; import * as React from 'react'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; - interface LogSearchInputProps { className?: string; isLoading: boolean; @@ -77,11 +75,11 @@ export const LogSearchInput = class extends React.PureComponent< } }; -const PlainSearchField = euiStyled(EuiFieldSearch)` +const PlainSearchField = styled(EuiFieldSearch)` background: transparent; box-shadow: none; &:focus { - box-shadow: inset 0 -2px 0 0 ${(props) => props.theme.eui.euiColorPrimary}; + box-shadow: inset 0 -2px 0 0 ${(props) => props.theme.euiTheme.colors.primary}; } `; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logging/log_statusbar.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_statusbar.tsx index 45020d9aaca14..4aa8508f3285f 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logging/log_statusbar.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logging/log_statusbar.tsx @@ -5,21 +5,29 @@ * 2.0. */ -import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { EuiFlexGroup, type EuiFlexGroupProps, EuiFlexItem, useEuiTheme } from '@elastic/eui'; +import { css } from '@emotion/css'; +import React from 'react'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +export const LogStatusbar = (props: EuiFlexGroupProps) => { + const { euiTheme } = useEuiTheme(); -export const LogStatusbar = euiStyled(EuiFlexGroup).attrs(() => ({ - alignItems: 'center', - gutterSize: 'none', - justifyContent: 'flexEnd', -}))` - padding: ${(props) => props.theme.eui.euiSizeS}; - border-top: ${(props) => props.theme.eui.euiBorderThin}; - max-height: 48px; - min-height: 48px; - background-color: ${(props) => props.theme.eui.euiColorEmptyShade}; - flex-direction: row; -`; + return ( + + ); +}; export const LogStatusbarItem = EuiFlexItem; diff --git a/x-pack/plugins/observability_solution/infra/public/components/logs_deprecation_callout.tsx b/x-pack/plugins/observability_solution/infra/public/components/logs_deprecation_callout.tsx index 0edb8b9ab2924..756c42214d7c0 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/logs_deprecation_callout.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/logs_deprecation_callout.tsx @@ -5,13 +5,12 @@ * 2.0. */ -import { EuiCallOut } from '@elastic/eui'; +import { EuiCallOut, useEuiTheme } from '@elastic/eui'; import React from 'react'; import { i18n } from '@kbn/i18n'; import { EuiButton } from '@elastic/eui'; import { getRouterLinkProps } from '@kbn/router-utils'; import useLocalStorage from 'react-use/lib/useLocalStorage'; -import { euiThemeVars } from '@kbn/ui-theme'; import { css } from '@emotion/css'; import { LocatorPublic } from '@kbn/share-plugin/common'; import { DISCOVER_APP_LOCATOR, DiscoverAppLocatorParams } from '@kbn/discover-plugin/common'; @@ -48,6 +47,8 @@ export const LogsDeprecationCallout = ({ page }: LogsDeprecationCalloutProps) => }, } = useKibanaContextForPlugin(); + const { euiTheme } = useEuiTheme(); + const { dismissalStorageKey, message } = pageConfigurations[page]; const [isDismissed, setDismissed] = useLocalStorage(dismissalStorageKey, false); @@ -67,7 +68,9 @@ export const LogsDeprecationCallout = ({ page }: LogsDeprecationCalloutProps) => iconType="iInCircle" heading="h2" onDismiss={() => setDismissed(true)} - className={calloutStyle} + className={css` + margin-bottom: ${euiTheme.size.l}; + `} >

{message}

) onClick: () => locator.navigate({}), }); }; - -const calloutStyle = css` - margin-bottom: ${euiThemeVars.euiSizeL}; -`; diff --git a/x-pack/plugins/observability_solution/infra/public/components/page.tsx b/x-pack/plugins/observability_solution/infra/public/components/page.tsx index ae961c899a5d1..21e1d5748b16f 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/page.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/page.tsx @@ -6,24 +6,23 @@ */ import { EuiPage } from '@elastic/eui'; +import styled from '@emotion/styled'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; - -export const ColumnarPage = euiStyled.div` +export const ColumnarPage = styled.div` display: flex; flex-direction: column; flex: 1 0 auto; - width: 100% + width: 100%; `; -export const PageContent = euiStyled.div` +export const PageContent = styled.div` flex: 1 0 0%; display: flex; flex-direction: row; - background-color: ${(props) => props.theme.eui.euiColorEmptyShade}; + background-color: ${(props) => props.theme.euiTheme.colors.emptyShade}; `; -export const FlexPage = euiStyled(EuiPage)` +export const FlexPage = styled(EuiPage)` align-self: stretch; flex: 1 0 0%; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/error.tsx b/x-pack/plugins/observability_solution/infra/public/pages/error.tsx index fa89fa3b929b3..5972178ba2a0d 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/error.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/error.tsx @@ -8,13 +8,12 @@ import { EuiCallOut, EuiTitle, EuiPageTemplate } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { ColumnarPage, PageContent } from '../components/page'; -const DetailPageContent = euiStyled(PageContent)` +const DetailPageContent = styled(PageContent)` overflow: auto; - background-color: ${(props) => props.theme.eui.euiColorLightestShade}; + background-color: ${(props) => props.theme.euiTheme.colors.lightestShade}; `; interface Props { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_results_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_results_content.tsx index e1db34f31a5e0..337f0535e2bf0 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_results_content.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_results_content.tsx @@ -11,7 +11,7 @@ import { i18n } from '@kbn/i18n'; import moment from 'moment'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; import useInterval from 'react-use/lib/useInterval'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { useKibana } from '@kbn/kibana-react-plugin/public'; import { MLJobsAwaitingNodeWarning, ML_PAGES, useMlHref } from '@kbn/ml-plugin/public'; import { useTrackPageview } from '@kbn/observability-shared-plugin/public'; @@ -299,11 +299,11 @@ const stringToNumericTimeRange = (timeRange: StringTimeRange): TimeRange => ({ // This is needed due to the flex-basis: 100% !important; rule that // kicks in on small screens via media queries breaking when using direction="column" -export const ResultsContentPage = euiStyled(EuiPage)` +export const ResultsContentPage = styled(EuiPage)` flex: 1 0 0%; flex-direction: column; - [class*="euiFlexGroup-responsive"] > .euiFlexItem { + [class*='euiFlexGroup-responsive'] > .euiFlexItem { flex-basis: auto !important; } `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx index 271eac8bf641d..a737a1de4a32b 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { LogEntryCategoryDataset } from '../../../../../../common/log_analysis'; import { getFriendlyNameForPartitionId } from '../../../../../../common/log_analysis'; @@ -30,7 +29,7 @@ export const DatasetsList: React.FunctionComponent<{ * These aim at aligning the list with the EuiHealth list in the neighboring * column. */ -const DatasetLabel = euiStyled.div` +const DatasetLabel = styled.div` display: inline-block; margin-bottom: 2.5px; margin-top: 1px; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx index 40cf29c8e6eb6..93346fcbb744f 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx @@ -9,8 +9,7 @@ import { EuiIcon, EuiTextColor } from '@elastic/eui'; import numeral from '@elastic/numeral'; import { i18n } from '@kbn/i18n'; import React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; export const SingleMetricComparison: React.FunctionComponent<{ currentValue: number; @@ -53,6 +52,6 @@ const newCategoryTrendLabel = i18n.translate( } ); -const NoWrapSpan = euiStyled.span` +const NoWrapSpan = styled.span` white-space: nowrap; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx index 7848672391315..377738ff00821 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx @@ -10,8 +10,7 @@ import numeral from '@elastic/numeral'; import { i18n } from '@kbn/i18n'; import React, { useMemo, useCallback } from 'react'; import useSet from 'react-use/lib/useSet'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { PersistedLogViewReference } from '@kbn/logs-shared-plugin/common'; import { categoriesSortRT, @@ -29,7 +28,7 @@ import { DatasetsList } from './datasets_list'; import { LogEntryCountSparkline } from './log_entry_count_sparkline'; import { SortOptions, ChangeSortOptions } from '../../use_log_entry_categories_results'; -export const TopCategoriesTable = euiStyled( +export const TopCategoriesTable = styled( ({ categorizationJobId, className, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx index 8b4ea2edda9ac..49d539a6783ca 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx @@ -10,7 +10,7 @@ import numeral from '@elastic/numeral'; import { i18n } from '@kbn/i18n'; import React from 'react'; import useMount from 'react-use/lib/useMount'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { useLogViewContext } from '@kbn/logs-shared-plugin/public'; import { isCategoryAnomaly, @@ -139,6 +139,6 @@ export const AnomaliesTableExpandedRow: React.FunctionComponent<{ ); }; -const ExpandedContentWrapper = euiStyled(EuiFlexGroup)` +const ExpandedContentWrapper = styled(EuiFlexGroup)` overflow: hidden; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx index 6c545beb4b9cd..60399d70f2826 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx @@ -10,7 +10,7 @@ import moment from 'moment'; import { encode } from '@kbn/rison'; import { i18n } from '@kbn/i18n'; import { useMlHref, ML_PAGES } from '@kbn/ml-plugin/public'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { useLinkProps, shouldHandleLinkEvent } from '@kbn/observability-shared-plugin/public'; import { LogEntryColumn, @@ -333,7 +333,7 @@ export const LogEntryExampleMessageHeaders: React.FunctionComponent<{ ); }; -const LogEntryExampleMessageHeadersWrapper = euiStyled(LogColumnHeadersWrapper)` +const LogEntryExampleMessageHeadersWrapper = styled(LogColumnHeadersWrapper)` border-bottom: none; box-shadow: none; padding-right: 0; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/add_log_column_popover.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/add_log_column_popover.tsx index 75b69045501c8..bb0b55cbbabf3 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/add_log_column_popover.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/add_log_column_popover.tsx @@ -16,7 +16,7 @@ import { import { FormattedMessage } from '@kbn/i18n-react'; import React, { useCallback, useMemo } from 'react'; import { v4 as uuidv4 } from 'uuid'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { LogColumnConfiguration } from '../../../utils/source_configuration'; import { useVisibilityState } from '../../../hooks/use_visibility_state'; @@ -162,6 +162,6 @@ const SystemColumnBadge: React.FunctionComponent = () => ( ); -const SelectableContent = euiStyled.div` +const SelectableContent = styled.div` width: 400px; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_logs_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_logs_content.tsx index f59d3c1f03fbf..7ab709b837cc9 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_logs_content.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_logs_content.tsx @@ -7,7 +7,7 @@ import { EuiSpacer } from '@elastic/eui'; import type { Query } from '@kbn/es-query'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { LogEntry, convertISODateToNanoPrecision } from '@kbn/logs-shared-plugin/common'; import { LogEntryFlyout, @@ -341,7 +341,7 @@ export const StreamPageLogsContentForState = React.memo<{ ); }); -const LogPageMinimapColumn = euiStyled.div` +const LogPageMinimapColumn = styled.div` flex: 1 0 0%; overflow: hidden; min-width: 100px; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_view_log_in_context.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_view_log_in_context.tsx index d49bfc0c203f3..0b458e925c082 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_view_log_in_context.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_view_log_in_context.tsx @@ -16,7 +16,7 @@ import { import { FormattedMessage } from '@kbn/i18n-react'; import { isEmpty } from 'lodash'; import React, { useCallback, useMemo } from 'react'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { LogEntry } from '@kbn/logs-shared-plugin/common'; import { LogStream } from '@kbn/logs-shared-plugin/public'; import { useViewLogInProviderContext } from '../../../containers/logs/view_log_in_context'; @@ -71,7 +71,7 @@ export const PageViewLogInContext: React.FC = () => { ); }; -const LogInContextWrapper = euiStyled.div<{ width: number | string; height: number | string }>` +const LogInContextWrapper = styled.div<{ width: number | string; height: number | string }>` padding: 16px; width: ${(props) => (typeof props.width === 'number' ? `${props.width}px` : props.width)}; height: ${(props) => (typeof props.height === 'number' ? `${props.height}px` : props.height)}; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx index b1d3875e85a67..7cafec013edef 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx @@ -6,9 +6,9 @@ */ import { i18n } from '@kbn/i18n'; import React from 'react'; -import { useTheme } from '@kbn/observability-shared-plugin/public'; import { findInventoryModel } from '@kbn/metrics-data-access-plugin/common'; import useAsync from 'react-use/lib/useAsync'; +import { useEuiTheme } from '@elastic/eui'; import { KPI_CHART_HEIGHT, METRICS_TOOLTIP } from '../../../../../common/visualizations'; import { useHostCountContext } from '../../hooks/use_host_count'; import { useUnifiedSearchContext } from '../../hooks/use_unified_search'; @@ -19,13 +19,13 @@ export const HostCountKpi = () => { const inventoryModel = findInventoryModel('host'); const { count, loading } = useHostCountContext(); const { searchCriteria } = useUnifiedSearchContext(); - const euiTheme = useTheme(); + const { euiTheme } = useEuiTheme(); const { value: formulas } = useAsync(() => inventoryModel.metrics.getFormulas()); const hostsCountChart: Pick = { id: 'hostsViewKPI-hostsCount', - color: euiTheme.eui.euiColorLightestShade, + color: euiTheme.colors.lightestShade, title: i18n.translate('xpack.infra.hostsViewPage.kpi.hostCount.title', { defaultMessage: 'Hosts', }), diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx index 847d0e05183a7..f0b9b2b0c3b76 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx @@ -13,7 +13,7 @@ import { } from '@kbn/controls-plugin/public'; import { DataView } from '@kbn/data-views-plugin/public'; import type { Filter, Query, TimeRange } from '@kbn/es-query'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { useControlPanels } from '@kbn/observability-shared-plugin/public'; import React, { useCallback, useEffect, useRef } from 'react'; import { Subscription } from 'rxjs'; @@ -104,8 +104,8 @@ export const ControlsContent: React.FC = ({ ); }; -const ControlGroupContainer = euiStyled.div` +const ControlGroupContainer = styled.div` .controlGroup { - min-height: ${(props) => props.theme.eui.euiSizeXXL} + min-height: ${(props) => props.theme.euiTheme.size.xxl}; } `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx index 7b0ec7ed2d2f1..34726a68ab2dd 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx @@ -6,11 +6,7 @@ */ import React from 'react'; import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; -import { - AlertConsumers, - INFRA_RULE_TYPE_IDS, - OBSERVABILITY_RULE_TYPE_IDS, -} from '@kbn/rule-data-utils'; +import { AlertConsumers, OBSERVABILITY_RULE_TYPE_IDS } from '@kbn/rule-data-utils'; import { BrushEndListener, type XYBrushEvent } from '@elastic/charts'; import { useSummaryTimeRange } from '@kbn/observability-plugin/public'; import { useBoolean } from '@kbn/react-hooks'; @@ -47,11 +43,7 @@ export const AlertsTabContent = () => { const { alertsTableConfigurationRegistry, getAlertsStateTable: AlertsStateTable } = triggersActionsUi; - - const hostsWithAlertsKuery = hostNodes - .filter((host) => host.alertsCount) - .map((host) => `"${host.name}"`) - .join(' OR '); + const hostNamesKuery = hostNodes.map((host) => `host.name: "${host.name}"`).join(' OR '); return ( @@ -73,7 +65,7 @@ export const AlertsTabContent = () => {
@@ -146,7 +138,7 @@ const MemoAlertSummaryWidget = React.memo( return ( { const { alertsEsQuery } = useAlertsQuery(); const { alertsCount, loading, error } = useAlertsCount({ - ruleTypeIds: INFRA_RULE_TYPE_IDS, + ruleTypeIds: OBSERVABILITY_RULE_TYPE_IDS, consumers: INFRA_ALERT_CONSUMERS, query: alertsEsQuery, }); diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx index 348c0f8e53310..6ac2c09bc81b9 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx @@ -8,7 +8,7 @@ import React, { useCallback, useState, useEffect, useRef } from 'react'; import { i18n } from '@kbn/i18n'; import { EuiFlexGroup, EuiFlexItem, EuiButtonEmpty, EuiPanel } from '@elastic/eui'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { useUiTracker } from '@kbn/observability-shared-plugin/public'; import useLocalStorage from 'react-use/lib/useLocalStorage'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; @@ -117,19 +117,19 @@ export const BottomDrawer = ({ interval, formatter, view, nodeType }: Props) => ); }; -const BottomActionContainer = euiStyled.div` +const BottomActionContainer = styled.div` position: sticky; bottom: 0; left: 0; - background: ${(props) => props.theme.eui.euiColorGhost}; - width: calc(100% + ${(props) => props.theme.eui.euiSizeL} * 2); - margin-left: -${(props) => props.theme.eui.euiSizeL}; + background: ${(props) => props.theme.euiTheme.colors.backgroundBasePlain}; + width: calc(100% + ${(props) => props.theme.euiTheme.size.l} * 2); + margin-left: -${(props) => props.theme.euiTheme.size.l}; `; // Additional width comes from the padding on the EuiPageBody and inner nodes container -const BottomPanel = euiStyled(EuiPanel)` - padding: ${(props) => props.theme.eui.euiSizeL} 0; +const BottomPanel = styled(EuiPanel)` + padding: ${(props) => props.theme.euiTheme.size.l} 0; `; -const StickyPanel = euiStyled(EuiPanel)` - padding: 0 ${(props) => props.theme.eui.euiSizeL}; +const StickyPanel = styled(EuiPanel)` + padding: 0 ${(props) => props.theme.euiTheme.size.l}; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx index 0e4aa275a7879..50b69b94c803e 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx @@ -5,52 +5,58 @@ * 2.0. */ -import { EuiFlexGroup, EuiFlexItem, EuiButtonEmpty } from '@elastic/eui'; +import { + EuiFlexGroup, + EuiFlexItem, + EuiButtonEmpty, + withEuiTheme, + WithEuiThemeProps, + type EuiThemeComputed, +} from '@elastic/eui'; import React, { ReactNode } from 'react'; -import { withTheme, EuiTheme } from '@kbn/kibana-react-plugin/common'; import { KubernetesTour } from './kubernetes_tour'; interface Props { 'data-test-subj'?: string; label: string; onClick: () => void; - theme: EuiTheme | undefined; children: ReactNode; showKubernetesInfo?: boolean; } -const ButtonLabel = ({ label, theme }: { label: string; theme?: EuiTheme }) => ( +type PropsWithTheme = Props & WithEuiThemeProps; + +const ButtonLabel = ({ label, theme }: { label: string; theme?: EuiThemeComputed }) => ( {label} ); -export const DropdownButton = withTheme((props: Props) => { +export const DropdownButton = withEuiTheme((props: PropsWithTheme) => { const { onClick, label, theme, children, showKubernetesInfo } = props; return ( {showKubernetesInfo ? ( - + ) : ( - + )} `${props.theme.eui.euiSizeM} 0`}; +const TopActionContainer = styled(EuiFlexItem)` + padding: ${(props) => `${props.theme.euiTheme.size.m} 0`}; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx index c2493df3a3968..d012aeb532491 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx @@ -9,7 +9,7 @@ import { i18n } from '@kbn/i18n'; import { usePerformanceContext } from '@kbn/ebt-tools'; import React, { useCallback, useMemo } from 'react'; import { useCurrentEuiBreakpoint } from '@elastic/eui'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; import { InfraWaffleMapBounds, @@ -196,11 +196,11 @@ export const NodesOverview = ({ ); }; -const TableContainer = euiStyled.div` - padding: ${(props) => props.theme.eui.euiSizeL}; +const TableContainer = styled.div` + padding: ${(props) => props.theme.euiTheme.size.l}; `; -const MapContainer = euiStyled.div<{ positionStatic: boolean }>` +const MapContainer = styled.div<{ positionStatic: boolean }>` position: ${(props) => (props.positionStatic ? 'static' : 'absolute')}; display: flex; top: 0; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx index 545bc57c65315..0697b05205fea 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx @@ -27,7 +27,7 @@ import { import { EuiFlexItem } from '@elastic/eui'; import { EuiFlexGroup } from '@elastic/eui'; import { EuiIcon } from '@elastic/eui'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { Metric } from '../../../../../../common/http_api/infra_ml'; import { useTimelineChartTheme } from '../../../../../hooks/use_timeline_chart_theme'; import { toMetricOpt } from '../../../../../../common/snapshot_metric_i18n'; @@ -298,32 +298,32 @@ export const Timeline: React.FC = ({ interval, yAxisFormatter, isVisible ); }; -const TimelineContainer = euiStyled.div` - background-color: ${(props) => props.theme.eui.euiPageBackgroundColor}; - border-top: 1px solid ${(props) => props.theme.eui.euiColorLightShade}; +const TimelineContainer = styled.div` + background-color: ${(props) => props.theme.euiTheme.colors.body}; + border-top: 1px solid ${(props) => props.theme.euiTheme.colors.lightShade}; height: 220px; width: 100%; - padding: ${(props) => props.theme.eui.euiSizeS} ${(props) => props.theme.eui.euiSizeM}; + padding: ${(props) => props.theme.euiTheme.size.s} ${(props) => props.theme.euiTheme.size.m}; display: flex; flex-direction: column; `; -const TimelineHeader = euiStyled.div` +const TimelineHeader = styled.div` display: flex; width: 100%; - padding: ${(props) => props.theme.eui.euiSizeS} ${(props) => props.theme.eui.euiSizeM}; + padding: ${(props) => props.theme.euiTheme.size.s} ${(props) => props.theme.euiTheme.size.m}; @media only screen and (max-width: 767px) { - margin-top: 30px; + margin-top: 30px; } `; -const TimelineChartContainer = euiStyled.div` - padding-left: ${(props) => props.theme.eui.euiSizeXS}; +const TimelineChartContainer = styled.div` + padding-left: ${(props) => props.theme.euiTheme.size.xs}; width: 100%; height: 100%; `; -const TimelineLoadingContainer = euiStyled.div` +const TimelineLoadingContainer = styled.div` display: flex; justify-content: center; align-items: center; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx index 0d74700ea49fd..d17cd89eaf067 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { InfraFormatter, InfraWaffleMapBounds, @@ -53,7 +52,7 @@ export const GradientLegend: React.FC = ({ legend, bounds, formatter }) = ); }; -const GradientLegendContainer = euiStyled.div` +const GradientLegendContainer = styled.div` position: absolute; height: 10px; bottom: 0; @@ -61,15 +60,15 @@ const GradientLegendContainer = euiStyled.div` right: 40px; `; -const GradientLegendTick = euiStyled.div` +const GradientLegendTick = styled.div` position: absolute; bottom: 0; top: -18px; `; -const GradientLegendTickLine = euiStyled.div` +const GradientLegendTickLine = styled.div` position: absolute; - background-color: ${(props) => props.theme.eui.euiBorderColor}; + background-color: ${(props) => props.theme.euiTheme.border.color}; width: 1px; left: 0; top: 15px; @@ -82,7 +81,7 @@ const GradientLegendTickLine = euiStyled.div` } `; -const GradientLegendTickLabel = euiStyled.div` +const GradientLegendTickLabel = styled.div` position: absolute; font-size: 11px; text-align: center; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx index 6b0d9ba878a54..6b93a205f6365 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx @@ -7,8 +7,7 @@ import { EuiLink, EuiToolTip } from '@elastic/eui'; import React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { InfraWaffleMapGroup, InfraWaffleMapOptions } from '../../../../../common/inventory/types'; interface Props { @@ -56,7 +55,7 @@ export class GroupName extends React.PureComponent { }; } -const GroupNameContainer = euiStyled.div` +const GroupNameContainer = styled.div` position: relative; text-align: center; font-size: 16px; @@ -71,19 +70,21 @@ interface InnerProps { isChild?: boolean; } -const Inner = euiStyled.div` - border: 1px solid ${(props) => props.theme.eui.euiBorderColor}; +const Inner = styled.div` + border: ${(props) => props.theme.euiTheme.border.thin}; background-color: ${(props) => - props.isChild ? props.theme.eui.euiColorLightestShade : props.theme.eui.euiColorEmptyShade}; + props.isChild + ? props.theme.euiTheme.colors.lightestShade + : props.theme.euiTheme.colors.emptyShade}; border-radius: 4px; - box-shadow: 0px 2px 0px 0px ${(props) => props.theme.eui.euiBorderColor}; + box-shadow: 0px 2px 0px 0px ${(props) => props.theme.euiTheme.border.color}; display: flex; align-items: center; justify-content: center; overflow: hidden; `; -const Name = euiStyled.div` +const Name = styled.div` flex: 1 1 auto; padding: 6px 10px; overflow: hidden; @@ -91,9 +92,9 @@ const Name = euiStyled.div` white-space: nowrap; `; -const Count = euiStyled.div` +const Count = styled.div` flex: 0 0 auto; - border-left: 1px solid ${(props) => props.theme.eui.euiBorderColor}; + border-left: ${(props) => props.theme.euiTheme.border.thin}; padding: 6px 10px; font-size: 0.85em; font-weight: normal; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx index 8ffe5f0929ffe..bb09b568ceb9a 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; import { InfraWaffleMapBounds, @@ -52,18 +51,18 @@ export const GroupOfGroups: React.FC = (props) => { ); }; -const GroupOfGroupsContainer = euiStyled.div` +const GroupOfGroupsContainer = styled.div` margin: 0 10px; width: 100%; `; -const Groups = euiStyled.div` +const Groups = styled.div` display: flex; background-color: rgba(0, 0, 0, 0.05); flex-wrap: wrap; justify-content: center; padding: 20px 10px 10px; border-radius: 4px; - border: 1px solid ${(props) => props.theme.eui.euiBorderColor}; + border: 1px solid ${(props) => props.theme.euiTheme.border.color}; box-shadow: 0 1px 7px rgba(0, 0, 0, 0.1); `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx index ac5e7c1c09194..07185ad58f26b 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { EuiLoadingSpinner } from '@elastic/eui'; import { isEqual } from 'lodash'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; import { InfraWaffleMapBounds, @@ -87,17 +87,17 @@ export const GroupOfNodes = React.memo( isEqualGroupOfNodes ); -const GroupOfNodesContainer = euiStyled.div` +const GroupOfNodesContainer = styled.div` margin: 0 10px; `; -const Nodes = euiStyled.div` +const Nodes = styled.div` display: flex; background-color: rgba(0, 0, 0, 0.05); flex-wrap: wrap; justify-content: center; padding: 20px 10px 10px; border-radius: 4px; - border: 1px solid ${(props) => props.theme.eui.euiBorderColor}; + border: 1px solid ${(props) => props.theme.euiTheme.border.color}; box-shadow: 0 1px 7px rgba(0, 0, 0, 0.1); `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx index f566f50b09293..6544bb7c81eb2 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { InfraFormatter, InfraWaffleMapBounds, @@ -40,7 +39,7 @@ export const Legend: React.FC = ({ legend, bounds, formatter }) => { ); }; -const LegendContainer = euiStyled.div` +const LegendContainer = styled.div` margin: 0 10px; display: flex; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx index 7b81056b32b8f..ce66c788bd1b2 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx @@ -24,7 +24,7 @@ import { } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import React, { SyntheticEvent, useState, useCallback, useEffect } from 'react'; import { first, last } from 'lodash'; import { EuiRangeProps, EuiSelectProps } from '@elastic/eui'; @@ -378,7 +378,7 @@ export const LegendControls = ({ ); }; -const StyledEuiForm = euiStyled(EuiForm)` +const StyledEuiForm = styled(EuiForm)` min-width: 400px; @media (max-width: 480px) { min-width: 100%; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx index 2fe65f48bac13..27fb0e501639b 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; import { nodesToWaffleMap } from '../../lib/nodes_to_wafflemap'; import { isWaffleMapGroupWithGroups, isWaffleMapGroupWithNodes } from '../../lib/type_guards'; @@ -99,7 +98,7 @@ export const Map: React.FC = ({ ); }; -const WaffleMapOuterContainer = euiStyled.div<{ bottomMargin: number; staticHeight: boolean }>` +const WaffleMapOuterContainer = styled.div<{ bottomMargin: number; staticHeight: boolean }>` flex: 1 0 0%; display: flex; justify-content: flex-start; @@ -111,7 +110,7 @@ const WaffleMapOuterContainer = euiStyled.div<{ bottomMargin: number; staticHeig ${(props) => props.staticHeight && 'min-height: 300px;'} `; -const WaffleMapInnerContainer = euiStyled.div` +const WaffleMapInnerContainer = styled.div` display: flex; flex-direction: row; flex-wrap: wrap; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx index 00da4640eb73f..4d866dd474a23 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx @@ -19,10 +19,11 @@ import { EuiFlexItem, EuiText, EuiPopoverTitle, + WithEuiThemeProps, + withEuiTheme, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import { EuiTheme, withTheme } from '@kbn/kibana-react-plugin/common'; import { SnapshotCustomAggregation, SnapshotCustomMetricInput, @@ -51,204 +52,210 @@ const AGGREGATION_LABELS = { }; interface Props { - theme: EuiTheme | undefined; metric?: SnapshotCustomMetricInput; customMetrics: SnapshotCustomMetricInput[]; onChange: (metric: SnapshotCustomMetricInput) => void; onCancel: () => void; } -export const CustomMetricForm = withTheme(({ theme, onCancel, onChange, metric }: Props) => { - const { metricsView } = useMetricsDataViewContext(); - const [label, setLabel] = useState(metric ? metric.label : void 0); - const [aggregation, setAggregation] = useState( - metric ? metric.aggregation : 'avg' - ); - const [field, setField] = useState(metric ? metric.field : void 0); - - const handleSubmit = useCallback(() => { - if (metric && aggregation && field) { - onChange({ - ...metric, - label, - aggregation, - field, - }); - } else if (aggregation && field) { - const newMetric: SnapshotCustomMetricInput = { - type: 'custom', - id: uuidv4(), - label, - aggregation, - field, - }; - onChange(newMetric); - } - }, [metric, aggregation, field, onChange, label]); - - const handleLabelChange = useCallback( - (e: React.ChangeEvent) => { - setLabel(e.target.value); - }, - [setLabel] - ); - - const handleFieldChange = useCallback( - (selectedOptions: SelectedOption[]) => { - setField(selectedOptions[0].label); - }, - [setField] - ); - - const handleAggregationChange = useCallback( - (e: React.ChangeEvent) => { - const value = e.target.value; - const aggValue: SnapshotCustomAggregation = SnapshotCustomAggregationRT.is(value) - ? value - : 'avg'; - setAggregation(aggValue); - }, - [setAggregation] - ); - - const fieldOptions = (metricsView?.fields ?? []) - .filter((f) => f.aggregatable && f.type === 'number' && !(field && field === f.name)) - .map((f) => ({ label: f.name })); - - const aggregationOptions = SNAPSHOT_CUSTOM_AGGREGATIONS.map((k) => ({ - text: AGGREGATION_LABELS[k as SnapshotCustomAggregation], - value: k, - })); - - const isSubmitDisabled = !field || !aggregation; - - const title = metric - ? i18n.translate('xpack.infra.waffle.customMetricPanelLabel.edit', { - defaultMessage: 'Edit custom metric', - }) - : i18n.translate('xpack.infra.waffle.customMetricPanelLabel.add', { - defaultMessage: 'Add custom metric', - }); - - const titleAriaLabel = metric - ? i18n.translate('xpack.infra.waffle.customMetricPanelLabel.editAriaLabel', { - defaultMessage: 'Back to custom metrics edit mode', - }) - : i18n.translate('xpack.infra.waffle.customMetricPanelLabel.addAriaLabel', { - defaultMessage: 'Back to metric picker', - }); - - return ( -
- - - - {title} - - -
- - - - - - - - - {i18n.translate('xpack.infra.waffle.customMetrics.ofLabel', { - defaultMessage: 'of', - })} - - - - - - - - - { + const { metricsView } = useMetricsDataViewContext(); + const [label, setLabel] = useState(metric ? metric.label : void 0); + const [aggregation, setAggregation] = useState( + metric ? metric.aggregation : 'avg' + ); + const [field, setField] = useState(metric ? metric.field : void 0); + + const handleSubmit = useCallback(() => { + if (metric && aggregation && field) { + onChange({ + ...metric, + label, + aggregation, + field, + }); + } else if (aggregation && field) { + const newMetric: SnapshotCustomMetricInput = { + type: 'custom', + id: uuidv4(), + label, + aggregation, + field, + }; + onChange(newMetric); + } + }, [metric, aggregation, field, onChange, label]); + + const handleLabelChange = useCallback( + (e: React.ChangeEvent) => { + setLabel(e.target.value); + }, + [setLabel] + ); + + const handleFieldChange = useCallback( + (selectedOptions: SelectedOption[]) => { + setField(selectedOptions[0].label); + }, + [setField] + ); + + const handleAggregationChange = useCallback( + (e: React.ChangeEvent) => { + const value = e.target.value; + const aggValue: SnapshotCustomAggregation = SnapshotCustomAggregationRT.is(value) + ? value + : 'avg'; + setAggregation(aggValue); + }, + [setAggregation] + ); + + const fieldOptions = (metricsView?.fields ?? []) + .filter((f) => f.aggregatable && f.type === 'number' && !(field && field === f.name)) + .map((f) => ({ label: f.name })); + + const aggregationOptions = SNAPSHOT_CUSTOM_AGGREGATIONS.map((k) => ({ + text: AGGREGATION_LABELS[k as SnapshotCustomAggregation], + value: k, + })); + + const isSubmitDisabled = !field || !aggregation; + + const title = metric + ? i18n.translate('xpack.infra.waffle.customMetricPanelLabel.edit', { + defaultMessage: 'Edit custom metric', + }) + : i18n.translate('xpack.infra.waffle.customMetricPanelLabel.add', { + defaultMessage: 'Add custom metric', + }); + + const titleAriaLabel = metric + ? i18n.translate('xpack.infra.waffle.customMetricPanelLabel.editAriaLabel', { + defaultMessage: 'Back to custom metrics edit mode', + }) + : i18n.translate('xpack.infra.waffle.customMetricPanelLabel.addAriaLabel', { + defaultMessage: 'Back to metric picker', + }); + + return ( +
+ + + + {title} + + +
- - -
-
- - - - - - -
-
-
- ); -}); + > + + + + + + + + {i18n.translate('xpack.infra.waffle.customMetrics.ofLabel', { + defaultMessage: 'of', + })} + + + + + + + +
+ + + +
+
+ + + + + + +
+
+
+ ); + } +); diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx index fddd37e2b2803..afff11a467b27 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx @@ -6,28 +6,35 @@ */ import React from 'react'; -import { EuiFlexItem, EuiFlexGroup, EuiButtonIcon } from '@elastic/eui'; +import { + EuiFlexItem, + EuiFlexGroup, + EuiButtonIcon, + withEuiTheme, + type WithEuiThemeProps, +} from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { EuiTheme, withTheme } from '@kbn/kibana-react-plugin/common'; import { getCustomMetricLabel } from '../../../../../../../common/formatters/get_custom_metric_label'; import { SnapshotCustomMetricInput } from '../../../../../../../common/http_api/snapshot_api'; interface Props { - theme: EuiTheme | undefined; customMetrics: SnapshotCustomMetricInput[]; options: Array<{ text: string; value: string }>; onEdit: (metric: SnapshotCustomMetricInput) => void; onDelete: (metric: SnapshotCustomMetricInput) => void; } + +type PropsWithTheme = Props & WithEuiThemeProps; + const ICON_WIDTH = 36; -export const MetricsEditMode = withTheme( - ({ theme, customMetrics, options, onEdit, onDelete }: Props) => { +export const MetricsEditMode = withEuiTheme( + ({ theme, customMetrics, options, onEdit, onDelete }: PropsWithTheme) => { return (
{options.map((option) => (
- {option.text} + {option.text}
))} {customMetrics.map((metric) => ( diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx index 256b4e5184892..c1fa99a6e652b 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx @@ -5,12 +5,11 @@ * 2.0. */ -import { EuiCode } from '@elastic/eui'; +import { EuiCode, type WithEuiThemeProps, withEuiTheme } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import React, { useMemo, useState } from 'react'; -import { withTheme, EuiTheme } from '@kbn/kibana-react-plugin/common'; import { Section, SectionLinkProps, @@ -40,9 +39,10 @@ interface Props { node: InfraWaffleMapNode; nodeType: InventoryItemType; } +type PropsWithTheme = Props & WithEuiThemeProps; -export const NodeContextMenu: React.FC = withTheme( - ({ options, currentTime, node, nodeType }) => { +export const NodeContextMenu = withEuiTheme( + ({ options, currentTime, node, nodeType }: PropsWithTheme) => { const { getAssetDetailUrl } = useAssetDetailsRedirect(); const [flyoutVisible, setFlyoutVisible] = useState(false); const inventoryModel = findInventoryModel(nodeType); diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx index 31d31fed64016..977bf6b8b16cd 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx @@ -7,12 +7,10 @@ import { darken, readableColor } from 'polished'; import React, { CSSProperties } from 'react'; - import { i18n } from '@kbn/i18n'; - import { css } from '@emotion/react'; -import { euiThemeVars } from '@kbn/ui-theme'; import { UseBooleanHandlers } from '@kbn/react-hooks'; +import { useEuiTheme } from '@elastic/eui'; type NodeProps = React.DetailedHTMLProps, T> & { 'data-test-subj'?: string; @@ -66,35 +64,38 @@ const NodeContainerSmall = ({ children, ...props }: NodeProps & { color: string {children}
); -const ValueInner = ({ children, ...props }: NodeProps) => ( -
- {children} -
-); +const ValueInner = ({ children, ...props }: NodeProps) => { + const { euiTheme } = useEuiTheme(); + return ( +
+ {children} +
+ ); +}; const SquareOuter = ({ children, ...props }: NodeProps & { color: string }) => (
{ ); }; -const Swatch = euiStyled.div` +const Swatch = styled.div` max-width: 15px; height: 12px; flex: 1 1 auto; &:first-child { - border-radius: ${(props) => props.theme.eui.euiBorderRadius} 0 0 ${(props) => - props.theme.eui.euiBorderRadius}; + border-radius: ${(props) => props.theme.euiTheme.border.radius} 0 0 ${(props) => + props.theme.euiTheme.border.radius}; } &:last-child { - border-radius: 0 ${(props) => props.theme.eui.euiBorderRadius} ${(props) => - props.theme.eui.euiBorderRadius} 0; + border-radius: 0 ${(props) => props.theme.euiTheme.border.radius} ${(props) => + props.theme.euiTheme.border.radius} 0; `; -const Swatches = euiStyled.div` +const Swatches = styled.div` display: flex; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx index f1727a3b060e1..dbbe8afe00b5f 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx @@ -7,7 +7,7 @@ import React from 'react'; import { EuiText } from '@elastic/eui'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { InfraWaffleMapBounds, InfraFormatter, @@ -56,7 +56,7 @@ const TickLabel = ({ value, bounds, formatter }: TickProps) => { ); }; -const LegendContainer = euiStyled.div` +const LegendContainer = styled.div` position: relative; display: flex; flex-direction: column; @@ -64,7 +64,7 @@ const LegendContainer = euiStyled.div` align-items: center; `; -const GradientContainer = euiStyled.div` +const GradientContainer = styled.div` height: 200px; width: 10px; display: flex; @@ -72,14 +72,14 @@ const GradientContainer = euiStyled.div` align-items: stretch; `; -const GradientStep = euiStyled.div` +const GradientStep = styled.div` flex: 1 1 auto; &:first-child { - border-radius: ${(props) => props.theme.eui.euiBorderRadius} ${(props) => - props.theme.eui.euiBorderRadius} 0 0; + border-radius: ${(props) => props.theme.euiTheme.border.radius} + ${(props) => props.theme.euiTheme.border.radius} 0 0; } &:last-child { - border-radius: 0 0 ${(props) => props.theme.eui.euiBorderRadius} ${(props) => - props.theme.eui.euiBorderRadius}; + border-radius: 0 0 ${(props) => props.theme.euiTheme.border.radius} + ${(props) => props.theme.euiTheme.border.radius}; } `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx index 23935caedcd40..2cdb8ca7d2e2b 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx @@ -7,8 +7,7 @@ import { darken } from 'polished'; import React from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { InfraFormatter, InfraWaffleMapRuleOperator, @@ -48,18 +47,18 @@ export const StepLegend: React.FC = ({ legend, formatter }) => { return {legend.rules.map(createStep(formatter))}; }; -const StepLegendContainer = euiStyled.div` +const StepLegendContainer = styled.div` display: flex; padding: 10px 40px 10px 10px; `; -const StepContainer = euiStyled.div` +const StepContainer = styled.div` display: flex; margin-right: 20px align-items: center; `; -const StepSquare = euiStyled.div` +const StepSquare = styled.div` position: relative; width: 24px; height: 24px; @@ -69,7 +68,7 @@ const StepSquare = euiStyled.div` box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2); `; -const StepSquareInner = euiStyled.div` +const StepSquareInner = styled.div` position: absolute; top: 0; left: 0; @@ -78,6 +77,6 @@ const StepSquareInner = euiStyled.div` border-radius: 3px; `; -const StepLabel = euiStyled.div` +const StepLabel = styled.div` font-size: 12px; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx index 48c8b5f3c1dfb..a2ec9dcccfe56 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx @@ -6,9 +6,15 @@ */ import React, { useCallback, useMemo, useState, ReactNode } from 'react'; -import { EuiSwitch, EuiContextMenuPanelDescriptor, EuiPopover, EuiContextMenu } from '@elastic/eui'; +import { + EuiSwitch, + EuiContextMenuPanelDescriptor, + EuiPopover, + EuiContextMenu, + withEuiTheme, + WithEuiThemeProps, +} from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { EuiTheme, withTheme } from '@kbn/kibana-react-plugin/common'; import { WaffleSortOption } from '../../hooks/use_waffle_options'; import { DropdownButton } from '../dropdown_button'; @@ -108,16 +114,17 @@ export const WaffleSortControls = ({ sort, onChange }: Props) => { }; interface SwitchContainerProps { - theme: EuiTheme | undefined; children: ReactNode; } -const SwitchContainer = withTheme(({ children, theme }: SwitchContainerProps) => { +type SwitchContainerPropsWithTheme = SwitchContainerProps & WithEuiThemeProps; + +const SwitchContainer = withEuiTheme(({ children, theme }: SwitchContainerPropsWithTheme) => { return (
{children} diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx index 916e27e0b6d21..a723958246c10 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx @@ -5,20 +5,28 @@ * 2.0. */ -import { EuiButton, EuiDatePicker, EuiFlexGroup, EuiFlexItem, EuiToolTip } from '@elastic/eui'; +import { + EuiButton, + EuiDatePicker, + EuiFlexGroup, + EuiFlexItem, + EuiToolTip, + WithEuiThemeProps, + withEuiTheme, +} from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import moment, { Moment } from 'moment'; import React, { useCallback } from 'react'; -import { withTheme, EuiTheme } from '@kbn/kibana-react-plugin/common'; import { convertIntervalToString } from '../../../../../utils/convert_interval_to_string'; import { useWaffleTimeContext } from '../../hooks/use_waffle_time'; interface Props { - theme: EuiTheme | undefined; interval: string; } -export const WaffleTimeControls = withTheme(({ interval }: Props) => { +type PropsWithTheme = Props & WithEuiThemeProps; + +export const WaffleTimeControls = withEuiTheme(({ interval }: PropsWithTheme) => { const { currentTime, isAutoReloading, startAutoReload, stopAutoReload, jumpToTime } = useWaffleTimeContext(); diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx index 5106aecfc29f2..673b57ab037ce 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx @@ -16,8 +16,7 @@ import { } from '@elastic/eui'; import { get, last, max } from 'lodash'; import React, { ReactText } from 'react'; - -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { InventoryFormatterType } from '@kbn/metrics-data-access-plugin/common'; import { createFormatter } from '../../../../../common/formatters'; import { SeriesOverrides, VisSectionProps } from '../types'; @@ -97,7 +96,7 @@ export const GaugesSectionVis = ({ ); }; -const GroupBox = euiStyled.div` +const GroupBox = styled.div` display: flex; flex-flow: row wrap; justify-content: space-evenly; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx index 6eaa418f47607..c1b000e40f532 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx @@ -8,7 +8,7 @@ import { EuiButton, EuiEmptyPrompt, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import React from 'react'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { useLinkProps } from '@kbn/observability-shared-plugin/public'; import { ViewSourceConfigurationButton } from '../../../../components/source_configuration/view_source_configuration_button'; @@ -72,6 +72,6 @@ export const InvalidNodeError: React.FunctionComponent = ); }; -const CenteredEmptyPrompt = euiStyled(EuiEmptyPrompt)` +const CenteredEmptyPrompt = styled(EuiEmptyPrompt)` align-self: center; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx index 99b0169b74f06..cb2056c45ee14 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx @@ -5,9 +5,8 @@ * 2.0. */ -import { EuiPanel } from '@elastic/eui'; +import { EuiPanel, withEuiTheme } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { withTheme } from '@kbn/kibana-react-plugin/common'; import React from 'react'; import type { LayoutPropsWithTheme } from '../../types'; import { ChartSectionVis } from '../chart_section_vis'; @@ -15,7 +14,7 @@ import { MetadataDetails } from '../metadata_details'; import { Section } from '../section'; import { SubSection } from '../sub_section'; -export const AwsEC2Layout = withTheme( +export const AwsEC2Layout = withEuiTheme( ({ metrics, theme, onChangeRangeTime }: LayoutPropsWithTheme) => ( @@ -73,7 +72,7 @@ export const AwsEC2Layout = withTheme( type="area" seriesOverrides={{ rx: { - color: theme.eui.euiColorVis1, + color: theme.euiTheme.colors.vis.euiColorVis1, name: i18n.translate( 'xpack.infra.metricDetailPage.hostMetricsLayout.networkTrafficSection.networkRxRateSeriesLabel', { @@ -82,7 +81,7 @@ export const AwsEC2Layout = withTheme( ), }, tx: { - color: theme.eui.euiColorVis2, + color: theme.euiTheme.colors.vis.euiColorVis2, name: i18n.translate( 'xpack.infra.metricDetailPage.hostMetricsLayout.networkTrafficSection.networkTxRateSeriesLabel', { @@ -108,7 +107,7 @@ export const AwsEC2Layout = withTheme( type="area" seriesOverrides={{ write: { - color: theme.eui.euiColorVis2, + color: theme.euiTheme.colors.vis.euiColorVis2, name: i18n.translate( 'xpack.infra.metricDetailPage.ec2MetricsLayout.diskIOBytesSection.writeLabel', { @@ -117,7 +116,7 @@ export const AwsEC2Layout = withTheme( ), }, read: { - color: theme.eui.euiColorVis1, + color: theme.euiTheme.colors.vis.euiColorVis1, name: i18n.translate( 'xpack.infra.metricDetailPage.ec2MetricsLayout.diskIOBytesSection.readLabel', { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx index 6415a55e7ed45..043127321f082 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx @@ -5,16 +5,15 @@ * 2.0. */ -import { EuiPanel } from '@elastic/eui'; +import { EuiPanel, withEuiTheme } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { withTheme } from '@kbn/kibana-react-plugin/common'; import React from 'react'; import type { LayoutPropsWithTheme } from '../../types'; import { ChartSectionVis } from '../chart_section_vis'; import { Section } from '../section'; import { SubSection } from '../sub_section'; -export const AwsRDSLayout = withTheme( +export const AwsRDSLayout = withEuiTheme( ({ metrics, onChangeRangeTime, theme }: LayoutPropsWithTheme) => (
(
(
( @@ -47,7 +46,7 @@ export const ContainerLayout = withTheme( defaultMessage: 'CPU Usage', } ), - color: theme.eui.euiColorFullShade, + color: theme.euiTheme.colors.fullShade, formatter: 'percent', gaugeMax: 1, }, @@ -58,7 +57,7 @@ export const ContainerLayout = withTheme( defaultMessage: 'Memory Usage', } ), - color: theme.eui.euiColorFullShade, + color: theme.euiTheme.colors.fullShade, formatter: 'percent', gaugeMax: 1, }, @@ -76,7 +75,7 @@ export const ContainerLayout = withTheme( defaultMessage: 'CPU Usage', } ), - color: theme.eui.euiColorFullShade, + color: theme.euiTheme.colors.fullShade, formatter: 'percent', gaugeMax: 1, }, @@ -87,7 +86,7 @@ export const ContainerLayout = withTheme( defaultMessage: 'Memory Usage', } ), - color: theme.eui.euiColorFullShade, + color: theme.euiTheme.colors.fullShade, formatter: 'percent', gaugeMax: 1, }, @@ -98,7 +97,7 @@ export const ContainerLayout = withTheme( defaultMessage: 'Inbound (RX)', } ), - color: theme.eui.euiColorFullShade, + color: theme.euiTheme.colors.fullShade, formatter: 'bits', formatterTemplate: '{{value}}/s', }, @@ -109,7 +108,7 @@ export const ContainerLayout = withTheme( defaultMessage: 'Outbound (TX)', } ), - color: theme.eui.euiColorFullShade, + color: theme.euiTheme.colors.fullShade, formatter: 'bits', formatterTemplate: '{{value}}/s', }, @@ -130,7 +129,7 @@ export const ContainerLayout = withTheme( type="area" formatter="percent" seriesOverrides={{ - cpu: { color: theme.eui.euiColorVis1 }, + cpu: { color: theme.euiTheme.colors.vis.euiColorVis1 }, }} /> @@ -148,7 +147,7 @@ export const ContainerLayout = withTheme( type="area" formatter="percent" seriesOverrides={{ - memory: { color: theme.eui.euiColorVis1 }, + memory: { color: theme.euiTheme.colors.vis.euiColorVis1 }, }} /> @@ -166,7 +165,7 @@ export const ContainerLayout = withTheme( type="area" formatter="percent" seriesOverrides={{ - cpu: { color: theme.eui.euiColorVis1 }, + cpu: { color: theme.euiTheme.colors.vis.euiColorVis1 }, }} /> @@ -184,7 +183,7 @@ export const ContainerLayout = withTheme( type="area" formatter="percent" seriesOverrides={{ - memory: { color: theme.eui.euiColorVis1 }, + memory: { color: theme.euiTheme.colors.vis.euiColorVis1 }, }} /> @@ -203,7 +202,7 @@ export const ContainerLayout = withTheme( type="area" seriesOverrides={{ rx: { - color: theme.eui.euiColorVis1, + color: theme.euiTheme.colors.vis.euiColorVis1, name: i18n.translate( 'xpack.infra.metricDetailPage.containerMetricsLayout.networkTrafficSection.networkRxRateSeriesLabel', { @@ -212,7 +211,7 @@ export const ContainerLayout = withTheme( ), }, tx: { - color: theme.eui.euiColorVis2, + color: theme.euiTheme.colors.vis.euiColorVis2, name: i18n.translate( 'xpack.infra.metricDetailPage.containerMetricsLayout.networkTrafficSection.networkTxRateSeriesLabel', { @@ -238,7 +237,7 @@ export const ContainerLayout = withTheme( formatter="number" seriesOverrides={{ read: { - color: theme.eui.euiColorVis1, + color: theme.euiTheme.colors.vis.euiColorVis1, name: i18n.translate( 'xpack.infra.metricDetailPage.containerMetricsLayout.diskIoOpsSection.readRateSeriesLabel', { @@ -247,7 +246,7 @@ export const ContainerLayout = withTheme( ), }, write: { - color: theme.eui.euiColorVis2, + color: theme.euiTheme.colors.vis.euiColorVis2, name: i18n.translate( 'xpack.infra.metricDetailPage.containerMetricsLayout.diskIoOpsSection.writeRateSeriesLabel', { @@ -273,7 +272,7 @@ export const ContainerLayout = withTheme( formatterTemplate="{{value}}/s" seriesOverrides={{ read: { - color: theme.eui.euiColorVis1, + color: theme.euiTheme.colors.vis.euiColorVis1, name: i18n.translate( 'xpack.infra.metricDetailPage.containerMetricsLayout.diskIoBytesSection.readRateSeriesLabel', { @@ -282,7 +281,7 @@ export const ContainerLayout = withTheme( ), }, write: { - color: theme.eui.euiColorVis2, + color: theme.euiTheme.colors.vis.euiColorVis2, name: i18n.translate( 'xpack.infra.metricDetailPage.containerMetricsLayout.diskIoBytesSection.writeRateSeriesLabel', { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx index d845357d33256..470640de53ddb 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx @@ -7,13 +7,13 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; -import { withTheme } from '@kbn/kibana-react-plugin/common'; +import { withEuiTheme } from '@elastic/eui'; import type { LayoutPropsWithTheme } from '../../types'; import { Section } from '../section'; import { SubSection } from '../sub_section'; import { ChartSectionVis } from '../chart_section_vis'; -export const NginxLayoutSection = withTheme( +export const NginxLayoutSection = withEuiTheme( ({ metrics, onChangeRangeTime, theme }: LayoutPropsWithTheme) => (
@@ -57,7 +57,7 @@ export const NginxLayoutSection = withTheme( formatter="abbreviatedNumber" formatterTemplate="{{value}}/s" seriesOverrides={{ - rate: { color: theme.eui.euiColorVis1 }, + rate: { color: theme.euiTheme.colors.vis.euiColorVis1 }, }} /> @@ -75,7 +75,7 @@ export const NginxLayoutSection = withTheme( formatter="abbreviatedNumber" seriesOverrides={{ connections: { - color: theme.eui.euiColorVis1, + color: theme.euiTheme.colors.vis.euiColorVis1, type: 'bar', }, }} @@ -95,7 +95,7 @@ export const NginxLayoutSection = withTheme( formatter="abbreviatedNumber" seriesOverrides={{ reqPerConns: { - color: theme.eui.euiColorVis1, + color: theme.euiTheme.colors.vis.euiColorVis1, name: i18n.translate( 'xpack.infra.metricDetailPage.nginxMetricsLayout.requestsPerConnectionsSection.reqsPerConnSeriesLabel', { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx index f35f606db7452..c2ed79d75325d 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx @@ -5,9 +5,8 @@ * 2.0. */ -import { EuiPanel } from '@elastic/eui'; +import { EuiPanel, withEuiTheme } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { withTheme } from '@kbn/kibana-react-plugin/common'; import React from 'react'; import type { LayoutPropsWithTheme } from '../../types'; import { ChartSectionVis } from '../chart_section_vis'; @@ -17,7 +16,7 @@ import { Section } from '../section'; import { SubSection } from '../sub_section'; import { NginxLayoutSection } from './nginx_layout_sections'; -export const PodLayout = withTheme( +export const PodLayout = withEuiTheme( ({ metrics, onChangeRangeTime, theme }: LayoutPropsWithTheme) => ( @@ -45,7 +44,7 @@ export const PodLayout = withTheme( defaultMessage: 'CPU Usage', } ), - color: theme.eui.euiColorFullShade, + color: theme.euiTheme.colors.fullShade, formatter: 'percent', gaugeMax: 1, }, @@ -56,7 +55,7 @@ export const PodLayout = withTheme( defaultMessage: 'Memory Usage', } ), - color: theme.eui.euiColorFullShade, + color: theme.euiTheme.colors.fullShade, formatter: 'percent', gaugeMax: 1, }, @@ -67,7 +66,7 @@ export const PodLayout = withTheme( defaultMessage: 'Inbound (RX)', } ), - color: theme.eui.euiColorFullShade, + color: theme.euiTheme.colors.fullShade, formatter: 'bits', formatterTemplate: '{{value}}/s', }, @@ -78,7 +77,7 @@ export const PodLayout = withTheme( defaultMessage: 'Outbound (TX)', } ), - color: theme.eui.euiColorFullShade, + color: theme.euiTheme.colors.fullShade, formatter: 'bits', formatterTemplate: '{{value}}/s', }, @@ -98,7 +97,7 @@ export const PodLayout = withTheme( formatter="percent" type="area" seriesOverrides={{ - cpu: { color: theme.eui.euiColorVis1 }, + cpu: { color: theme.euiTheme.colors.vis.euiColorVis1 }, }} /> @@ -116,7 +115,7 @@ export const PodLayout = withTheme( formatter="percent" seriesOverrides={{ memory: { - color: theme.eui.euiColorVis1, + color: theme.euiTheme.colors.vis.euiColorVis1, }, }} /> @@ -136,7 +135,7 @@ export const PodLayout = withTheme( type="area" seriesOverrides={{ rx: { - color: theme.eui.euiColorVis1, + color: theme.euiTheme.colors.vis.euiColorVis1, name: i18n.translate( 'xpack.infra.metricDetailPage.podMetricsLayout.networkTrafficSection.networkRxRateSeriesLabel', { @@ -145,7 +144,7 @@ export const PodLayout = withTheme( ), }, tx: { - color: theme.eui.euiColorVis2, + color: theme.euiTheme.colors.vis.euiColorVis2, name: i18n.translate( 'xpack.infra.metricDetailPage.podMetricsLayout.networkTrafficSection.networkTxRateSeriesLabel', { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx index e1596f52aa3c3..0309d2a47bff0 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx @@ -6,10 +6,10 @@ */ import React, { useContext, useState, useCallback, useMemo } from 'react'; +import { get } from 'lodash'; import { EuiButtonIcon, EuiFlexGrid, EuiFlexItem, EuiTitle, EuiText } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { get } from 'lodash'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { InfraMetadata } from '../../../../../common/http_api'; import { MetadataContext } from '../containers/metadata_context'; @@ -165,18 +165,16 @@ export const MetadataDetails = (props: Props) => { ); }; -const MetadataContainer = euiStyled.div` -border-top: ${(props) => props.theme.eui.euiBorderWidthThin} solid ${(props) => - props.theme.eui.euiBorderColor}; -border-bottom: ${(props) => props.theme.eui.euiBorderWidthThin} solid ${(props) => - props.theme.eui.euiBorderColor}; -padding: ${(props) => props.theme.eui.euiSizeM} 0; -margin-bottom: ${(props) => props.theme.eui.euiSizeM}; -display: flex; +const MetadataContainer = styled.div` + border-top: ${(props) => props.theme.euiTheme.border.thin}; + border-bottom: ${(props) => props.theme.euiTheme.border.thin}; + padding: ${(props) => props.theme.euiTheme.size.m} 0; + margin-bottom: ${(props) => props.theme.euiTheme.size.m}; + display: flex; `; -const Controls = euiStyled.div` -flex-grow: 0; -margin-right: ${(props) => props.theme.eui.euiSizeM}; -min-width: 0px; +const Controls = styled.div` + flex-grow: 0; + margin-right: ${(props) => props.theme.euiTheme.size.m}; + min-width: 0px; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.tsx index b1973fe002de2..0b0df22840406 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.tsx @@ -8,7 +8,7 @@ import { EuiSuperDatePicker, OnRefreshChangeProps, OnTimeChangeProps } from '@elastic/eui'; import React, { useCallback } from 'react'; import { UI_SETTINGS } from '@kbn/data-plugin/public'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { MetricsTimeInput } from '../hooks/use_metrics_time'; import { useKibanaUiSetting } from '../../../../hooks/use_kibana_ui_setting'; import { mapKibanaQuickRangesToDatePickerRanges } from '../../../../utils/map_timepicker_quickranges_to_datepicker_ranges'; @@ -76,6 +76,6 @@ export const MetricsTimeControls = (props: MetricsTimeControlsProps) => { ); }; -const MetricsTimeControlsContainer = euiStyled.div` +const MetricsTimeControlsContainer = styled.div` max-width: 750px; `; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/types.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/types.ts index 4d5c5ad7ea861..62a8e01bf6dcf 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/types.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/types.ts @@ -7,7 +7,7 @@ import rt from 'io-ts'; import { PropsWithChildren } from 'react'; -import { EuiTheme } from '@kbn/kibana-react-plugin/common'; +import type { WithEuiThemeProps } from '@elastic/eui'; import { InventoryFormatterTypeRT } from '@kbn/metrics-data-access-plugin/common'; import { MetricsTimeInput } from './hooks/use_metrics_time'; import { NodeDetailsMetricData } from '../../../../common/http_api/node_details_api'; @@ -19,7 +19,7 @@ export interface LayoutProps { stopLiveStreaming?: () => void; } -export type LayoutPropsWithTheme = LayoutProps & PropsWithChildren<{ theme: EuiTheme }>; +export type LayoutPropsWithTheme = LayoutProps & PropsWithChildren & WithEuiThemeProps; const ChartTypesRT = rt.keyof({ area: null, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart.tsx index 3e07480e7d7fe..347283ca1f51a 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart.tsx @@ -16,7 +16,7 @@ import { Tooltip, } from '@elastic/charts'; import { EuiFlexGroup, EuiFlexItem, EuiTitle, EuiToolTip } from '@elastic/eui'; -import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import styled from '@emotion/styled'; import { first, last } from 'lodash'; import moment from 'moment'; import React, { useCallback, useMemo } from 'react'; @@ -176,7 +176,7 @@ export const MetricsExplorerChart = ({ ); }; -const ChartTitleContainer = euiStyled.div` +const ChartTitleContainer = styled.div` width: 100%; overflow: hidden; text-overflow: ellipsis; diff --git a/x-pack/plugins/observability_solution/infra/public/utils/theme_utils/with_attrs.tsx b/x-pack/plugins/observability_solution/infra/public/utils/theme_utils/with_attrs.tsx new file mode 100644 index 0000000000000..cccc4de593482 --- /dev/null +++ b/x-pack/plugins/observability_solution/infra/public/utils/theme_utils/with_attrs.tsx @@ -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 { type Theme, useTheme } from '@emotion/react'; +import React from 'react'; + +import { ComponentType } from 'react'; + +export const withAttrs = + (Component: ComponentType, fn: (args: { theme: Theme; props: any }) => any) => + (props: any) => { + const theme = useTheme(); + const attrs = fn({ theme, props }); + + return ; + }; diff --git a/x-pack/plugins/observability_solution/infra/tsconfig.json b/x-pack/plugins/observability_solution/infra/tsconfig.json index f927926a00df6..dd3e56903ea5d 100644 --- a/x-pack/plugins/observability_solution/infra/tsconfig.json +++ b/x-pack/plugins/observability_solution/infra/tsconfig.json @@ -8,7 +8,8 @@ "common/**/*", "public/**/*", "server/**/*", - "types/**/*" + "types/**/*", + "./emotion.d.ts" ], "kbn_references": [ "@kbn/core", @@ -65,7 +66,6 @@ "@kbn/discover-plugin", "@kbn/observability-shared-plugin", "@kbn/observability-ai-assistant-plugin", - "@kbn/ui-theme", "@kbn/ml-anomaly-utils", "@kbn/aiops-plugin", "@kbn/field-formats-plugin", diff --git a/x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.test.tsx b/x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.test.tsx index 1892dd0109490..0957fa4da8aea 100644 --- a/x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.test.tsx +++ b/x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.test.tsx @@ -15,10 +15,12 @@ const useKibanaMock = useKibana as jest.Mock; const commonEntityFields: Partial = { entityLastSeenTimestamp: 'foo', - entityId: 'entity1', + entityId: '1', }; describe('AlertsBadge', () => { + const mockAsKqlFilter = jest.fn(); + beforeEach(() => { jest.clearAllMocks(); @@ -29,6 +31,11 @@ describe('AlertsBadge', () => { prepend: (path: string) => path, }, }, + entityManager: { + entityClient: { + asKqlFilter: mockAsKqlFilter, + }, + }, }, }); }); @@ -52,10 +59,11 @@ describe('AlertsBadge', () => { provider: null, }, }; + mockAsKqlFilter.mockReturnValue('host.name: "foo"'); render(); expect(screen.queryByTestId('inventoryAlertsBadgeLink')?.getAttribute('href')).toEqual( - `/app/observability/alerts?_a=(kuery:\"entity1\",status:active)` + `/app/observability/alerts?_a=(kuery:'host.name: "foo"',status:active)` ); expect(screen.queryByTestId('inventoryAlertsBadgeLink')?.textContent).toEqual('1'); }); @@ -78,11 +86,40 @@ describe('AlertsBadge', () => { alertsCount: 5, }; + mockAsKqlFilter.mockReturnValue('service.name: "bar"'); render(); expect(screen.queryByTestId('inventoryAlertsBadgeLink')?.getAttribute('href')).toEqual( - `/app/observability/alerts?_a=(kuery:\"entity1\",status:active)` + `/app/observability/alerts?_a=(kuery:'service.name: "bar"',status:active)` ); expect(screen.queryByTestId('inventoryAlertsBadgeLink')?.textContent).toEqual('5'); }); + it('render alerts badge for a service entity with multiple identity fields', () => { + const entity: InventoryEntity = { + ...(commonEntityFields as InventoryEntity), + entityType: 'service', + entityDisplayName: 'foo', + entityIdentityFields: ['service.name', 'service.environment'], + entityDefinitionId: 'service', + service: { + name: 'bar', + environment: 'prod', + }, + agent: { + name: 'node', + }, + cloud: { + provider: null, + }, + alertsCount: 2, + }; + + mockAsKqlFilter.mockReturnValue('service.name: "bar" AND service.environment: "prod"'); + + render(); + expect(screen.queryByTestId('inventoryAlertsBadgeLink')?.getAttribute('href')).toEqual( + `/app/observability/alerts?_a=(kuery:'service.name: "bar" AND service.environment: "prod"',status:active)` + ); + expect(screen.queryByTestId('inventoryAlertsBadgeLink')?.textContent).toEqual('2'); + }); }); diff --git a/x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.tsx b/x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.tsx index 228cd3d8bbfd8..301dcb63d1a17 100644 --- a/x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.tsx +++ b/x-pack/plugins/observability_solution/inventory/public/components/alerts_badge/alerts_badge.tsx @@ -15,12 +15,18 @@ export function AlertsBadge({ entity }: { entity: InventoryEntity }) { const { services: { http: { basePath }, + entityManager, }, } = useKibana(); const activeAlertsHref = basePath.prepend( `/app/observability/alerts?_a=${rison.encode({ - kuery: `"${entity.entityId}"`, + kuery: entityManager.entityClient.asKqlFilter({ + entity: { + identity_fields: entity.entityIdentityFields, + }, + ...entity, + }), status: 'active', })}` ); diff --git a/x-pack/plugins/observability_solution/observability/public/context/has_data_context/has_data_context.test.tsx b/x-pack/plugins/observability_solution/observability/public/context/has_data_context/has_data_context.test.tsx index 3acc868a30c02..9fc5d77a7f881 100644 --- a/x-pack/plugins/observability_solution/observability/public/context/has_data_context/has_data_context.test.tsx +++ b/x-pack/plugins/observability_solution/observability/public/context/has_data_context/has_data_context.test.tsx @@ -6,7 +6,7 @@ */ import React from 'react'; -import { renderHook } from '@testing-library/react-hooks'; +import { waitFor, renderHook } from '@testing-library/react'; import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; import { coreMock } from '@kbn/core/public/mocks'; import { registerDataHandler, unregisterDataHandler } from './data_handler'; @@ -16,13 +16,12 @@ import { HasDataContextProvider } from './has_data_context'; import { Router } from '@kbn/shared-ux-router'; import { createMemoryHistory } from 'history'; import { ApmIndicesConfig } from '../../../common/typings'; -import { act } from '@testing-library/react'; const sampleAPMIndices = { transaction: 'apm-*' } as ApmIndicesConfig; const core = coreMock.createStart(); -function wrapper({ children }: { children: React.ReactElement }) { +function wrapper({ children }: React.PropsWithChildren) { const history = createMemoryHistory(); return ( @@ -58,7 +57,7 @@ describe('HasDataContextProvider', () => { describe('when no plugin has registered', () => { it('hasAnyData returns undefined and all apps return undefined', async () => { - const { result, waitForNextUpdate } = renderHook(() => useHasData(), { wrapper }); + const { result } = renderHook(() => useHasData(), { wrapper }); expect(result.current).toMatchObject({ hasDataMap: {}, hasAnyData: false, @@ -66,25 +65,24 @@ describe('HasDataContextProvider', () => { forceUpdate: expect.any(String), onRefreshTimeRange: expect.any(Function), }); - await act(async () => { - await waitForNextUpdate(); - }); - expect(result.current).toEqual({ - hasDataMap: { - apm: { hasData: undefined, status: 'success' }, - uptime: { hasData: undefined, status: 'success' }, - infra_logs: { hasData: undefined, status: 'success' }, - infra_metrics: { hasData: undefined, status: 'success' }, - ux: { hasData: undefined, status: 'success' }, - alert: { hasData: false, status: 'success' }, - universal_profiling: { hasData: false, status: 'success' }, - }, - hasAnyData: false, - isAllRequestsComplete: true, - forceUpdate: expect.any(String), - onRefreshTimeRange: expect.any(Function), - }); + await waitFor(() => + expect(result.current).toEqual({ + hasDataMap: { + apm: { hasData: undefined, status: 'success' }, + uptime: { hasData: undefined, status: 'success' }, + infra_logs: { hasData: undefined, status: 'success' }, + infra_metrics: { hasData: undefined, status: 'success' }, + ux: { hasData: undefined, status: 'success' }, + alert: { hasData: false, status: 'success' }, + universal_profiling: { hasData: false, status: 'success' }, + }, + hasAnyData: false, + isAllRequestsComplete: true, + forceUpdate: expect.any(String), + onRefreshTimeRange: expect.any(Function), + }) + ); }); }); @@ -112,7 +110,7 @@ describe('HasDataContextProvider', () => { afterAll(unregisterAll); it('hasAnyData returns false and all apps return false', async () => { - const { result, waitForNextUpdate } = renderHook(() => useHasData(), { wrapper }); + const { result } = renderHook(() => useHasData(), { wrapper }); expect(result.current).toEqual({ hasDataMap: { @@ -124,31 +122,29 @@ describe('HasDataContextProvider', () => { onRefreshTimeRange: expect.any(Function), }); - await act(async () => { - await waitForNextUpdate(); - }); - - expect(result.current).toEqual({ - hasDataMap: { - apm: { hasData: false, status: 'success' }, - uptime: { - hasData: false, - status: 'success', - }, - infra_logs: { hasData: false, indices: 'test-index', status: 'success' }, - infra_metrics: { hasData: false, status: 'success' }, - ux: { - hasData: false, - status: 'success', + await waitFor(() => + expect(result.current).toEqual({ + hasDataMap: { + apm: { hasData: false, status: 'success' }, + uptime: { + hasData: false, + status: 'success', + }, + infra_logs: { hasData: false, indices: 'test-index', status: 'success' }, + infra_metrics: { hasData: false, status: 'success' }, + ux: { + hasData: false, + status: 'success', + }, + alert: { hasData: false, status: 'success' }, + universal_profiling: { hasData: false, status: 'success' }, }, - alert: { hasData: false, status: 'success' }, - universal_profiling: { hasData: false, status: 'success' }, - }, - hasAnyData: false, - isAllRequestsComplete: true, - forceUpdate: expect.any(String), - onRefreshTimeRange: expect.any(Function), - }); + hasAnyData: false, + isAllRequestsComplete: true, + forceUpdate: expect.any(String), + onRefreshTimeRange: expect.any(Function), + }) + ); }); }); @@ -178,7 +174,7 @@ describe('HasDataContextProvider', () => { afterAll(unregisterAll); it('hasAnyData returns true apm returns true and all other apps return false', async () => { - const { result, waitForNextUpdate } = renderHook(() => useHasData(), { wrapper }); + const { result } = renderHook(() => useHasData(), { wrapper }); expect(result.current).toEqual({ hasDataMap: { universal_profiling: { hasData: false, status: 'success' } }, hasAnyData: false, @@ -187,33 +183,31 @@ describe('HasDataContextProvider', () => { onRefreshTimeRange: expect.any(Function), }); - await act(async () => { - await waitForNextUpdate(); - }); - - expect(result.current).toEqual({ - hasDataMap: { - apm: { hasData: true, status: 'success' }, - uptime: { - hasData: false, - indices: 'heartbeat-*, synthetics-*', - status: 'success', - }, - infra_logs: { hasData: false, indices: 'test-index', status: 'success' }, - infra_metrics: { hasData: false, indices: 'metric-*', status: 'success' }, - ux: { - hasData: false, - indices: 'apm-*', - status: 'success', + await waitFor(() => + expect(result.current).toEqual({ + hasDataMap: { + apm: { hasData: true, status: 'success' }, + uptime: { + hasData: false, + indices: 'heartbeat-*, synthetics-*', + status: 'success', + }, + infra_logs: { hasData: false, indices: 'test-index', status: 'success' }, + infra_metrics: { hasData: false, indices: 'metric-*', status: 'success' }, + ux: { + hasData: false, + indices: 'apm-*', + status: 'success', + }, + alert: { hasData: false, status: 'success' }, + universal_profiling: { hasData: false, status: 'success' }, }, - alert: { hasData: false, status: 'success' }, - universal_profiling: { hasData: false, status: 'success' }, - }, - hasAnyData: true, - isAllRequestsComplete: true, - forceUpdate: expect.any(String), - onRefreshTimeRange: expect.any(Function), - }); + hasAnyData: true, + isAllRequestsComplete: true, + forceUpdate: expect.any(String), + onRefreshTimeRange: expect.any(Function), + }) + ); }); }); @@ -243,7 +237,7 @@ describe('HasDataContextProvider', () => { afterAll(unregisterAll); it('hasAnyData returns true and all apps return true', async () => { - const { result, waitForNextUpdate } = renderHook(() => useHasData(), { wrapper }); + const { result } = renderHook(() => useHasData(), { wrapper }); expect(result.current).toEqual({ hasDataMap: { universal_profiling: { hasData: false, status: 'success' } }, hasAnyData: false, @@ -252,37 +246,35 @@ describe('HasDataContextProvider', () => { onRefreshTimeRange: expect.any(Function), }); - await act(async () => { - await waitForNextUpdate(); - }); - - expect(result.current).toEqual({ - hasDataMap: { - apm: { - hasData: true, - status: 'success', - }, - uptime: { - hasData: true, - indices: 'heartbeat-*, synthetics-*', - status: 'success', - }, - infra_logs: { hasData: true, indices: 'test-index', status: 'success' }, - infra_metrics: { hasData: true, indices: 'metric-*', status: 'success' }, - ux: { - hasData: true, - serviceName: 'ux', - indices: 'apm-*', - status: 'success', + await waitFor(() => + expect(result.current).toEqual({ + hasDataMap: { + apm: { + hasData: true, + status: 'success', + }, + uptime: { + hasData: true, + indices: 'heartbeat-*, synthetics-*', + status: 'success', + }, + infra_logs: { hasData: true, indices: 'test-index', status: 'success' }, + infra_metrics: { hasData: true, indices: 'metric-*', status: 'success' }, + ux: { + hasData: true, + serviceName: 'ux', + indices: 'apm-*', + status: 'success', + }, + alert: { hasData: false, status: 'success' }, + universal_profiling: { hasData: false, status: 'success' }, }, - alert: { hasData: false, status: 'success' }, - universal_profiling: { hasData: false, status: 'success' }, - }, - hasAnyData: true, - isAllRequestsComplete: true, - forceUpdate: expect.any(String), - onRefreshTimeRange: expect.any(Function), - }); + hasAnyData: true, + isAllRequestsComplete: true, + forceUpdate: expect.any(String), + onRefreshTimeRange: expect.any(Function), + }) + ); }); }); @@ -297,7 +289,7 @@ describe('HasDataContextProvider', () => { afterAll(unregisterAll); it('hasAnyData returns true, apm returns true and all other apps return undefined', async () => { - const { result, waitForNextUpdate } = renderHook(() => useHasData(), { + const { result } = renderHook(() => useHasData(), { wrapper, }); expect(result.current).toEqual({ @@ -308,25 +300,23 @@ describe('HasDataContextProvider', () => { onRefreshTimeRange: expect.any(Function), }); - await act(async () => { - await waitForNextUpdate(); - }); - - expect(result.current).toEqual({ - hasDataMap: { - apm: { hasData: true, indices: sampleAPMIndices, status: 'success' }, - uptime: { hasData: undefined, status: 'success' }, - infra_logs: { hasData: undefined, status: 'success' }, - infra_metrics: { hasData: undefined, status: 'success' }, - ux: { hasData: undefined, status: 'success' }, - alert: { hasData: false, status: 'success' }, - universal_profiling: { hasData: false, status: 'success' }, - }, - hasAnyData: true, - isAllRequestsComplete: true, - forceUpdate: expect.any(String), - onRefreshTimeRange: expect.any(Function), - }); + await waitFor(() => + expect(result.current).toEqual({ + hasDataMap: { + apm: { hasData: true, indices: sampleAPMIndices, status: 'success' }, + uptime: { hasData: undefined, status: 'success' }, + infra_logs: { hasData: undefined, status: 'success' }, + infra_metrics: { hasData: undefined, status: 'success' }, + ux: { hasData: undefined, status: 'success' }, + alert: { hasData: false, status: 'success' }, + universal_profiling: { hasData: false, status: 'success' }, + }, + hasAnyData: true, + isAllRequestsComplete: true, + forceUpdate: expect.any(String), + onRefreshTimeRange: expect.any(Function), + }) + ); }); }); @@ -343,7 +333,7 @@ describe('HasDataContextProvider', () => { afterAll(unregisterAll); it('hasAnyData returns false, apm returns false and all other apps return undefined', async () => { - const { result, waitForNextUpdate } = renderHook(() => useHasData(), { + const { result } = renderHook(() => useHasData(), { wrapper, }); expect(result.current).toEqual({ @@ -354,29 +344,27 @@ describe('HasDataContextProvider', () => { onRefreshTimeRange: expect.any(Function), }); - await act(async () => { - await waitForNextUpdate(); - }); - - expect(result.current).toEqual({ - hasDataMap: { - apm: { - hasData: false, - indices: sampleAPMIndices, - status: 'success', + await waitFor(() => + expect(result.current).toEqual({ + hasDataMap: { + apm: { + hasData: false, + indices: sampleAPMIndices, + status: 'success', + }, + uptime: { hasData: undefined, status: 'success' }, + infra_logs: { hasData: undefined, status: 'success' }, + infra_metrics: { hasData: undefined, status: 'success' }, + ux: { hasData: undefined, status: 'success' }, + alert: { hasData: false, status: 'success' }, + universal_profiling: { hasData: false, status: 'success' }, }, - uptime: { hasData: undefined, status: 'success' }, - infra_logs: { hasData: undefined, status: 'success' }, - infra_metrics: { hasData: undefined, status: 'success' }, - ux: { hasData: undefined, status: 'success' }, - alert: { hasData: false, status: 'success' }, - universal_profiling: { hasData: false, status: 'success' }, - }, - hasAnyData: false, - isAllRequestsComplete: true, - forceUpdate: expect.any(String), - onRefreshTimeRange: expect.any(Function), - }); + hasAnyData: false, + isAllRequestsComplete: true, + forceUpdate: expect.any(String), + onRefreshTimeRange: expect.any(Function), + }) + ); }); }); }); @@ -412,7 +400,7 @@ describe('HasDataContextProvider', () => { afterAll(unregisterAll); it('hasAnyData returns true, apm is undefined and all other apps return true', async () => { - const { result, waitForNextUpdate } = renderHook(() => useHasData(), { wrapper }); + const { result } = renderHook(() => useHasData(), { wrapper }); expect(result.current).toEqual({ hasDataMap: { universal_profiling: { hasData: false, status: 'success' } }, hasAnyData: false, @@ -421,34 +409,32 @@ describe('HasDataContextProvider', () => { onRefreshTimeRange: expect.any(Function), }); - await act(async () => { - await waitForNextUpdate(); - }); - - expect(result.current).toEqual({ - hasDataMap: { - apm: { hasData: undefined, status: 'failure' }, - uptime: { - hasData: true, - indices: 'heartbeat-*, synthetics-*', - status: 'success', - }, - infra_logs: { hasData: true, indices: 'test-index', status: 'success' }, - infra_metrics: { hasData: true, indices: 'metric-*', status: 'success' }, - ux: { - hasData: true, - serviceName: 'ux', - indices: 'apm-*', - status: 'success', + await waitFor(() => + expect(result.current).toEqual({ + hasDataMap: { + apm: { hasData: undefined, status: 'failure' }, + uptime: { + hasData: true, + indices: 'heartbeat-*, synthetics-*', + status: 'success', + }, + infra_logs: { hasData: true, indices: 'test-index', status: 'success' }, + infra_metrics: { hasData: true, indices: 'metric-*', status: 'success' }, + ux: { + hasData: true, + serviceName: 'ux', + indices: 'apm-*', + status: 'success', + }, + alert: { hasData: false, status: 'success' }, + universal_profiling: { hasData: false, status: 'success' }, }, - alert: { hasData: false, status: 'success' }, - universal_profiling: { hasData: false, status: 'success' }, - }, - hasAnyData: true, - isAllRequestsComplete: true, - forceUpdate: expect.any(String), - onRefreshTimeRange: expect.any(Function), - }); + hasAnyData: true, + isAllRequestsComplete: true, + forceUpdate: expect.any(String), + onRefreshTimeRange: expect.any(Function), + }) + ); }); }); @@ -491,7 +477,7 @@ describe('HasDataContextProvider', () => { afterAll(unregisterAll); it('hasAnyData returns false and all apps return undefined', async () => { - const { result, waitForNextUpdate } = renderHook(() => useHasData(), { wrapper }); + const { result } = renderHook(() => useHasData(), { wrapper }); expect(result.current).toEqual({ hasDataMap: { universal_profiling: { hasData: false, status: 'success' } }, hasAnyData: false, @@ -500,25 +486,23 @@ describe('HasDataContextProvider', () => { onRefreshTimeRange: expect.any(Function), }); - await act(async () => { - await waitForNextUpdate(); - }); - - expect(result.current).toEqual({ - hasDataMap: { - apm: { hasData: undefined, status: 'failure' }, - uptime: { hasData: undefined, status: 'failure' }, - infra_logs: { hasData: undefined, status: 'failure' }, - infra_metrics: { hasData: undefined, status: 'failure' }, - ux: { hasData: undefined, status: 'failure' }, - alert: { hasData: false, status: 'success' }, - universal_profiling: { hasData: false, status: 'success' }, - }, - hasAnyData: false, - isAllRequestsComplete: true, - forceUpdate: expect.any(String), - onRefreshTimeRange: expect.any(Function), - }); + await waitFor(() => + expect(result.current).toEqual({ + hasDataMap: { + apm: { hasData: undefined, status: 'failure' }, + uptime: { hasData: undefined, status: 'failure' }, + infra_logs: { hasData: undefined, status: 'failure' }, + infra_metrics: { hasData: undefined, status: 'failure' }, + ux: { hasData: undefined, status: 'failure' }, + alert: { hasData: false, status: 'success' }, + universal_profiling: { hasData: false, status: 'success' }, + }, + hasAnyData: false, + isAllRequestsComplete: true, + forceUpdate: expect.any(String), + onRefreshTimeRange: expect.any(Function), + }) + ); }); }); }); @@ -538,7 +522,7 @@ describe('HasDataContextProvider', () => { }); it('returns if alerts are available', async () => { - const { result, waitForNextUpdate } = renderHook(() => useHasData(), { wrapper }); + const { result } = renderHook(() => useHasData(), { wrapper }); expect(result.current).toEqual({ hasDataMap: { universal_profiling: { hasData: false, status: 'success' } }, hasAnyData: false, @@ -547,25 +531,23 @@ describe('HasDataContextProvider', () => { onRefreshTimeRange: expect.any(Function), }); - await act(async () => { - await waitForNextUpdate(); - }); - - expect(result.current).toEqual({ - hasDataMap: { - apm: { hasData: undefined, status: 'success' }, - uptime: { hasData: undefined, status: 'success' }, - infra_logs: { hasData: undefined, status: 'success' }, - infra_metrics: { hasData: undefined, status: 'success' }, - ux: { hasData: undefined, status: 'success' }, - alert: { hasData: true, status: 'success' }, - universal_profiling: { hasData: false, status: 'success' }, - }, - hasAnyData: true, - isAllRequestsComplete: true, - forceUpdate: expect.any(String), - onRefreshTimeRange: expect.any(Function), - }); + await waitFor(() => + expect(result.current).toEqual({ + hasDataMap: { + apm: { hasData: undefined, status: 'success' }, + uptime: { hasData: undefined, status: 'success' }, + infra_logs: { hasData: undefined, status: 'success' }, + infra_metrics: { hasData: undefined, status: 'success' }, + ux: { hasData: undefined, status: 'success' }, + alert: { hasData: true, status: 'success' }, + universal_profiling: { hasData: false, status: 'success' }, + }, + hasAnyData: true, + isAllRequestsComplete: true, + forceUpdate: expect.any(String), + onRefreshTimeRange: expect.any(Function), + }) + ); }); }); }); diff --git a/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_data.test.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_data.test.ts index 3d148cf2283d1..f3b8dfaef848c 100644 --- a/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_data.test.ts +++ b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_data.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { act, renderHook } from '@testing-library/react-hooks'; +import { act, waitFor, renderHook } from '@testing-library/react'; import { kibanaStartMock } from '../utils/kibana_react.mock'; import { useFetchAlertData } from './use_fetch_alert_data'; @@ -39,16 +39,10 @@ describe('useFetchAlertData', () => { jest.clearAllMocks(); }); - it('initially is not loading and does not have data', async () => { - await act(async () => { - const { result, waitForNextUpdate } = renderHook]>( - () => useFetchAlertData(testIds) - ); + it('initially is loading and does not have data', async () => { + const { result } = renderHook(() => useFetchAlertData(testIds)); - await waitForNextUpdate(); - - expect(result.current).toEqual([false, {}]); - }); + expect(result.current).toEqual([true, {}]); }); it('returns no data when an error occurs', async () => { @@ -56,44 +50,31 @@ describe('useFetchAlertData', () => { throw new Error('an http error'); }); - await act(async () => { - const { result, waitForNextUpdate } = renderHook]>( - () => useFetchAlertData(testIds) - ); + const { result } = renderHook(() => useFetchAlertData(testIds)); - await waitForNextUpdate(); - - expect(result.current).toEqual([false, {}]); - }); + await waitFor(() => expect(result.current).toEqual([false, {}])); }); it('retrieves the alert data', async () => { - await act(async () => { - const { result, waitForNextUpdate } = renderHook]>( - () => useFetchAlertData(testIds) - ); - - await waitForNextUpdate(); - await waitForNextUpdate(); + const { result } = renderHook(() => useFetchAlertData(testIds)); + await waitFor(() => expect(result.current).toEqual([ false, { '123': { _id: '123', _index: 'index', testField: 'test' } }, - ]); - }); + ]) + ); }); it('does not populate the results when the request is canceled', async () => { - await act(async () => { - const { result, waitForNextUpdate, unmount } = renderHook< - string, - [boolean, Record] - >(() => useFetchAlertData(testIds)); + const { result, unmount } = renderHook(() => useFetchAlertData(testIds)); - await waitForNextUpdate(); + act(() => { unmount(); - - expect(result.current).toEqual([false, {}]); }); + + // unmounting the component should cancels the request in flight, + // and as such the loading value would actually be true since not the request is not resolved + expect(result.current).toEqual([true, {}]); }); }); diff --git a/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_detail.test.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_detail.test.ts index a35299bfb1033..8cc1a9db1505e 100644 --- a/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_detail.test.ts +++ b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_detail.test.ts @@ -5,12 +5,12 @@ * 2.0. */ -import { act, renderHook } from '@testing-library/react-hooks'; +import { act, waitFor, renderHook } from '@testing-library/react'; import { kibanaStartMock } from '../utils/kibana_react.mock'; import * as pluginContext from './use_plugin_context'; import { createObservabilityRuleTypeRegistryMock } from '..'; import { PluginContextValue } from '../context/plugin_context/plugin_context'; -import { AlertData, useFetchAlertDetail } from './use_fetch_alert_detail'; +import { useFetchAlertDetail } from './use_fetch_alert_detail'; const mockUseKibanaReturnValue = kibanaStartMock.startContract(); @@ -63,16 +63,10 @@ describe('useFetchAlertDetail', () => { jest.clearAllMocks(); }); - it('initially is not loading and does not have data', async () => { - await act(async () => { - const { result, waitForNextUpdate } = renderHook(() => - useFetchAlertDetail(id) - ); + it('initially is loading and does not have data', () => { + const { result } = renderHook(() => useFetchAlertDetail(id)); - await waitForNextUpdate(); - - expect(result.current).toEqual([false, null]); - }); + expect(result.current).toEqual([true, null]); }); it('returns no data when an error occurs', async () => { @@ -80,26 +74,16 @@ describe('useFetchAlertDetail', () => { throw new Error('an http error'); }); - await act(async () => { - const { result, waitForNextUpdate } = renderHook(() => - useFetchAlertDetail('123') - ); + const { result } = renderHook(() => useFetchAlertDetail('123')); - await waitForNextUpdate(); - - expect(result.current).toEqual([false, null]); - }); + await waitFor(() => expect(result.current).toEqual([false, null])); }); it('retrieves the alert data', async () => { - await act(async () => { - const { result, waitForNextUpdate } = renderHook(() => - useFetchAlertDetail(id) - ); - - await waitForNextUpdate(); - await waitForNextUpdate(); + const { result } = renderHook(() => useFetchAlertDetail(id)); + await waitFor(() => { + expect(result.current[0]).toEqual(false); expect(result.current).toMatchInlineSnapshot(` Array [ false, @@ -180,16 +164,13 @@ describe('useFetchAlertDetail', () => { }); it('does not populate the results when the request is canceled', async () => { - await act(async () => { - const { result, waitForNextUpdate, unmount } = renderHook< - string, - [boolean, AlertData | null] - >(() => useFetchAlertDetail('123')); + const { result, unmount } = renderHook(() => useFetchAlertDetail('123')); - await waitForNextUpdate(); + act(() => { unmount(); - - expect(result.current).toEqual([false, null]); }); + + // since we unmount whilst the request is in flight the loading be true + await waitFor(() => expect(result.current).toEqual([true, null])); }); }); diff --git a/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_bulk_cases.test.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_bulk_cases.test.ts index 8e908abe5fcdd..ff5a8402cdd0e 100644 --- a/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_bulk_cases.test.ts +++ b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_bulk_cases.test.ts @@ -6,7 +6,7 @@ */ import { useFetchBulkCases } from './use_fetch_bulk_cases'; -import { act, renderHook } from '@testing-library/react-hooks'; +import { waitFor, renderHook } from '@testing-library/react'; import { kibanaStartMock } from '../utils/kibana_react.mock'; const mockUseKibanaReturnValue = kibanaStartMock.startContract(); @@ -18,11 +18,9 @@ jest.mock('../utils/kibana_react', () => ({ describe('Bulk Get Cases API hook', () => { it('initially is not loading and does not have data', async () => { - await act(async () => { - const { result, waitForNextUpdate } = renderHook(() => useFetchBulkCases({ ids: [] })); - - await waitForNextUpdate(); + const { result } = renderHook(() => useFetchBulkCases({ ids: [] })); + await waitFor(() => { expect(result.current.cases).toEqual([]); expect(result.current.error).toEqual(undefined); expect(result.current.isLoading).toEqual(false); diff --git a/x-pack/plugins/observability_solution/observability/public/pages/alerts/components/alert_actions.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alerts/components/alert_actions.test.tsx index 32a9a70e76ab1..a4f3f93212846 100644 --- a/x-pack/plugins/observability_solution/observability/public/pages/alerts/components/alert_actions.test.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/alerts/components/alert_actions.test.tsx @@ -6,7 +6,6 @@ */ import React from 'react'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; -import { act } from '@testing-library/react-hooks'; import { mountWithIntl, nextTick } from '@kbn/test-jest-helpers'; import { kibanaStartMock } from '../../../utils/kibana_react.mock'; import { observabilityAIAssistantPluginMock } from '@kbn/observability-ai-assistant-plugin/public/mock'; @@ -20,7 +19,7 @@ import { KibanaPageTemplate } from '@kbn/shared-ux-page-kibana-template'; import { allCasesPermissions, noCasesPermissions } from '@kbn/observability-shared-plugin/public'; import { noop } from 'lodash'; import { EuiDataGridCellValueElementProps } from '@elastic/eui/src/components/datagrid/data_grid_types'; -import { waitFor } from '@testing-library/react'; +import { waitFor, act } from '@testing-library/react'; import { Router } from '@kbn/shared-ux-router'; import { createMemoryHistory } from 'history'; import { ObservabilityRuleTypeRegistry } from '../../../rules/create_observability_rule_type_registry'; diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/common/connectors.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/common/connectors.ts index f1b5b5567adc7..f176f4009ac84 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/common/connectors.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/common/connectors.ts @@ -11,12 +11,6 @@ export enum ObservabilityAIAssistantConnectorType { Gemini = '.gemini', } -export const SUPPORTED_CONNECTOR_TYPES = [ - ObservabilityAIAssistantConnectorType.OpenAI, - ObservabilityAIAssistantConnectorType.Bedrock, - ObservabilityAIAssistantConnectorType.Gemini, -]; - export function isSupportedConnectorType( type: string ): type is ObservabilityAIAssistantConnectorType { diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/common/conversation_complete.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/common/conversation_complete.ts index 3c4e2cd609f8b..ccf958ca98a5d 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/common/conversation_complete.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/common/conversation_complete.ts @@ -10,6 +10,7 @@ import { TokenCount as TokenCountType, type Message } from './types'; export enum StreamingChatResponseEventType { ChatCompletionChunk = 'chatCompletionChunk', + ChatCompletionMessage = 'chatCompletionMessage', ConversationCreate = 'conversationCreate', ConversationUpdate = 'conversationUpdate', MessageAdd = 'messageAdd', @@ -25,19 +26,26 @@ type StreamingChatResponseEventBase< type: TEventType; } & TData; -export type ChatCompletionChunkEvent = StreamingChatResponseEventBase< - StreamingChatResponseEventType.ChatCompletionChunk, - { - id: string; - message: { - content?: string; - function_call?: { - name?: string; - arguments?: string; +type BaseChatCompletionEvent = + StreamingChatResponseEventBase< + TType, + { + id: string; + message: { + content?: string; + function_call?: { + name?: string; + arguments?: string; + }; }; - }; - } ->; + } + >; + +export type ChatCompletionChunkEvent = + BaseChatCompletionEvent; + +export type ChatCompletionMessageEvent = + BaseChatCompletionEvent; export type ConversationCreateEvent = StreamingChatResponseEventBase< StreamingChatResponseEventType.ConversationCreate, @@ -100,6 +108,7 @@ export type TokenCountEvent = StreamingChatResponseEventBase< export type StreamingChatResponseEvent = | ChatCompletionChunkEvent + | ChatCompletionMessageEvent | ConversationCreateEvent | ConversationUpdateEvent | MessageAddEvent @@ -112,7 +121,7 @@ export type StreamingChatResponseEventWithoutError = Exclude< ChatCompletionErrorEvent >; -export type ChatEvent = ChatCompletionChunkEvent | TokenCountEvent; +export type ChatEvent = ChatCompletionChunkEvent | TokenCountEvent | ChatCompletionMessageEvent; export type MessageOrChatEvent = ChatEvent | MessageAddEvent; export enum ChatCompletionErrorCode { diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant_app/common/convert_messages_for_inference.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/common/convert_messages_for_inference.ts similarity index 96% rename from x-pack/plugins/observability_solution/observability_ai_assistant_app/common/convert_messages_for_inference.ts rename to x-pack/plugins/observability_solution/observability_ai_assistant/common/convert_messages_for_inference.ts index 7ab9516440988..974b002ea93c6 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant_app/common/convert_messages_for_inference.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/common/convert_messages_for_inference.ts @@ -5,13 +5,13 @@ * 2.0. */ -import { Message, MessageRole } from '@kbn/observability-ai-assistant-plugin/common'; import { AssistantMessage, Message as InferenceMessage, MessageRole as InferenceMessageRole, } from '@kbn/inference-common'; import { generateFakeToolCallId } from '@kbn/inference-plugin/common'; +import { Message, MessageRole } from '.'; export function convertMessagesForInference(messages: Message[]): InferenceMessage[] { const inferenceMessages: InferenceMessage[] = []; diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/common/functions/types.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/common/functions/types.ts index bd786e9ba3c75..093aed3aa7120 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/common/functions/types.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/common/functions/types.ts @@ -35,7 +35,9 @@ export type FunctionResponse = } | Observable; -export interface FunctionDefinition { +export interface FunctionDefinition< + TParameters extends CompatibleJSONSchema = CompatibleJSONSchema +> { name: string; description: string; visibility?: FunctionVisibility; diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/common/index.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/common/index.ts index 78c3d55e706e3..52afdf95d4a43 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/common/index.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/common/index.ts @@ -17,6 +17,8 @@ export { export type { ChatCompletionChunkEvent, + ChatCompletionMessageEvent, + TokenCountEvent, ConversationCreateEvent, ConversationUpdateEvent, MessageAddEvent, diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/concatenate_chat_completion_chunks.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/concatenate_chat_completion_chunks.ts index bead0974b91a3..8cee030dbac18 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/concatenate_chat_completion_chunks.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/concatenate_chat_completion_chunks.ts @@ -6,8 +6,9 @@ */ import { cloneDeep } from 'lodash'; -import { type Observable, scan } from 'rxjs'; -import type { ChatCompletionChunkEvent } from '../conversation_complete'; +import { type Observable, scan, filter, defaultIfEmpty } from 'rxjs'; +import type { ChatCompletionChunkEvent, ChatEvent } from '../conversation_complete'; +import { StreamingChatResponseEventType } from '../conversation_complete'; import { MessageRole } from '../types'; export interface ConcatenatedMessage { @@ -24,8 +25,12 @@ export interface ConcatenatedMessage { export const concatenateChatCompletionChunks = () => - (source: Observable): Observable => + (source: Observable): Observable => source.pipe( + filter( + (event): event is ChatCompletionChunkEvent => + event.type === StreamingChatResponseEventType.ChatCompletionChunk + ), scan( (acc, { message }) => { acc.message.content += message.content ?? ''; @@ -45,5 +50,16 @@ export const concatenateChatCompletionChunks = role: MessageRole.Assistant, }, } as ConcatenatedMessage - ) + ), + defaultIfEmpty({ + message: { + content: '', + function_call: { + name: '', + arguments: '', + trigger: MessageRole.Assistant, + }, + role: MessageRole.Assistant, + }, + }) ); diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/emit_with_concatenated_message.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/emit_with_concatenated_message.ts index 47370cc48cf00..173331f80d776 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/emit_with_concatenated_message.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/emit_with_concatenated_message.ts @@ -14,13 +14,15 @@ import { OperatorFunction, shareReplay, withLatestFrom, + filter, } from 'rxjs'; import { withoutTokenCountEvents } from './without_token_count_events'; import { - ChatCompletionChunkEvent, + type ChatCompletionChunkEvent, ChatEvent, MessageAddEvent, StreamingChatResponseEventType, + StreamingChatResponseEvent, } from '../conversation_complete'; import { concatenateChatCompletionChunks, @@ -51,13 +53,23 @@ function mergeWithEditedMessage( ); } +function filterChunkEvents(): OperatorFunction< + StreamingChatResponseEvent, + ChatCompletionChunkEvent +> { + return filter( + (event): event is ChatCompletionChunkEvent => + event.type === StreamingChatResponseEventType.ChatCompletionChunk + ); +} + export function emitWithConcatenatedMessage( callback?: ConcatenateMessageCallback ): OperatorFunction { return (source$) => { const shared = source$.pipe(shareReplay()); - const withoutTokenCount$ = shared.pipe(withoutTokenCountEvents()); + const withoutTokenCount$ = shared.pipe(filterChunkEvents()); const response$ = concat( shared, diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/process_openai_stream.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/process_openai_stream.ts deleted file mode 100644 index 184b4817abf64..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/common/utils/process_openai_stream.ts +++ /dev/null @@ -1,72 +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. - */ -import OpenAI from 'openai'; -import { filter, map, Observable, tap } from 'rxjs'; -import { v4 } from 'uuid'; -import type { Logger } from '@kbn/logging'; -import { Message } from '..'; -import { - type ChatCompletionChunkEvent, - createInternalServerError, - createTokenLimitReachedError, - StreamingChatResponseEventType, -} from '../conversation_complete'; - -export type CreateChatCompletionResponseChunk = OpenAI.ChatCompletionChunk; - -export function processOpenAiStream(logger: Logger) { - return (source: Observable): Observable => { - const id = v4(); - - return source.pipe( - filter((line) => !!line && line !== '[DONE]'), - map( - (line) => - JSON.parse(line) as CreateChatCompletionResponseChunk | { error: { message: string } } - ), - tap((line) => { - if ('error' in line) { - throw createInternalServerError(line.error.message); - } - if ( - 'choices' in line && - line.choices.length && - line.choices[0].finish_reason === 'length' - ) { - throw createTokenLimitReachedError(); - } - }), - filter( - (line): line is CreateChatCompletionResponseChunk => - 'object' in line && line.object === 'chat.completion.chunk' && line.choices.length > 0 - ), - map((chunk): ChatCompletionChunkEvent => { - const delta = chunk.choices[0].delta; - if (delta.tool_calls && delta.tool_calls.length > 1) { - logger.warn(`More tools than 1 were called: ${JSON.stringify(delta.tool_calls)}`); - } - - const functionCall: Omit | undefined = - delta.tool_calls - ? { - name: delta.tool_calls[0].function?.name, - arguments: delta.tool_calls[0].function?.arguments, - } - : delta.function_call; - - return { - id, - type: StreamingChatResponseEventType.ChatCompletionChunk, - message: { - content: delta.content ?? '', - function_call: functionCall, - }, - }; - }) - ); - }; -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/kibana.jsonc b/x-pack/plugins/observability_solution/observability_ai_assistant/kibana.jsonc index e7a6a905a8bd2..ed106c9b6a791 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/kibana.jsonc +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/kibana.jsonc @@ -1,38 +1,26 @@ { "type": "plugin", "id": "@kbn/observability-ai-assistant-plugin", - "owner": [ - "@elastic/obs-ai-assistant" - ], + "owner": ["@elastic/obs-ai-assistant"], "group": "platform", "visibility": "shared", "plugin": { "id": "observabilityAIAssistant", "browser": true, "server": true, - "configPath": [ - "xpack", - "observabilityAIAssistant" - ], + "configPath": ["xpack", "observabilityAIAssistant"], "requiredPlugins": [ "actions", "features", "licensing", "security", "taskManager", - "dataViews" - ], - "optionalPlugins": [ - "cloud", - "serverless" - ], - "requiredBundles": [ - "kibanaReact", - "kibanaUtils" - ], - "runtimePluginDependencies": [ - "ml" + "dataViews", + "inference" ], + "optionalPlugins": ["cloud", "serverless"], + "requiredBundles": ["kibanaReact", "kibanaUtils"], + "runtimePluginDependencies": ["ml"], "extraPublicDirs": [] } } diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/bedrock_claude_adapter.test.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/bedrock_claude_adapter.test.ts deleted file mode 100644 index b45e6a91fb48c..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/bedrock_claude_adapter.test.ts +++ /dev/null @@ -1,225 +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. - */ -import { Logger } from '@kbn/logging'; -import dedent from 'dedent'; -import { last } from 'lodash'; -import { MessageRole } from '../../../../../common'; -import { createBedrockClaudeAdapter } from './bedrock_claude_adapter'; -import { LlmApiAdapterFactory } from '../types'; -import { TOOL_USE_END, TOOL_USE_START } from '../simulate_function_calling/constants'; - -describe('createBedrockClaudeAdapter', () => { - describe('getSubAction', () => { - function callSubActionFactory(overrides?: Partial[0]>) { - const subActionParams = createBedrockClaudeAdapter({ - logger: { - debug: jest.fn(), - } as unknown as Logger, - functions: [ - { - name: 'my_tool', - description: 'My tool', - parameters: { - properties: { - myParam: { - type: 'string', - }, - }, - }, - }, - ], - messages: [ - { - '@timestamp': new Date().toString(), - message: { - role: MessageRole.System, - content: '', - }, - }, - { - '@timestamp': new Date().toString(), - message: { - role: MessageRole.User, - content: 'How can you help me?', - }, - }, - ], - ...overrides, - }).getSubAction().subActionParams as { - temperature: number; - messages: Array<{ role: string; content: string }>; - }; - - return { - ...subActionParams, - messages: subActionParams.messages.map((msg) => ({ ...msg, content: dedent(msg.content) })), - }; - } - describe('with functions', () => { - it('sets the temperature to 0', () => { - expect(callSubActionFactory().temperature).toEqual(0); - }); - - it('formats the functions', () => { - expect(callSubActionFactory().messages[0].content).toContain( - dedent( - JSON.stringify([ - { - name: 'my_tool', - description: 'My tool', - parameters: { - properties: { - myParam: { - type: 'string', - }, - }, - }, - }, - ]) - ) - ); - }); - - it('replaces mentions of functions with tools', () => { - const messages = [ - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.System, - content: - 'Call the "esql" tool. You can chain successive function calls, using the functions available.', - }, - }, - ]; - - const content = callSubActionFactory({ messages }).messages[0].content; - - expect(content).not.toContain(`"esql" function`); - expect(content).toContain(`"esql" tool`); - expect(content).not.toContain(`functions`); - expect(content).toContain(`tools`); - expect(content).toContain(`tool calls`); - }); - - it('mentions to explicitly call the specified function if given', () => { - expect(last(callSubActionFactory({ functionCall: 'my_tool' }).messages)!.content).toContain( - 'Remember, use the my_tool tool to answer this question.' - ); - }); - - it('formats the function requests as JSON', () => { - const messages = [ - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.System, - content: '', - }, - }, - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.Assistant, - function_call: { - name: 'my_tool', - arguments: JSON.stringify({ myParam: 'myValue' }), - trigger: MessageRole.User as const, - }, - }, - }, - ]; - - expect(last(callSubActionFactory({ messages }).messages)!.content).toContain( - dedent(`${TOOL_USE_START} - \`\`\`json - ${JSON.stringify({ name: 'my_tool', input: { myParam: 'myValue' } })} - \`\`\`${TOOL_USE_END}`) - ); - }); - - it('formats errors', () => { - const messages = [ - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.System, - content: '', - }, - }, - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.Assistant, - function_call: { - name: 'my_tool', - arguments: JSON.stringify({ myParam: 'myValue' }), - trigger: MessageRole.User as const, - }, - }, - }, - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.User, - name: 'my_tool', - content: JSON.stringify({ error: 'An internal server error occurred' }), - }, - }, - ]; - - expect(JSON.parse(last(callSubActionFactory({ messages }).messages)!.content)).toEqual({ - type: 'tool_result', - tool: 'my_tool', - error: 'An internal server error occurred', - is_error: true, - }); - }); - - it('formats function responses as JSON', () => { - const messages = [ - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.System, - content: '', - }, - }, - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.Assistant, - function_call: { - name: 'my_tool', - arguments: JSON.stringify({ myParam: 'myValue' }), - trigger: MessageRole.User as const, - }, - }, - }, - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.User, - name: 'my_tool', - content: JSON.stringify({ myResponse: { myParam: 'myValue' } }), - }, - }, - ]; - - expect(JSON.parse(last(callSubActionFactory({ messages }).messages)!.content)).toEqual({ - type: 'tool_result', - tool: 'my_tool', - myResponse: { myParam: 'myValue' }, - }); - }); - }); - }); - - describe('streamIntoObservable', () => { - // this data format is heavily encoded, so hard to reproduce. - // will leave this empty until we have some sample data. - }); -}); diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/bedrock_claude_adapter.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/bedrock_claude_adapter.ts deleted file mode 100644 index 0cbe2f98514a4..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/bedrock_claude_adapter.ts +++ /dev/null @@ -1,70 +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. - */ - -import { filter, tap } from 'rxjs'; -import { createInternalServerError } from '../../../../../common/conversation_complete'; -import { - BedrockChunkMember, - eventstreamSerdeIntoObservable, -} from '../../../util/eventstream_serde_into_observable'; -import { processBedrockStream } from './process_bedrock_stream'; -import type { LlmApiAdapterFactory } from '../types'; -import { getMessagesWithSimulatedFunctionCalling } from '../simulate_function_calling/get_messages_with_simulated_function_calling'; -import { parseInlineFunctionCalls } from '../simulate_function_calling/parse_inline_function_calls'; -import { TOOL_USE_END } from '../simulate_function_calling/constants'; - -// Most of the work here is to re-format OpenAI-compatible functions for Claude. -// See https://github.com/anthropics/anthropic-tools/blob/main/tool_use_package/prompt_constructors.py - -export const createBedrockClaudeAdapter: LlmApiAdapterFactory = ({ - messages, - functions, - functionCall, - logger, -}) => { - const filteredFunctions = functionCall - ? functions?.filter((fn) => fn.name === functionCall) - : functions; - return { - getSubAction: () => { - const messagesWithSimulatedFunctionCalling = getMessagesWithSimulatedFunctionCalling({ - messages, - functions: filteredFunctions, - functionCall, - }); - - const formattedMessages = messagesWithSimulatedFunctionCalling.map((message) => { - return { - role: message.message.role, - content: message.message.content ?? '', - }; - }); - - return { - subAction: 'invokeStream', - subActionParams: { - messages: formattedMessages, - temperature: 0, - stopSequences: ['\n\nHuman:', TOOL_USE_END], - }, - }; - }, - streamIntoObservable: (readable) => - eventstreamSerdeIntoObservable(readable, logger).pipe( - tap((value) => { - if ('modelStreamErrorException' in value) { - throw createInternalServerError(value.modelStreamErrorException.originalMessage); - } - }), - filter((value): value is BedrockChunkMember => { - return 'chunk' in value && value.chunk?.headers?.[':event-type']?.value === 'chunk'; - }), - processBedrockStream(), - parseInlineFunctionCalls({ logger }) - ), - }; -}; diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/parse_serde_chunk_body.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/parse_serde_chunk_body.ts deleted file mode 100644 index e1b186d36c647..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/parse_serde_chunk_body.ts +++ /dev/null @@ -1,13 +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. - */ - -import { toUtf8 } from '@smithy/util-utf8'; -import { BedrockChunkMember } from '../../../util/eventstream_serde_into_observable'; - -export function parseSerdeChunkBody(chunk: BedrockChunkMember['chunk']) { - return JSON.parse(Buffer.from(JSON.parse(toUtf8(chunk.body)).bytes, 'base64').toString('utf-8')); -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/process_bedrock_stream.test.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/process_bedrock_stream.test.ts deleted file mode 100644 index 6aef5fb091185..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/process_bedrock_stream.test.ts +++ /dev/null @@ -1,212 +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. - */ - -import { fromUtf8 } from '@smithy/util-utf8'; -import { lastValueFrom, of } from 'rxjs'; -import { Logger } from '@kbn/logging'; -import { concatenateChatCompletionChunks } from '../../../../../common/utils/concatenate_chat_completion_chunks'; -import { processBedrockStream } from './process_bedrock_stream'; -import { MessageRole } from '../../../../../common'; -import { TOOL_USE_END, TOOL_USE_START } from '../simulate_function_calling/constants'; -import { parseInlineFunctionCalls } from '../simulate_function_calling/parse_inline_function_calls'; -import { withoutTokenCountEvents } from '../../../../../common/utils/without_token_count_events'; - -describe('processBedrockStream', () => { - const encodeChunk = (body: unknown) => { - return { - chunk: { - headers: { - '::event-type': { value: 'chunk', type: 'uuid' as const }, - }, - body: fromUtf8( - JSON.stringify({ - bytes: Buffer.from(JSON.stringify(body), 'utf-8').toString('base64'), - }) - ), - }, - }; - }; - - const encode = (completion: string) => { - return encodeChunk({ type: 'content_block_delta', delta: { type: 'text', text: completion } }); - }; - - const start = () => { - return encodeChunk({ type: 'message_start' }); - }; - - const stop = (stopSequence?: string) => { - return encodeChunk({ - type: 'message_delta', - delta: { - stop_sequence: stopSequence || null, - }, - }); - }; - - function getLoggerMock() { - return { - debug: jest.fn(), - } as unknown as Logger; - } - - it('parses normal text messages', async () => { - expect( - await lastValueFrom( - of( - start(), - encode('This'), - encode(' is'), - encode(' some normal'), - encode(' text'), - stop() - ).pipe( - processBedrockStream(), - parseInlineFunctionCalls({ - logger: getLoggerMock(), - }), - withoutTokenCountEvents(), - concatenateChatCompletionChunks() - ) - ) - ).toEqual({ - message: { - content: 'This is some normal text', - function_call: { - arguments: '', - name: '', - trigger: MessageRole.Assistant, - }, - role: MessageRole.Assistant, - }, - }); - }); - - it('parses function calls when no text is given', async () => { - expect( - await lastValueFrom( - of( - start(), - encode(TOOL_USE_START), - encode('```json\n'), - encode('{ "name": "my_tool", "input": { "my_param": "my_value" } }\n'), - encode('```'), - stop(TOOL_USE_END) - ).pipe( - processBedrockStream(), - parseInlineFunctionCalls({ - logger: getLoggerMock(), - }), - withoutTokenCountEvents(), - concatenateChatCompletionChunks() - ) - ) - ).toEqual({ - message: { - content: '', - function_call: { - arguments: JSON.stringify({ my_param: 'my_value' }), - name: 'my_tool', - trigger: MessageRole.Assistant, - }, - role: MessageRole.Assistant, - }, - }); - }); - - it('parses function calls when they are prefaced by text', async () => { - expect( - await lastValueFrom( - of( - start(), - encode('This is'), - encode(` my text${TOOL_USE_START.substring(0, 4)}`), - encode(`${TOOL_USE_START.substring(4)}\n\`\`\`json\n{"name":`), - encode(` "my_tool", "input`), - encode(`": { "my_param": "my_value" } }\n`), - encode('```'), - stop(TOOL_USE_END) - ).pipe( - processBedrockStream(), - parseInlineFunctionCalls({ - logger: getLoggerMock(), - }), - withoutTokenCountEvents(), - concatenateChatCompletionChunks() - ) - ) - ).toEqual({ - message: { - content: 'This is my text', - function_call: { - arguments: JSON.stringify({ my_param: 'my_value' }), - name: 'my_tool', - trigger: MessageRole.Assistant, - }, - role: MessageRole.Assistant, - }, - }); - }); - - it('throws an error if the JSON cannot be parsed', async () => { - async function fn() { - return lastValueFrom( - of( - start(), - encode(TOOL_USE_START), - encode('```json\n'), - encode('invalid json\n'), - encode('```'), - stop(TOOL_USE_END) - ).pipe( - processBedrockStream(), - parseInlineFunctionCalls({ - logger: getLoggerMock(), - }), - withoutTokenCountEvents(), - concatenateChatCompletionChunks() - ) - ); - } - - await expect(fn).rejects.toThrowErrorMatchingInlineSnapshot( - `"Unexpected token 'i', \\"invalid json\\" is not valid JSON"` - ); - }); - - it('successfully invokes a function without parameters', async () => { - expect( - await lastValueFrom( - of( - start(), - encode(TOOL_USE_START), - encode('```json\n'), - encode('{ "name": "my_tool" }\n'), - encode('```'), - stop(TOOL_USE_END) - ).pipe( - processBedrockStream(), - parseInlineFunctionCalls({ - logger: getLoggerMock(), - }), - withoutTokenCountEvents(), - concatenateChatCompletionChunks() - ) - ) - ).toEqual({ - message: { - content: '', - function_call: { - arguments: '{}', - name: 'my_tool', - trigger: MessageRole.Assistant, - }, - role: MessageRole.Assistant, - }, - }); - }); -}); diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/process_bedrock_stream.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/process_bedrock_stream.ts deleted file mode 100644 index 0f520102aac2d..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/process_bedrock_stream.ts +++ /dev/null @@ -1,105 +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. - */ - -import { Observable, Subscriber } from 'rxjs'; -import { v4 } from 'uuid'; -import { - ChatCompletionChunkEvent, - StreamingChatResponseEventType, - TokenCountEvent, -} from '../../../../../common/conversation_complete'; -import type { BedrockChunkMember } from '../../../util/eventstream_serde_into_observable'; -import { parseSerdeChunkBody } from './parse_serde_chunk_body'; -import type { - CompletionChunk, - ContentBlockDeltaChunk, - ContentBlockStartChunk, - MessageStopChunk, -} from './types'; - -export function processBedrockStream() { - return (source: Observable) => - new Observable((subscriber) => { - const id = v4(); - - // We use this to make sure we don't complete the Observable - // before all operations have completed. - let nextPromise = Promise.resolve(); - - // As soon as we see a ` { - nextPromise = nextPromise.then(() => - handleNext(value).catch((error) => subscriber.error(error)) - ); - }, - error: (err) => { - subscriber.error(err); - }, - complete: () => { - nextPromise.then(() => subscriber.complete()).catch(() => {}); - }, - }); - }); -} - -function isTokenCountCompletionChunk(value: any): value is MessageStopChunk { - return value.type === 'message_stop' && 'amazon-bedrock-invocationMetrics' in value; -} - -function emitTokenCountEvent( - subscriber: Subscriber, - chunk: MessageStopChunk -) { - const { inputTokenCount, outputTokenCount } = chunk['amazon-bedrock-invocationMetrics']; - - subscriber.next({ - type: StreamingChatResponseEventType.TokenCount, - tokens: { - completion: outputTokenCount, - prompt: inputTokenCount, - total: inputTokenCount + outputTokenCount, - }, - }); -} - -function getCompletion(chunk: ContentBlockStartChunk | ContentBlockDeltaChunk) { - return chunk.type === 'content_block_start' ? chunk.content_block.text : chunk.delta.text; -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/types.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/types.ts deleted file mode 100644 index 7fd6f17488966..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/bedrock/types.ts +++ /dev/null @@ -1,63 +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. - */ - -interface CompletionChunkBase { - type: string; -} - -export interface MessageStartChunk extends CompletionChunkBase { - type: 'message_start'; - message: unknown; -} - -export interface ContentBlockStartChunk extends CompletionChunkBase { - type: 'content_block_start'; - content_block: { - type: 'text'; - text: string; - }; -} - -export interface ContentBlockDeltaChunk extends CompletionChunkBase { - type: 'content_block_delta'; - delta: { - type: 'text_delta'; - text: string; - }; -} - -export interface ContentBlockStopChunk extends CompletionChunkBase { - type: 'content_block_stop'; -} - -export interface MessageDeltaChunk extends CompletionChunkBase { - type: 'message_delta'; - delta: { - stop_reason: string; - stop_sequence: null | string; - usage: { - output_tokens: number; - }; - }; -} - -export interface MessageStopChunk extends CompletionChunkBase { - type: 'message_stop'; - 'amazon-bedrock-invocationMetrics': { - inputTokenCount: number; - outputTokenCount: number; - invocationLatency: number; - firstByteLatency: number; - }; -} - -export type CompletionChunk = - | MessageStartChunk - | ContentBlockStartChunk - | ContentBlockDeltaChunk - | ContentBlockStopChunk - | MessageDeltaChunk; diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/gemini_adapter.test.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/gemini_adapter.test.ts deleted file mode 100644 index df2986fdfcf8d..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/gemini_adapter.test.ts +++ /dev/null @@ -1,357 +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. - */ -import { Logger } from '@kbn/logging'; -import dedent from 'dedent'; -import { last } from 'lodash'; -import { last as lastOperator, lastValueFrom, partition, shareReplay } from 'rxjs'; -import { Readable } from 'stream'; -import { - ChatCompletionChunkEvent, - concatenateChatCompletionChunks, - MessageRole, - StreamingChatResponseEventType, -} from '../../../../../common'; -import { TOOL_USE_END, TOOL_USE_START } from '../simulate_function_calling/constants'; -import { LlmApiAdapterFactory } from '../types'; -import { createGeminiAdapter } from './gemini_adapter'; -import { GoogleGenerateContentResponseChunk } from './types'; - -describe('createGeminiAdapter', () => { - describe('getSubAction', () => { - function callSubActionFactory(overrides?: Partial[0]>) { - const subActionParams = createGeminiAdapter({ - logger: { - debug: jest.fn(), - } as unknown as Logger, - functions: [ - { - name: 'my_tool', - description: 'My tool', - parameters: { - properties: { - myParam: { - type: 'string', - }, - }, - }, - }, - ], - messages: [ - { - '@timestamp': new Date().toString(), - message: { - role: MessageRole.System, - content: '', - }, - }, - { - '@timestamp': new Date().toString(), - message: { - role: MessageRole.User, - content: 'How can you help me?', - }, - }, - ], - ...overrides, - }).getSubAction().subActionParams as { - temperature: number; - messages: Array<{ role: string; content: string }>; - }; - - return { - ...subActionParams, - messages: subActionParams.messages.map((msg) => ({ ...msg, content: dedent(msg.content) })), - }; - } - describe('with functions', () => { - it('sets the temperature to 0', () => { - expect(callSubActionFactory().temperature).toEqual(0); - }); - - it('formats the functions', () => { - expect(callSubActionFactory().messages[0].content).toContain( - dedent( - JSON.stringify([ - { - name: 'my_tool', - description: 'My tool', - parameters: { - properties: { - myParam: { - type: 'string', - }, - }, - }, - }, - ]) - ) - ); - }); - - it('replaces mentions of functions with tools', () => { - const messages = [ - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.System, - content: - 'Call the "esql" tool. You can chain successive function calls, using the functions available.', - }, - }, - ]; - - const content = callSubActionFactory({ messages }).messages[0].content; - - expect(content).not.toContain(`"esql" function`); - expect(content).toContain(`"esql" tool`); - expect(content).not.toContain(`functions`); - expect(content).toContain(`tools`); - expect(content).toContain(`tool calls`); - }); - - it('mentions to explicitly call the specified function if given', () => { - expect(last(callSubActionFactory({ functionCall: 'my_tool' }).messages)!.content).toContain( - 'Remember, use the my_tool tool to answer this question.' - ); - }); - - it('formats the function requests as JSON', () => { - const messages = [ - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.System, - content: '', - }, - }, - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.Assistant, - function_call: { - name: 'my_tool', - arguments: JSON.stringify({ myParam: 'myValue' }), - trigger: MessageRole.User as const, - }, - }, - }, - ]; - - expect(last(callSubActionFactory({ messages }).messages)!.content).toContain( - dedent(`${TOOL_USE_START} - \`\`\`json - ${JSON.stringify({ name: 'my_tool', input: { myParam: 'myValue' } })} - \`\`\`${TOOL_USE_END}`) - ); - }); - - it('formats errors', () => { - const messages = [ - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.System, - content: '', - }, - }, - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.Assistant, - function_call: { - name: 'my_tool', - arguments: JSON.stringify({ myParam: 'myValue' }), - trigger: MessageRole.User as const, - }, - }, - }, - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.User, - name: 'my_tool', - content: JSON.stringify({ error: 'An internal server error occurred' }), - }, - }, - ]; - - expect(JSON.parse(last(callSubActionFactory({ messages }).messages)!.content)).toEqual({ - type: 'tool_result', - tool: 'my_tool', - error: 'An internal server error occurred', - is_error: true, - }); - }); - - it('formats function responses as JSON', () => { - const messages = [ - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.System, - content: '', - }, - }, - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.Assistant, - function_call: { - name: 'my_tool', - arguments: JSON.stringify({ myParam: 'myValue' }), - trigger: MessageRole.User as const, - }, - }, - }, - { - '@timestamp': new Date().toISOString(), - message: { - role: MessageRole.User, - name: 'my_tool', - content: JSON.stringify({ myResponse: { myParam: 'myValue' } }), - }, - }, - ]; - - expect(JSON.parse(last(callSubActionFactory({ messages }).messages)!.content)).toEqual({ - type: 'tool_result', - tool: 'my_tool', - myResponse: { myParam: 'myValue' }, - }); - }); - }); - }); - - describe('streamIntoObservable', () => { - it('correctly parses the response from Vertex/Gemini', async () => { - const chunks: GoogleGenerateContentResponseChunk[] = [ - { - candidates: [ - { - content: { - parts: [ - { - text: 'This is ', - }, - ], - }, - index: 0, - }, - ], - }, - { - candidates: [ - { - content: { - parts: [ - { - text: 'my response', - }, - ], - }, - index: 1, - }, - ], - }, - { - usageMetadata: { - candidatesTokenCount: 10, - promptTokenCount: 100, - totalTokenCount: 110, - }, - candidates: [ - { - content: { - parts: [ - { - text: '.', - }, - ], - }, - index: 2, - }, - ], - }, - ]; - - const stream = new Readable({ - read(...args) { - chunks.forEach((chunk) => this.push(`data: ${JSON.stringify(chunk)}\n\n`)); - this.push(null); - }, - }); - const response$ = createGeminiAdapter({ - logger: { - debug: jest.fn(), - } as unknown as Logger, - functions: [ - { - name: 'my_tool', - description: 'My tool', - parameters: { - properties: { - myParam: { - type: 'string', - }, - }, - }, - }, - ], - messages: [ - { - '@timestamp': new Date().toString(), - message: { - role: MessageRole.System, - content: '', - }, - }, - { - '@timestamp': new Date().toString(), - message: { - role: MessageRole.User, - content: 'How can you help me?', - }, - }, - ], - }) - .streamIntoObservable(stream) - .pipe(shareReplay()); - - const [chunkEvents$, tokenCountEvents$] = partition( - response$, - (value): value is ChatCompletionChunkEvent => - value.type === StreamingChatResponseEventType.ChatCompletionChunk - ); - - const [concatenatedMessage, tokenCount] = await Promise.all([ - lastValueFrom(chunkEvents$.pipe(concatenateChatCompletionChunks(), lastOperator())), - lastValueFrom(tokenCountEvents$), - ]); - - expect(concatenatedMessage).toEqual({ - message: { - content: 'This is my response.', - function_call: { - arguments: '', - name: '', - trigger: MessageRole.Assistant, - }, - role: MessageRole.Assistant, - }, - }); - - expect(tokenCount).toEqual({ - tokens: { - completion: 10, - prompt: 100, - total: 110, - }, - type: StreamingChatResponseEventType.TokenCount, - }); - }); - }); -}); diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/gemini_adapter.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/gemini_adapter.ts deleted file mode 100644 index fba0e3f542365..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/gemini_adapter.ts +++ /dev/null @@ -1,60 +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. - */ - -import { map } from 'rxjs'; -import { processVertexStream } from './process_vertex_stream'; -import type { LlmApiAdapterFactory } from '../types'; -import { getMessagesWithSimulatedFunctionCalling } from '../simulate_function_calling/get_messages_with_simulated_function_calling'; -import { parseInlineFunctionCalls } from '../simulate_function_calling/parse_inline_function_calls'; -import { TOOL_USE_END } from '../simulate_function_calling/constants'; -import { eventsourceStreamIntoObservable } from '../../../util/eventsource_stream_into_observable'; -import { GoogleGenerateContentResponseChunk } from './types'; - -export const createGeminiAdapter: LlmApiAdapterFactory = ({ - messages, - functions, - functionCall, - logger, -}) => { - const filteredFunctions = functionCall - ? functions?.filter((fn) => fn.name === functionCall) - : functions; - return { - getSubAction: () => { - const messagesWithSimulatedFunctionCalling = getMessagesWithSimulatedFunctionCalling({ - messages, - functions: filteredFunctions, - functionCall, - }); - - const formattedMessages = messagesWithSimulatedFunctionCalling.map((message) => { - return { - role: message.message.role, - content: message.message.content ?? '', - }; - }); - - return { - subAction: 'invokeStream', - subActionParams: { - messages: formattedMessages, - temperature: 0, - stopSequences: ['\n\nHuman:', TOOL_USE_END], - }, - }; - }, - streamIntoObservable: (readable) => - eventsourceStreamIntoObservable(readable).pipe( - map((value) => { - const response = JSON.parse(value) as GoogleGenerateContentResponseChunk; - return response; - }), - processVertexStream(), - parseInlineFunctionCalls({ logger }) - ), - }; -}; diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/process_vertex_stream.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/process_vertex_stream.ts deleted file mode 100644 index 903fa54d11acb..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/process_vertex_stream.ts +++ /dev/null @@ -1,64 +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. - */ - -import { Observable } from 'rxjs'; -import { v4 } from 'uuid'; -import { - ChatCompletionChunkEvent, - StreamingChatResponseEventType, - TokenCountEvent, -} from '../../../../../common/conversation_complete'; -import type { GoogleGenerateContentResponseChunk } from './types'; - -export function processVertexStream() { - return (source: Observable) => - new Observable((subscriber) => { - const id = v4(); - - function handleNext(value: GoogleGenerateContentResponseChunk) { - // completion: what we eventually want to emit - if (value.usageMetadata) { - subscriber.next({ - type: StreamingChatResponseEventType.TokenCount, - tokens: { - prompt: value.usageMetadata.promptTokenCount, - completion: value.usageMetadata.candidatesTokenCount, - total: value.usageMetadata.totalTokenCount, - }, - }); - } - - const completion = value.candidates[0].content.parts[0].text; - - if (completion) { - subscriber.next({ - id, - type: StreamingChatResponseEventType.ChatCompletionChunk, - message: { - content: completion, - }, - }); - } - } - - source.subscribe({ - next: (value) => { - try { - handleNext(value); - } catch (error) { - subscriber.error(error); - } - }, - error: (err) => { - subscriber.error(err); - }, - complete: () => { - subscriber.complete(); - }, - }); - }); -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/types.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/types.ts deleted file mode 100644 index 9c131f1ee67b3..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/gemini/types.ts +++ /dev/null @@ -1,51 +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. - */ - -interface GenerateContentResponseFunctionCall { - name: string; - args: Record; -} - -interface GenerateContentResponseSafetyRating { - category: string; - probability: string; -} - -interface GenerateContentResponseCandidate { - content: { - parts: Array<{ - text?: string; - functionCall?: GenerateContentResponseFunctionCall; - }>; - }; - finishReason?: string; - index: number; - safetyRatings?: GenerateContentResponseSafetyRating[]; -} - -interface GenerateContentResponsePromptFeedback { - promptFeedback: { - safetyRatings: GenerateContentResponseSafetyRating[]; - }; - usageMetadata: { - promptTokenCount: number; - candidatesTokenCount: number; - totalTokenCount: number; - }; -} - -interface GenerateContentResponseUsageMetadata { - promptTokenCount: number; - candidatesTokenCount: number; - totalTokenCount: number; -} - -export interface GoogleGenerateContentResponseChunk { - candidates: GenerateContentResponseCandidate[]; - promptFeedback?: GenerateContentResponsePromptFeedback; - usageMetadata?: GenerateContentResponseUsageMetadata; -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/openai_adapter.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/openai_adapter.ts deleted file mode 100644 index bcb9b25ab686c..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/openai_adapter.ts +++ /dev/null @@ -1,157 +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. - */ - -import { encode } from 'gpt-tokenizer'; -import { compact, merge, pick } from 'lodash'; -import OpenAI from 'openai'; -import { identity } from 'rxjs'; -import { CompatibleJSONSchema } from '../../../../common/functions/types'; -import { Message, MessageRole } from '../../../../common'; -import { processOpenAiStream } from './process_openai_stream'; -import { eventsourceStreamIntoObservable } from '../../util/eventsource_stream_into_observable'; -import { LlmApiAdapterFactory } from './types'; -import { parseInlineFunctionCalls } from './simulate_function_calling/parse_inline_function_calls'; -import { getMessagesWithSimulatedFunctionCalling } from './simulate_function_calling/get_messages_with_simulated_function_calling'; - -function getOpenAIPromptTokenCount({ - messages, - functions, -}: { - messages: Message[]; - functions?: Array<{ name: string; description: string; parameters?: CompatibleJSONSchema }>; -}) { - // per https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_with_tiktoken.ipynb - const tokensFromMessages = encode( - messages - .map( - ({ message }) => - `<|start|>${message.role}\n${message.content}\n${ - 'name' in message - ? message.name - : 'function_call' in message && message.function_call - ? message.function_call.name + '\n' + message.function_call.arguments - : '' - }<|end|>` - ) - .join('\n') - ).length; - - // this is an approximation. OpenAI cuts off a function schema - // at a certain level of nesting, so their token count might - // be lower than what we are calculating here. - const tokensFromFunctions = functions - ? encode( - functions - ?.map( - (fn) => - `<|start|>${fn.name}\n${fn.description}\n${JSON.stringify(fn.parameters)}<|end|>` - ) - .join('\n') - ).length - : 0; - - return tokensFromMessages + tokensFromFunctions; -} - -function messagesToOpenAI(messages: Message[]): OpenAI.ChatCompletionMessageParam[] { - return compact( - messages - .filter((message) => message.message.content || message.message.function_call?.name) - .map((message) => { - const role = - message.message.role === MessageRole.Elastic ? MessageRole.User : message.message.role; - - return { - role, - content: message.message.content, - function_call: message.message.function_call?.name - ? { - name: message.message.function_call.name, - arguments: message.message.function_call?.arguments || '{}', - } - : undefined, - name: message.message.name, - } as OpenAI.ChatCompletionMessageParam; - }) - ); -} - -export const createOpenAiAdapter: LlmApiAdapterFactory = ({ - messages, - functions, - functionCall, - logger, - simulateFunctionCalling, -}) => { - const promptTokens = getOpenAIPromptTokenCount({ messages, functions }); - - return { - getSubAction: () => { - const functionsForOpenAI = functions?.map((fn) => ({ - ...fn, - parameters: merge( - { - type: 'object', - properties: {}, - }, - fn.parameters - ), - })); - - let request: Omit & { model?: string }; - - if (simulateFunctionCalling) { - request = { - messages: messagesToOpenAI( - getMessagesWithSimulatedFunctionCalling({ - messages, - functions: functionsForOpenAI, - functionCall, - }) - ), - stream: true, - temperature: 0, - }; - } else { - request = { - messages: messagesToOpenAI(messages), - stream: true, - ...(!!functionsForOpenAI?.length - ? { - tools: functionsForOpenAI.map((fn) => ({ - function: pick(fn, 'name', 'description', 'parameters'), - type: 'function', - })), - } - : {}), - temperature: 0, - tool_choice: functionCall - ? { function: { name: functionCall }, type: 'function' } - : undefined, - }; - } - - return { - subAction: 'stream', - subActionParams: { - body: JSON.stringify(request), - stream: true, - }, - }; - }, - streamIntoObservable: (readable) => { - return eventsourceStreamIntoObservable(readable).pipe( - processOpenAiStream({ promptTokenCount: promptTokens, logger }), - simulateFunctionCalling - ? parseInlineFunctionCalls({ - logger, - }) - : identity - ); - }, - }; -}; diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/process_openai_stream.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/process_openai_stream.ts deleted file mode 100644 index e9dbd259182ba..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/process_openai_stream.ts +++ /dev/null @@ -1,152 +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. - */ -import { encode } from 'gpt-tokenizer'; -import { first, memoize, sum } from 'lodash'; -import OpenAI from 'openai'; -import { filter, map, Observable, tap } from 'rxjs'; -import { v4 } from 'uuid'; -import type { Logger } from '@kbn/logging'; -import { TokenCountEvent } from '../../../../common/conversation_complete'; -import { - ChatCompletionChunkEvent, - createInternalServerError, - createTokenLimitReachedError, - Message, - StreamingChatResponseEventType, -} from '../../../../common'; - -export type CreateChatCompletionResponseChunk = Omit & { - choices: Array< - Omit & { - delta: { content?: string; function_call?: { name?: string; arguments?: string } }; - } - >; -}; - -export function processOpenAiStream({ - promptTokenCount, - logger, -}: { - promptTokenCount: number; - logger: Logger; -}) { - return (source: Observable): Observable => { - return new Observable((subscriber) => { - const id = v4(); - - let completionTokenCount = 0; - - function emitTokenCountEvent() { - subscriber.next({ - type: StreamingChatResponseEventType.TokenCount, - tokens: { - completion: completionTokenCount, - prompt: promptTokenCount, - total: completionTokenCount + promptTokenCount, - }, - }); - } - - const warnForToolCall = memoize( - (toolCall: OpenAI.Chat.Completions.ChatCompletionChunk.Choice.Delta.ToolCall) => { - logger.warn(`More tools than 1 were called: ${JSON.stringify(toolCall)}`); - }, - (toolCall: OpenAI.Chat.Completions.ChatCompletionChunk.Choice.Delta.ToolCall) => - toolCall.index - ); - - const parsed$ = source.pipe( - filter((line) => !!line && line !== '[DONE]'), - map( - (line) => - JSON.parse(line) as CreateChatCompletionResponseChunk | { error: { message: string } } - ), - tap((line) => { - if ('error' in line) { - throw createInternalServerError(line.error.message); - } - if ( - 'choices' in line && - line.choices.length && - line.choices[0].finish_reason === 'length' - ) { - throw createTokenLimitReachedError(); - } - - const firstChoice = first(line.choices); - - completionTokenCount += sum( - [ - firstChoice?.delta.content, - firstChoice?.delta.function_call?.name, - firstChoice?.delta.function_call?.arguments, - ...(firstChoice?.delta.tool_calls?.flatMap((toolCall) => { - return [ - toolCall.function?.name, - toolCall.function?.arguments, - toolCall.id, - toolCall.index, - toolCall.type, - ]; - }) ?? []), - ].map((val) => encode(val?.toString() ?? '').length) || 0 - ); - }), - filter( - (line): line is CreateChatCompletionResponseChunk => - 'object' in line && line.object === 'chat.completion.chunk' && line.choices.length > 0 - ), - map((chunk): ChatCompletionChunkEvent => { - const delta = chunk.choices[0].delta; - if (delta.tool_calls && (delta.tool_calls.length > 1 || delta.tool_calls[0].index > 0)) { - delta.tool_calls.forEach((toolCall) => { - warnForToolCall(toolCall); - }); - return { - id, - type: StreamingChatResponseEventType.ChatCompletionChunk, - message: { - content: delta.content ?? '', - }, - }; - } - - const functionCall: Omit | undefined = - delta.tool_calls - ? { - name: delta.tool_calls[0].function?.name, - arguments: delta.tool_calls[0].function?.arguments, - } - : delta.function_call; - - return { - id, - type: StreamingChatResponseEventType.ChatCompletionChunk, - message: { - content: delta.content ?? '', - function_call: functionCall, - }, - }; - }) - ); - - parsed$.subscribe({ - next: (val) => { - subscriber.next(val); - }, - error: (error) => { - emitTokenCountEvent(); - subscriber.error(error); - }, - complete: () => { - emitTokenCountEvent(); - subscriber.complete(); - }, - }); - }); - }; -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/get_messages_with_simulated_function_calling.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/get_messages_with_simulated_function_calling.ts deleted file mode 100644 index 3325432dc453d..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/get_messages_with_simulated_function_calling.ts +++ /dev/null @@ -1,107 +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. - */ - -import { FunctionDefinition, Message } from '../../../../../common'; -import { TOOL_USE_END, TOOL_USE_START } from './constants'; -import { getSystemMessageInstructions } from './get_system_message_instructions'; - -function replaceFunctionsWithTools(content: string) { - return content.replaceAll(/(function)(s|[\s*\.])?(?!\scall)/g, (match, p1, p2) => { - return `tool${p2 || ''}`; - }); -} - -export function getMessagesWithSimulatedFunctionCalling({ - messages, - functions, - functionCall, -}: { - messages: Message[]; - functions?: Array>; - functionCall?: string; -}): Message[] { - const [systemMessage, ...otherMessages] = messages; - - const instructions = getSystemMessageInstructions({ - functions, - }); - - systemMessage.message.content = (systemMessage.message.content ?? '') + '\n' + instructions; - - return [systemMessage, ...otherMessages] - .map((message, index) => { - if (message.message.name) { - const deserialized = JSON.parse(message.message.content || '{}'); - - const results = { - type: 'tool_result', - tool: message.message.name, - ...(message.message.content ? JSON.parse(message.message.content) : {}), - }; - - if ('error' in deserialized) { - return { - ...message, - message: { - role: message.message.role, - content: JSON.stringify({ - ...results, - is_error: true, - }), - }, - }; - } - - return { - ...message, - message: { - role: message.message.role, - content: JSON.stringify(results), - }, - }; - } - - let content = message.message.content || ''; - - if (message.message.function_call?.name) { - content += - TOOL_USE_START + - '\n```json\n' + - JSON.stringify({ - name: message.message.function_call.name, - input: JSON.parse(message.message.function_call.arguments || '{}'), - }) + - '\n```' + - TOOL_USE_END; - } - - if (index === messages.length - 1 && functionCall) { - content += ` - - Remember, use the ${functionCall} tool to answer this question.`; - } - - return { - ...message, - message: { - role: message.message.role, - content, - }, - }; - }) - .map((message) => { - return { - ...message, - message: { - ...message.message, - content: message.message.content - ? replaceFunctionsWithTools(message.message.content) - : message.message.content, - }, - }; - }); -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/get_system_message_instructions.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/get_system_message_instructions.ts deleted file mode 100644 index eaf89233a2bcd..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/get_system_message_instructions.ts +++ /dev/null @@ -1,99 +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. - */ - -import { CONTEXT_FUNCTION_NAME } from '../../../../functions/context'; -import { FunctionDefinition } from '../../../../../common'; -import { TOOL_USE_END, TOOL_USE_START } from './constants'; - -export function getSystemMessageInstructions({ - functions, -}: { - functions?: Array>; -}) { - if (functions?.length) { - return `In this environment, you have access to a set of tools you can use to answer the user's question. - - ${ - functions?.find((fn) => fn.name === CONTEXT_FUNCTION_NAME) - ? `The "context" tool is ALWAYS used after a user question. Even if it was used before, your job is to answer the last user question, - even if the "context" tool was executed after that. Consider the tools you need to answer the user's question.` - : '' - } - - DO NOT call a tool when it is not listed. - ONLY define input that is defined in the tool properties. - If a tool does not have properties, leave them out. - - It is EXTREMELY important that you generate valid JSON between the \`\`\`json and \`\`\` delimiters. - - IMPORTANT: make sure you start and end a tool call with the ${TOOL_USE_START} and ${TOOL_USE_END} markers, it MUST - be included in the tool call. - - You can only call A SINGLE TOOL at a time. Do not call multiple tools, or multiple times the same tool, in the same - response. - - You may call tools like this: - - ${TOOL_USE_START} - \`\`\`json - ${JSON.stringify({ name: '[name of the tool]', input: { myProperty: 'myValue' } })} - \`\`\`\ - ${TOOL_USE_END} - - For example, given the following tool: - - ${JSON.stringify({ - name: 'my_tool', - description: 'A tool to call', - parameters: { - type: 'object', - properties: { - myProperty: { - type: 'string', - }, - }, - }, - })} - - Use it the following way: - - ${TOOL_USE_START} - \`\`\`json - ${JSON.stringify({ name: 'my_tool', input: { myProperty: 'myValue' } })} - \`\`\`\ - ${TOOL_USE_END} - - Another example: given the following tool: - - ${JSON.stringify({ - name: 'my_tool_without_parameters', - description: 'A tool to call without parameters', - })} - - Use it the following way: - - ${TOOL_USE_START} - \`\`\`json - ${JSON.stringify({ name: 'my_tool_without_parameters', input: {} })} - \`\`\`\ - ${TOOL_USE_END} - - Here are the tools available: - - ${JSON.stringify( - functions.map((fn) => ({ - name: fn.name, - description: fn.description, - ...(fn.parameters ? { parameters: fn.parameters } : {}), - })) - )} - - `; - } - - return `No tools are available anymore. DO NOT UNDER ANY CIRCUMSTANCES call any tool, regardless of whether it was previously called.`; -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/parse_inline_function_calls.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/parse_inline_function_calls.ts deleted file mode 100644 index 4ae3c5bf746e3..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/parse_inline_function_calls.ts +++ /dev/null @@ -1,136 +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. - */ - -import { Observable } from 'rxjs'; -import { Logger } from '@kbn/logging'; -import { - ChatCompletionChunkEvent, - createInternalServerError, - StreamingChatResponseEventType, -} from '../../../../../common'; -import { TokenCountEvent } from '../../../../../common/conversation_complete'; -import { TOOL_USE_END, TOOL_USE_START } from './constants'; - -function matchOnSignalStart(buffer: string) { - if (buffer.includes(TOOL_USE_START)) { - const split = buffer.split(TOOL_USE_START); - return [split[0], TOOL_USE_START + split[1]]; - } - - for (let i = 0; i < buffer.length; i++) { - const remaining = buffer.substring(i); - if (TOOL_USE_START.startsWith(remaining)) { - return [buffer.substring(0, i), remaining]; - } - } - - return false; -} - -export function parseInlineFunctionCalls({ logger }: { logger: Logger }) { - return (source: Observable) => { - let functionCallBuffer: string = ''; - - // As soon as we see a TOOL_USE_START token, we write all chunks - // to a buffer, that we flush as a function request if we - // spot the stop sequence. - - return new Observable((subscriber) => { - function parseFunctionCall(id: string, buffer: string) { - logger.debug('Parsing function call:\n' + buffer); - - const match = buffer.match( - /<\|tool_use_start\|>\s*```json\n?(.*?)(\n?```\s*).*<\|tool_use_end\|>/s - ); - - const functionCallBody = match?.[1]; - - if (!functionCallBody) { - throw createInternalServerError(`Invalid function call syntax`); - } - - const parsedFunctionCall = JSON.parse(functionCallBody) as { - name?: string; - input?: unknown; - }; - - logger.debug(() => 'Parsed function call:\n ' + JSON.stringify(parsedFunctionCall)); - - if (!parsedFunctionCall.name) { - throw createInternalServerError(`Missing name for tool use`); - } - - subscriber.next({ - id, - message: { - content: '', - function_call: { - name: parsedFunctionCall.name, - arguments: JSON.stringify(parsedFunctionCall.input || {}), - }, - }, - type: StreamingChatResponseEventType.ChatCompletionChunk, - }); - } - - source.subscribe({ - next: (event) => { - if (event.type === StreamingChatResponseEventType.TokenCount) { - subscriber.next(event); - return; - } - - const { type, id, message } = event; - - function next(content: string) { - subscriber.next({ - id, - type, - message: { - ...message, - content, - }, - }); - } - - const content = message.content ?? ''; - - const match = matchOnSignalStart(functionCallBuffer + content); - - if (match) { - const [beforeStartSignal, afterStartSignal] = match; - functionCallBuffer = afterStartSignal; - if (beforeStartSignal) { - next(beforeStartSignal); - } - - if (functionCallBuffer.includes(TOOL_USE_END)) { - const [beforeEndSignal, afterEndSignal] = functionCallBuffer.split(TOOL_USE_END); - - try { - parseFunctionCall(id, beforeEndSignal + TOOL_USE_END); - functionCallBuffer = ''; - next(afterEndSignal); - } catch (error) { - subscriber.error(error); - } - } - } else { - functionCallBuffer = ''; - next(content); - } - }, - complete: () => { - subscriber.complete(); - }, - error: (error) => { - subscriber.error(error); - }, - }); - }); - }; -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/types.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/types.ts deleted file mode 100644 index 2a292035acdb2..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/types.ts +++ /dev/null @@ -1,32 +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. - */ - -import type { Readable } from 'node:stream'; -import type { Observable } from 'rxjs'; -import type { Logger } from '@kbn/logging'; -import type { Message } from '../../../../common'; -import type { ChatEvent } from '../../../../common/conversation_complete'; -import { CompatibleJSONSchema } from '../../../../common/functions/types'; - -export interface LlmFunction { - name: string; - description: string; - parameters: CompatibleJSONSchema; -} - -export type LlmApiAdapterFactory = (options: { - logger: Logger; - messages: Message[]; - functions?: Array<{ name: string; description: string; parameters?: CompatibleJSONSchema }>; - functionCall?: string; - simulateFunctionCalling?: boolean; -}) => LlmApiAdapter; - -export interface LlmApiAdapter { - getSubAction: () => { subAction: string; subActionParams: Record }; - streamIntoObservable: (readable: Readable) => Observable; -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/index.test.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/index.test.ts index f6aa0dfab2726..89e7aa4cbb4de 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/index.test.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/index.test.ts @@ -9,16 +9,15 @@ import type { CoreSetup, ElasticsearchClient, IUiSettingsClient, Logger } from ' import type { DeeplyMockedKeys } from '@kbn/utility-types-jest'; import { waitFor } from '@testing-library/react'; import { last, merge, repeat } from 'lodash'; -import type OpenAI from 'openai'; -import { Subject } from 'rxjs'; -import { EventEmitter, PassThrough, type Readable } from 'stream'; +import { Subject, Observable } from 'rxjs'; +import { EventEmitter, type Readable } from 'stream'; import { finished } from 'stream/promises'; +import type { InferenceClient } from '@kbn/inference-plugin/server'; +import { ChatCompletionEventType as InferenceChatCompletionEventType } from '@kbn/inference-common'; import { ObservabilityAIAssistantClient } from '.'; import { MessageRole, type Message } from '../../../common'; -import { ObservabilityAIAssistantConnectorType } from '../../../common/connectors'; import { ChatCompletionChunkEvent, - ChatCompletionErrorCode, MessageAddEvent, StreamingChatResponseEventType, } from '../../../common/conversation_complete'; @@ -27,11 +26,18 @@ import { CONTEXT_FUNCTION_NAME } from '../../functions/context'; import { ChatFunctionClient } from '../chat_function_client'; import type { KnowledgeBaseService } from '../knowledge_base_service'; import { observableIntoStream } from '../util/observable_into_stream'; -import type { CreateChatCompletionResponseChunk } from './adapters/process_openai_stream'; import type { ObservabilityAIAssistantConfig } from '../../config'; import type { ObservabilityAIAssistantPluginStartDependencies } from '../../types'; -type ChunkDelta = CreateChatCompletionResponseChunk['choices'][number]['delta']; +interface ChunkDelta { + content?: string | undefined; + function_call?: + | { + name?: string | undefined; + arguments?: string | undefined; + } + | undefined; +} type LlmSimulator = ReturnType; @@ -51,39 +57,42 @@ const waitForNextWrite = async (stream: Readable): Promise => { return response; }; -function createLlmSimulator() { - const stream = new PassThrough(); - +function createLlmSimulator(subscriber: any) { return { - stream, next: async (msg: ChunkDelta) => { - const chunk: CreateChatCompletionResponseChunk = { - created: 0, - id: '', - model: 'gpt-4', - object: 'chat.completion.chunk', - choices: [ - { - delta: msg, - index: 0, - finish_reason: null, - }, - ], - }; - await new Promise((resolve, reject) => { - stream.write(`data: ${JSON.stringify(chunk)}\n\n`, undefined, (err) => { - return err ? reject(err) : resolve(); - }); + subscriber.next({ + type: InferenceChatCompletionEventType.ChatCompletionMessage, + content: msg.content, + toolCalls: msg.function_call ? [{ function: msg.function_call }] : [], + }); + }, + tokenCount: async ({ + completion, + prompt, + total, + }: { + completion: number; + prompt: number; + total: number; + }) => { + subscriber.next({ + type: InferenceChatCompletionEventType.ChatCompletionTokenCount, + tokens: { completion, prompt, total }, + }); + subscriber.complete(); + }, + chunk: async (msg: ChunkDelta) => { + subscriber.next({ + type: InferenceChatCompletionEventType.ChatCompletionChunk, + content: msg.content, + tool_calls: msg.function_call ? [{ function: msg.function_call }] : [], }); }, complete: async () => { - if (stream.destroyed) { - throw new Error('Stream is already destroyed'); - } - await new Promise((resolve) => stream.write('data: [DONE]\n\n', () => stream.end(resolve))); + subscriber.complete(); }, error: (error: Error) => { - stream.destroy(error); + subscriber.error(error); }, }; } @@ -96,6 +105,10 @@ describe('Observability AI Assistant client', () => { get: jest.fn(), } as any; + const inferenceClientMock: DeeplyMockedKeys = { + chatComplete: jest.fn(), + } as any; + const uiSettingsClientMock: DeeplyMockedKeys = { get: jest.fn(), } as any; @@ -154,15 +167,6 @@ describe('Observability AI Assistant client', () => { functionClientMock.hasAction.mockReturnValue(false); functionClientMock.getActions.mockReturnValue([]); - actionsClientMock.get.mockResolvedValue({ - actionTypeId: ObservabilityAIAssistantConnectorType.OpenAI, - id: 'foo', - name: 'My connector', - isPreconfigured: false, - isDeprecated: false, - isSystemAction: false, - }); - currentUserEsClientMock.search.mockResolvedValue({ hits: { hits: [], @@ -187,6 +191,7 @@ describe('Observability AI Assistant client', () => { asInternalUser: internalUserEsClientMock, asCurrentUser: currentUserEsClientMock, }, + inferenceClient: inferenceClientMock, knowledgeBaseService: knowledgeBaseServiceMock, logger: loggerMock, namespace: 'default', @@ -233,35 +238,28 @@ describe('Observability AI Assistant client', () => { beforeEach(async () => { client = createClient(); - actionsClientMock.execute - .mockImplementationOnce((body) => { - return new Promise((resolve, reject) => { + + inferenceClientMock.chatComplete + .mockImplementationOnce(() => { + return new Observable((subscriber) => { titleLlmPromiseResolve = (title: string) => { - const titleLlmSimulator = createLlmSimulator(); + const titleLlmSimulator = createLlmSimulator(subscriber); titleLlmSimulator - .next({ content: title }) + .chunk({ content: title }) + .then(() => titleLlmSimulator.next({ content: title })) + .then(() => titleLlmSimulator.tokenCount({ completion: 0, prompt: 0, total: 0 })) .then(() => titleLlmSimulator.complete()) - .then(() => { - resolve({ - actionId: '', - status: 'ok', - data: titleLlmSimulator.stream, - }); - }) - .catch(reject); + .catch((error) => titleLlmSimulator.error(error)); }; titleLlmPromiseReject = (error: Error) => { - reject(error); + subscriber.error(error); }; }); }) - .mockImplementationOnce(async (body) => { - llmSimulator = createLlmSimulator(); - return { - actionId: '', - status: 'ok', - data: llmSimulator.stream, - }; + .mockImplementationOnce(() => { + return new Observable((subscriber) => { + llmSimulator = createLlmSimulator(subscriber); + }); }); stream = observableIntoStream( @@ -283,43 +281,62 @@ describe('Observability AI Assistant client', () => { stream.on('data', dataHandler); + await llmSimulator.chunk({ content: 'Hello' }); await llmSimulator.next({ content: 'Hello' }); await nextTick(); }); - it('calls the actions client with the messages', () => { - expect(actionsClientMock.execute.mock.calls[0]).toEqual([ - { - actionId: 'foo', - params: { - subAction: 'stream', - subActionParams: { - body: expect.any(String), - stream: true, + it('calls the llm to generate a new title', () => { + expect(inferenceClientMock.chatComplete.mock.calls[0]).toEqual([ + expect.objectContaining({ + connectorId: 'foo', + stream: true, + functionCalling: 'native', + toolChoice: expect.objectContaining({ + function: 'title_conversation', + }), + tools: expect.objectContaining({ + title_conversation: { + description: + 'Use this function to title the conversation. Do not wrap the title in quotes', + schema: { + type: 'object', + properties: { + title: { type: 'string' }, + }, + required: ['title'], + }, }, - }, - }, + }), + messages: expect.arrayContaining([ + { + role: 'user', + content: + 'Generate a title, using the title_conversation_function, based on the following conversation:\n\n user: How many alerts do I have?', + }, + ]), + }), ]); }); - it('calls the llm again to generate a new title', () => { - expect(actionsClientMock.execute.mock.calls[1]).toEqual([ + it('calls the llm again with the messages', () => { + expect(inferenceClientMock.chatComplete.mock.calls[1]).toEqual([ { - actionId: 'foo', - params: { - subAction: 'stream', - subActionParams: { - body: expect.any(String), - stream: true, - }, - }, + connectorId: 'foo', + stream: true, + messages: expect.arrayContaining([ + { role: 'user', content: 'How many alerts do I have?' }, + ]), + functionCalling: 'native', + toolChoice: 'auto', + tools: {}, }, ]); }); it('incrementally streams the response to the client', async () => { - expect(dataHandler).toHaveBeenCalledTimes(1); + expect(dataHandler).toHaveBeenCalledTimes(2); await new Promise((resolve) => setTimeout(resolve, 1000)); @@ -342,7 +359,7 @@ describe('Observability AI Assistant client', () => { }); it('adds an error to the stream and closes it', () => { - expect(dataHandler).toHaveBeenCalledTimes(3); + expect(dataHandler).toHaveBeenCalledTimes(4); expect(JSON.parse(dataHandler.mock.lastCall!)).toEqual({ error: { @@ -359,14 +376,14 @@ describe('Observability AI Assistant client', () => { titleLlmPromiseReject(new Error('Failed generating title')); await nextTick(); - + await llmSimulator.tokenCount({ completion: 1, prompt: 33, total: 34 }); await llmSimulator.complete(); await finished(stream); }); it('falls back to the default title', () => { - expect(JSON.parse(dataHandler.mock.calls[2])).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[3])).toEqual({ conversation: { title: 'New conversation', id: expect.any(String), @@ -386,17 +403,17 @@ describe('Observability AI Assistant client', () => { describe('after completing the response from the LLM', () => { beforeEach(async () => { - await llmSimulator.next({ content: ' again' }); + await llmSimulator.chunk({ content: ' again' }); titleLlmPromiseResolve('An auto-generated title'); - + await llmSimulator.tokenCount({ completion: 6, prompt: 210, total: 216 }); await llmSimulator.complete(); await finished(stream); }); it('adds the completed message to the stream', () => { - expect(JSON.parse(dataHandler.mock.calls[1])).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[2])).toEqual({ id: expect.any(String), message: { content: ' again', @@ -404,7 +421,7 @@ describe('Observability AI Assistant client', () => { type: StreamingChatResponseEventType.ChatCompletionChunk, }); - expect(JSON.parse(dataHandler.mock.calls[2])).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[3])).toEqual({ id: expect.any(String), message: { '@timestamp': expect.any(String), @@ -423,7 +440,7 @@ describe('Observability AI Assistant client', () => { }); it('creates a new conversation with the automatically generated title', () => { - expect(JSON.parse(dataHandler.mock.calls[3])).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[4])).toEqual({ conversation: { title: 'An auto-generated title', id: expect.any(String), @@ -501,13 +518,10 @@ describe('Observability AI Assistant client', () => { beforeEach(async () => { client = createClient(); - actionsClientMock.execute.mockImplementationOnce(async (body) => { - llmSimulator = createLlmSimulator(); - return { - actionId: '', - status: 'ok', - data: llmSimulator.stream, - }; + inferenceClientMock.chatComplete.mockImplementationOnce(() => { + return new Observable((subscriber) => { + llmSimulator = createLlmSimulator(subscriber); + }); }); internalUserEsClientMock.search.mockImplementation(async () => { @@ -564,15 +578,16 @@ describe('Observability AI Assistant client', () => { await nextTick(); + await llmSimulator.chunk({ content: 'Hello' }); await llmSimulator.next({ content: 'Hello' }); - + await llmSimulator.tokenCount({ completion: 1, prompt: 33, total: 34 }); await llmSimulator.complete(); await finished(stream); }); it('updates the conversation', () => { - expect(JSON.parse(dataHandler.mock.calls[2])).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[3])).toEqual({ conversation: { title: 'My stored conversation', id: expect.any(String), @@ -649,13 +664,10 @@ describe('Observability AI Assistant client', () => { beforeEach(async () => { client = createClient(); - actionsClientMock.execute.mockImplementationOnce(async () => { - llmSimulator = createLlmSimulator(); - return { - actionId: '', - status: 'ok', - data: llmSimulator.stream, - }; + inferenceClientMock.chatComplete.mockImplementationOnce(() => { + return new Observable((subscriber) => { + llmSimulator = createLlmSimulator(subscriber); + }); }); stream = observableIntoStream( @@ -675,19 +687,8 @@ describe('Observability AI Assistant client', () => { await nextTick(); - await llmSimulator.next({ content: 'Hello' }); - - await new Promise((resolve) => - llmSimulator.stream.write( - `data: ${JSON.stringify({ - error: { - message: 'Connection unexpectedly closed', - }, - })}\n\n`, - resolve - ) - ); - + await llmSimulator.chunk({ content: 'Hello' }); + await llmSimulator.error(new Error('Connection unexpectedly closed')); await llmSimulator.complete(); await finished(stream); @@ -696,10 +697,8 @@ describe('Observability AI Assistant client', () => { it('ends the stream and writes an error', async () => { expect(JSON.parse(dataHandler.mock.calls[1])).toEqual({ error: { - code: ChatCompletionErrorCode.InternalError, message: 'Connection unexpectedly closed', stack: expect.any(String), - meta: {}, }, type: StreamingChatResponseEventType.ChatCompletionError, }); @@ -724,13 +723,10 @@ describe('Observability AI Assistant client', () => { beforeEach(async () => { client = createClient(); - actionsClientMock.execute.mockImplementationOnce(async (body) => { - llmSimulator = createLlmSimulator(); - return { - actionId: '', - status: 'ok', - data: llmSimulator.stream, - }; + inferenceClientMock.chatComplete.mockImplementationOnce(() => { + return new Observable((subscriber) => { + llmSimulator = createLlmSimulator(subscriber); + }); }); respondFn = jest.fn(); @@ -781,20 +777,18 @@ describe('Observability AI Assistant client', () => { await nextTick(); - await llmSimulator.next({ + await llmSimulator.next({ content: 'Hello' }); + await llmSimulator.chunk({ content: 'Hello', function_call: { name: 'myFunction', arguments: JSON.stringify({ foo: 'bar' }) }, }); const prevLlmSimulator = llmSimulator; - actionsClientMock.execute.mockImplementationOnce(async () => { - llmSimulator = createLlmSimulator(); - return { - actionId: '', - status: 'ok', - data: llmSimulator.stream, - }; + inferenceClientMock.chatComplete.mockImplementationOnce(() => { + return new Observable((subscriber) => { + llmSimulator = createLlmSimulator(subscriber); + }); }); await prevLlmSimulator.complete(); @@ -804,7 +798,7 @@ describe('Observability AI Assistant client', () => { describe('while the function call is pending', () => { it('appends the request message', async () => { - expect(JSON.parse(dataHandler.mock.lastCall!)).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[2])).toEqual({ type: StreamingChatResponseEventType.MessageAdd, id: expect.any(String), message: { @@ -874,11 +868,11 @@ describe('Observability AI Assistant client', () => { describe('and the function succeeds', () => { beforeEach(async () => { fnResponseResolve({ content: { my: 'content' } }); - await waitForNextWrite(stream); + // await waitForNextWrite(stream); }); it('appends the function response', () => { - expect(JSON.parse(dataHandler.mock.lastCall!)).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[3])).toEqual({ type: StreamingChatResponseEventType.MessageAdd, id: expect.any(String), message: { @@ -895,24 +889,27 @@ describe('Observability AI Assistant client', () => { }); it('sends the function response back to the llm', () => { - expect(actionsClientMock.execute).toHaveBeenCalledTimes(2); - expect(actionsClientMock.execute.mock.lastCall!).toEqual([ + expect(inferenceClientMock.chatComplete).toHaveBeenCalledTimes(2); + + expect(inferenceClientMock.chatComplete.mock.lastCall!).toEqual([ { - actionId: 'foo', - params: { - subAction: 'stream', - subActionParams: { - body: expect.any(String), - stream: true, - }, - }, + connectorId: 'foo', + stream: true, + messages: expect.arrayContaining([ + { role: 'user', content: 'How many alerts do I have?' }, + ]), + functionCalling: 'native', + toolChoice: 'auto', + tools: expect.any(Object), }, ]); }); describe('and the assistant replies without a function request', () => { beforeEach(async () => { + await llmSimulator.chunk({ content: 'I am done here' }); await llmSimulator.next({ content: 'I am done here' }); + await llmSimulator.tokenCount({ completion: 0, prompt: 0, total: 0 }); await llmSimulator.complete(); await waitForNextWrite(stream); @@ -920,14 +917,14 @@ describe('Observability AI Assistant client', () => { }); it('appends the assistant reply', () => { - expect(JSON.parse(dataHandler.mock.calls[3])).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[4])).toEqual({ type: StreamingChatResponseEventType.ChatCompletionChunk, id: expect.any(String), message: { content: 'I am done here', }, }); - expect(JSON.parse(dataHandler.mock.calls[4])).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[6])).toEqual({ type: StreamingChatResponseEventType.MessageAdd, id: expect.any(String), message: { @@ -1054,17 +1051,17 @@ describe('Observability AI Assistant client', () => { }); it('sends the function response back to the llm', () => { - expect(actionsClientMock.execute).toHaveBeenCalledTimes(2); - expect(actionsClientMock.execute.mock.lastCall!).toEqual([ + expect(inferenceClientMock.chatComplete).toHaveBeenCalledTimes(2); + expect(inferenceClientMock.chatComplete.mock.lastCall!).toEqual([ { - actionId: 'foo', - params: { - subAction: 'stream', - subActionParams: { - body: expect.any(String), - stream: true, - }, - }, + connectorId: 'foo', + stream: true, + messages: expect.arrayContaining([ + { role: 'user', content: 'How many alerts do I have?' }, + ]), + functionCalling: 'native', + toolChoice: 'auto', + tools: expect.any(Object), }, ]); }); @@ -1082,7 +1079,7 @@ describe('Observability AI Assistant client', () => { }); it('appends the function response', async () => { - expect(JSON.parse(dataHandler.mock.calls[2]!)).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[3]!)).toEqual({ type: StreamingChatResponseEventType.MessageAdd, id: expect.any(String), message: { @@ -1124,7 +1121,7 @@ describe('Observability AI Assistant client', () => { }); it('emits a completion chunk', () => { - expect(JSON.parse(dataHandler.mock.calls[3])).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[4])).toEqual({ type: StreamingChatResponseEventType.ChatCompletionChunk, id: expect.any(String), message: { @@ -1134,7 +1131,7 @@ describe('Observability AI Assistant client', () => { }); it('appends the observable response', () => { - expect(JSON.parse(dataHandler.mock.calls[4])).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[5])).toEqual({ type: StreamingChatResponseEventType.MessageAdd, id: expect.any(String), message: { @@ -1181,13 +1178,10 @@ describe('Observability AI Assistant client', () => { let dataHandler: jest.Mock; beforeEach(async () => { client = createClient(); - actionsClientMock.execute.mockImplementationOnce(async (body) => { - llmSimulator = createLlmSimulator(); - return { - actionId: '', - status: 'ok', - data: llmSimulator.stream, - }; + inferenceClientMock.chatComplete.mockImplementationOnce(() => { + return new Observable((subscriber) => { + llmSimulator = createLlmSimulator(subscriber); + }); }); functionClientMock.hasFunction.mockReturnValue(true); @@ -1219,10 +1213,9 @@ describe('Observability AI Assistant client', () => { await waitForNextWrite(stream); - await llmSimulator.next({ - content: 'Hello', - }); - + await llmSimulator.chunk({ content: 'Hello' }); + await llmSimulator.next({ content: 'Hello' }); + await llmSimulator.tokenCount({ completion: 0, prompt: 0, total: 0 }); await llmSimulator.complete(); await finished(stream); @@ -1270,7 +1263,7 @@ describe('Observability AI Assistant client', () => { }, }); - expect(JSON.parse(dataHandler.mock.calls[3]!)).toEqual({ + expect(JSON.parse(dataHandler.mock.calls[4]!)).toEqual({ type: StreamingChatResponseEventType.MessageAdd, id: expect.any(String), message: { @@ -1304,14 +1297,11 @@ describe('Observability AI Assistant client', () => { return new Promise((resolve) => onLlmCall.addListener('next', resolve)); } - actionsClientMock.execute.mockImplementation(async () => { - llmSimulator = createLlmSimulator(); - onLlmCall.emit('next'); - return { - actionId: '', - status: 'ok', - data: llmSimulator.stream, - }; + inferenceClientMock.chatComplete.mockImplementation(() => { + return new Observable((subscriber) => { + onLlmCall.emit('next'); + llmSimulator = createLlmSimulator(subscriber); + }); }); functionClientMock.getFunctions.mockImplementation(() => [ @@ -1348,22 +1338,18 @@ describe('Observability AI Assistant client', () => { stream.on('data', dataHandler); async function requestAlertsFunctionCall() { - const body = JSON.parse( - (actionsClientMock.execute.mock.lastCall![0].params as any).subActionParams.body - ) as OpenAI.ChatCompletionCreateParams; - + const body = inferenceClientMock.chatComplete.mock.lastCall![0]; let nextLlmCallPromise: Promise; - if (body.tools?.length) { + if (Object.keys(body.tools ?? {}).length) { nextLlmCallPromise = waitForNextLlmCall(); - await llmSimulator.next({ function_call: { name: 'get_top_alerts', arguments: '{}' } }); + await llmSimulator.chunk({ function_call: { name: 'get_top_alerts', arguments: '{}' } }); } else { nextLlmCallPromise = Promise.resolve(); - await llmSimulator.next({ content: 'Looks like we are done here' }); + await llmSimulator.chunk({ content: 'Looks like we are done here' }); } await llmSimulator.complete(); - await nextLlmCallPromise; } @@ -1373,6 +1359,7 @@ describe('Observability AI Assistant client', () => { await requestAlertsFunctionCall(); } + await llmSimulator.complete(); await finished(stream); }); @@ -1381,16 +1368,12 @@ describe('Observability AI Assistant client', () => { }); it('asks the LLM to suggest next steps', () => { - const firstBody = JSON.parse( - (actionsClientMock.execute.mock.calls[0][0].params as any).subActionParams.body - ); - const body = JSON.parse( - (actionsClientMock.execute.mock.lastCall![0].params as any).subActionParams.body - ); + const firstBody = inferenceClientMock.chatComplete.mock.calls[0][0] as any; + const body = inferenceClientMock.chatComplete.mock.lastCall![0] as any; - expect(firstBody.tools.length).toEqual(1); + expect(Object.keys(firstBody.tools ?? {}).length).toEqual(1); - expect(body.tools).toBeUndefined(); + expect(body.tools).toEqual({}); }); }); @@ -1399,13 +1382,10 @@ describe('Observability AI Assistant client', () => { beforeEach(async () => { client = createClient(); - actionsClientMock.execute.mockImplementationOnce(async () => { - llmSimulator = createLlmSimulator(); - return { - actionId: '', - status: 'ok', - data: llmSimulator.stream, - }; + inferenceClientMock.chatComplete.mockImplementationOnce(() => { + return new Observable((subscriber) => { + llmSimulator = createLlmSimulator(subscriber); + }); }); functionClientMock.hasFunction.mockReturnValue(true); @@ -1480,13 +1460,10 @@ describe('Observability AI Assistant client', () => { let functionResponsePromiseResolve: Function | undefined; - actionsClientMock.execute.mockImplementation(async () => { - llmSimulator = createLlmSimulator(); - return { - actionId: '', - status: 'ok', - data: llmSimulator.stream, - }; + inferenceClientMock.chatComplete.mockImplementationOnce(() => { + return new Observable((subscriber) => { + llmSimulator = createLlmSimulator(subscriber); + }); }); functionClientMock.getFunctions.mockImplementation(() => [ @@ -1528,8 +1505,9 @@ describe('Observability AI Assistant client', () => { await nextTick(); - await llmSimulator.next({ function_call: { name: 'get_top_alerts' } }); - + await llmSimulator.chunk({ function_call: { name: 'get_top_alerts' } }); + await llmSimulator.next({ content: 'done' }); + await llmSimulator.tokenCount({ completion: 0, prompt: 0, total: 0 }); await llmSimulator.complete(); await waitFor(() => functionResponsePromiseResolve !== undefined); @@ -1538,7 +1516,7 @@ describe('Observability AI Assistant client', () => { content: repeat('word ', 10000), }); - await waitFor(() => actionsClientMock.execute.mock.calls.length > 1); + await waitFor(() => inferenceClientMock.chatComplete.mock.calls.length > 1); await llmSimulator.next({ content: 'Looks like this was truncated' }); @@ -1548,18 +1526,19 @@ describe('Observability AI Assistant client', () => { }); it('truncates the message', () => { - const body = JSON.parse( - (actionsClientMock.execute.mock.lastCall![0].params as any).subActionParams.body - ) as OpenAI.Chat.ChatCompletionCreateParams; - - const parsed = JSON.parse(last(body.messages)!.content! as string); + const body = inferenceClientMock.chatComplete.mock.lastCall![0]; + const parsed = last(body.messages); expect(parsed).toEqual({ - message: 'Function response exceeded the maximum length allowed and was truncated', - truncated: expect.any(String), + role: 'tool', + response: { + message: 'Function response exceeded the maximum length allowed and was truncated', + truncated: expect.any(String), + }, + toolCallId: expect.any(String), }); - expect(parsed.truncated.includes('word ')).toBe(true); + expect((parsed as any).response.truncated.includes('word ')).toBe(true); }); }); @@ -1567,12 +1546,10 @@ describe('Observability AI Assistant client', () => { client = createClient(); const chatSpy = jest.spyOn(client, 'chat'); - actionsClientMock.execute.mockImplementation(async () => { - return { - actionId: '', - status: 'ok', - data: createLlmSimulator().stream, - }; + inferenceClientMock.chatComplete.mockImplementationOnce(() => { + return new Observable((subscriber) => { + llmSimulator = createLlmSimulator(subscriber); + }); }); client @@ -1598,15 +1575,10 @@ describe('Observability AI Assistant client', () => { beforeEach(async () => { client = createClient(); - llmSimulator = createLlmSimulator(); - - actionsClientMock.execute.mockImplementation(async () => { - llmSimulator = createLlmSimulator(); - return { - actionId: '', - status: 'ok', - data: llmSimulator.stream, - }; + inferenceClientMock.chatComplete.mockImplementationOnce(() => { + return new Observable((subscriber) => { + llmSimulator = createLlmSimulator(subscriber); + }); }); const complete$ = await client.complete({ @@ -1655,9 +1627,11 @@ describe('Observability AI Assistant client', () => { describe('and validation succeeds', () => { beforeEach(async () => { - await llmSimulator.next({ + await llmSimulator.chunk({ function_call: { name: 'my_action', arguments: JSON.stringify({ foo: 'bar' }) }, }); + await llmSimulator.next({ content: 'content' }); + await llmSimulator.tokenCount({ completion: 0, prompt: 0, total: 0 }); await llmSimulator.complete(); }); @@ -1673,32 +1647,29 @@ describe('Observability AI Assistant client', () => { }); }); - describe('and validation fails', () => { + describe.skip('and validation fails', () => { beforeEach(async () => { - await llmSimulator.next({ + await llmSimulator.chunk({ function_call: { name: 'my_action', arguments: JSON.stringify({ bar: 'foo' }) }, }); - await llmSimulator.complete(); - await waitFor(() => - actionsClientMock.execute.mock.calls.length === 2 + inferenceClientMock.chatComplete.mock.calls.length === 3 ? Promise.resolve() - : Promise.reject(new Error('Waiting until execute is called again')) + : llmSimulator.error(new Error('Waiting until execute is called again')) ); - await nextTick(); - await llmSimulator.next({ content: 'Looks like the function call failed', }); + await llmSimulator.tokenCount({ completion: 0, prompt: 0, total: 0 }); await llmSimulator.complete(); }); it('appends a function response error and sends it back to the LLM', async () => { const messages = await completePromise; - expect(messages.length).toBe(3); + expect(messages.length).toBe(2); expect(messages[0].message.function_call?.name).toBe('my_action'); diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/index.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/index.ts index 107bed3cac7be..688bd7a2ec860 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/index.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/index.ts @@ -10,7 +10,7 @@ import type { ActionsClient } from '@kbn/actions-plugin/server'; import type { CoreSetup, ElasticsearchClient, IUiSettingsClient } from '@kbn/core/server'; import type { Logger } from '@kbn/logging'; import type { PublicMethodsOf } from '@kbn/utility-types'; -import { SpanKind, context } from '@opentelemetry/api'; +import { context } from '@opentelemetry/api'; import { last, merge, omit } from 'lodash'; import { catchError, @@ -28,23 +28,24 @@ import { tap, throwError, } from 'rxjs'; -import { Readable } from 'stream'; import { v4 } from 'uuid'; import type { AssistantScope } from '@kbn/ai-assistant-common'; +import type { InferenceClient } from '@kbn/inference-plugin/server'; +import { ToolChoiceType } from '@kbn/inference-common'; + import { resourceNames } from '..'; -import { ObservabilityAIAssistantConnectorType } from '../../../common/connectors'; import { ChatCompletionChunkEvent, + ChatCompletionMessageEvent, ChatCompletionErrorEvent, ConversationCreateEvent, ConversationUpdateEvent, createConversationNotFoundError, - createInternalServerError, - createTokenLimitReachedError, StreamingChatResponseEventType, TokenCountEvent, type StreamingChatResponseEvent, } from '../../../common/conversation_complete'; +import { convertMessagesForInference } from '../../../common/convert_messages_for_inference'; import { CompatibleJSONSchema } from '../../../common/functions/types'; import { type AdHocInstruction, @@ -55,6 +56,7 @@ import { type Message, KnowledgeBaseType, KnowledgeBaseEntryRole, + MessageRole, } from '../../../common/types'; import { withoutTokenCountEvents } from '../../../common/utils/without_token_count_events'; import { CONTEXT_FUNCTION_NAME } from '../../functions/context'; @@ -63,23 +65,15 @@ import { KnowledgeBaseService, RecalledEntry } from '../knowledge_base_service'; import { getAccessQuery } from '../util/get_access_query'; import { getSystemMessageFromInstructions } from '../util/get_system_message_from_instructions'; import { replaceSystemMessage } from '../util/replace_system_message'; -import { withAssistantSpan } from '../util/with_assistant_span'; -import { createBedrockClaudeAdapter } from './adapters/bedrock/bedrock_claude_adapter'; -import { failOnNonExistingFunctionCall } from './adapters/fail_on_non_existing_function_call'; -import { createGeminiAdapter } from './adapters/gemini/gemini_adapter'; -import { createOpenAiAdapter } from './adapters/openai_adapter'; -import { LlmApiAdapter } from './adapters/types'; +import { failOnNonExistingFunctionCall } from './operators/fail_on_non_existing_function_call'; import { getContextFunctionRequestIfNeeded } from './get_context_function_request_if_needed'; import { LangTracer } from './instrumentation/lang_tracer'; import { continueConversation } from './operators/continue_conversation'; +import { convertInferenceEventsToStreamingEvents } from './operators/convert_inference_events_to_streaming_events'; import { extractMessages } from './operators/extract_messages'; import { extractTokenCount } from './operators/extract_token_count'; import { getGeneratedTitle } from './operators/get_generated_title'; import { instrumentAndCountTokens } from './operators/instrument_and_count_tokens'; -import { - LangtraceServiceProvider, - withLangtraceChatCompleteSpan, -} from './operators/with_langtrace_chat_complete_span'; import { runSemanticTextKnowledgeBaseMigration, scheduleSemanticTextMigration, @@ -101,6 +95,7 @@ export class ObservabilityAIAssistantClient { asInternalUser: ElasticsearchClient; asCurrentUser: ElasticsearchClient; }; + inferenceClient: InferenceClient; logger: Logger; user?: { id?: string; @@ -485,114 +480,32 @@ export class ObservabilityAIAssistantClient { simulateFunctionCalling?: boolean; tracer: LangTracer; } - ): Observable => { - return defer(() => - from( - withAssistantSpan('get_connector', () => - this.dependencies.actionsClient.get({ id: connectorId, throwIfSystemAction: true }) - ) - ) - ).pipe( - switchMap((connector) => { - this.dependencies.logger.debug(`Creating "${connector.actionTypeId}" adapter`); - - let adapter: LlmApiAdapter; - - switch (connector.actionTypeId) { - case ObservabilityAIAssistantConnectorType.OpenAI: - adapter = createOpenAiAdapter({ - messages, - functions, - functionCall, - logger: this.dependencies.logger, - simulateFunctionCalling, - }); - break; - - case ObservabilityAIAssistantConnectorType.Bedrock: - adapter = createBedrockClaudeAdapter({ - messages, - functions, - functionCall, - logger: this.dependencies.logger, - }); - break; - - case ObservabilityAIAssistantConnectorType.Gemini: - adapter = createGeminiAdapter({ - messages, - functions, - functionCall, - logger: this.dependencies.logger, - }); - break; - - default: - throw new Error(`Connector type is not supported: ${connector.actionTypeId}`); - } - - const subAction = adapter.getSubAction(); - - if (this.dependencies.logger.isLevelEnabled('trace')) { - this.dependencies.logger.trace(JSON.stringify(subAction.subActionParams, null, 2)); - } - - return from( - withAssistantSpan('get_execute_result', () => - this.dependencies.actionsClient.execute({ - actionId: connectorId, - params: subAction, - }) - ) - ).pipe( - switchMap((executeResult) => { - if (executeResult.status === 'error' && executeResult?.serviceMessage) { - const tokenLimitRegex = - /This model's maximum context length is (\d+) tokens\. However, your messages resulted in (\d+) tokens/g; - const tokenLimitRegexResult = tokenLimitRegex.exec(executeResult.serviceMessage); - - if (tokenLimitRegexResult) { - const [, tokenLimit, tokenCount] = tokenLimitRegexResult; - throw createTokenLimitReachedError( - parseInt(tokenLimit, 10), - parseInt(tokenCount, 10) - ); - } - } - - if (executeResult.status === 'error') { - throw createInternalServerError( - `${executeResult?.message} - ${executeResult?.serviceMessage}` - ); + ): Observable => { + const tools = functions?.reduce((acc, fn) => { + acc[fn.name] = { + description: fn.description, + schema: fn.parameters, + }; + return acc; + }, {} as Record); + + const chatComplete$ = defer(() => + this.dependencies.inferenceClient.chatComplete({ + connectorId, + stream: true, + messages: convertMessagesForInference( + messages.filter((message) => message.message.role !== MessageRole.System) + ), + functionCalling: simulateFunctionCalling ? 'simulated' : 'native', + toolChoice: functionCall + ? { + function: functionCall, } - - const response = executeResult.data as Readable; - - signal.addEventListener('abort', () => response.destroy()); - - return tracer.startActiveSpan( - '/chat/completions', - { - kind: SpanKind.CLIENT, - }, - ({ span }) => { - return adapter.streamIntoObservable(response).pipe( - withLangtraceChatCompleteSpan({ - span, - messages, - functions, - model: connector.name, - serviceProvider: - connector.actionTypeId === ObservabilityAIAssistantConnectorType.OpenAI - ? LangtraceServiceProvider.OpenAI - : LangtraceServiceProvider.Anthropic, - }) - ); - } - ); - }) - ); - }), + : ToolChoiceType.auto, + tools, + }) + ).pipe( + convertInferenceEventsToStreamingEvents(), instrumentAndCountTokens(name), failOnNonExistingFunctionCall({ functions }), tap((event) => { @@ -605,6 +518,8 @@ export class ObservabilityAIAssistantClient { }), shareReplay() ); + + return chatComplete$; }; find = async (options?: { query?: string }): Promise<{ conversations: Conversation[] }> => { diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/operators/convert_inference_events_to_streaming_events.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/operators/convert_inference_events_to_streaming_events.ts new file mode 100644 index 0000000000000..0a88c38f78836 --- /dev/null +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/operators/convert_inference_events_to_streaming_events.ts @@ -0,0 +1,77 @@ +/* + * 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, OperatorFunction, map } from 'rxjs'; +import { v4 } from 'uuid'; +import { + ChatCompletionEvent as InferenceChatCompletionEvent, + ChatCompletionEventType as InferenceChatCompletionEventType, +} from '@kbn/inference-common'; +import { + ChatCompletionChunkEvent, + TokenCountEvent, + ChatCompletionMessageEvent, + StreamingChatResponseEventType, +} from '../../../../common'; + +export function convertInferenceEventsToStreamingEvents(): OperatorFunction< + InferenceChatCompletionEvent, + ChatCompletionChunkEvent | TokenCountEvent | ChatCompletionMessageEvent +> { + return (events$: Observable) => { + return events$.pipe( + map((event) => { + switch (event.type) { + case InferenceChatCompletionEventType.ChatCompletionChunk: + // Convert to ChatCompletionChunkEvent + return { + type: StreamingChatResponseEventType.ChatCompletionChunk, + id: v4(), + message: { + content: event.content, + function_call: + event.tool_calls.length > 0 + ? { + name: event.tool_calls[0].function.name, + arguments: event.tool_calls[0].function.arguments, + } + : undefined, + }, + } as ChatCompletionChunkEvent; + case InferenceChatCompletionEventType.ChatCompletionTokenCount: + // Convert to TokenCountEvent + return { + type: StreamingChatResponseEventType.TokenCount, + tokens: { + completion: event.tokens.completion, + prompt: event.tokens.prompt, + total: event.tokens.total, + }, + } as TokenCountEvent; + case InferenceChatCompletionEventType.ChatCompletionMessage: + // Convert to ChatCompletionMessageEvent + return { + type: StreamingChatResponseEventType.ChatCompletionMessage, + id: v4(), + message: { + content: event.content, + function_call: + event.toolCalls.length > 0 + ? { + name: event.toolCalls[0].function.name, + arguments: event.toolCalls[0].function.arguments, + } + : undefined, + }, + } as ChatCompletionMessageEvent; + default: + throw new Error(`Unknown event type`); + } + }) + ); + }; +} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/fail_on_non_existing_function_call.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/operators/fail_on_non_existing_function_call.ts similarity index 100% rename from x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/fail_on_non_existing_function_call.ts rename to x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/operators/fail_on_non_existing_function_call.ts diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/operators/with_langtrace_chat_complete_span.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/operators/with_langtrace_chat_complete_span.ts deleted file mode 100644 index 767121928622a..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/operators/with_langtrace_chat_complete_span.ts +++ /dev/null @@ -1,120 +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. - */ - -import { Event, LLMSpanAttributes } from '@langtrase/trace-attributes'; -import { Span } from '@opentelemetry/api'; -import { FunctionDefinition } from 'openai/resources'; -import { ignoreElements, last, merge, OperatorFunction, share, tap } from 'rxjs'; -import { Message, StreamingChatResponseEventType } from '../../../../common'; -import { ChatEvent } from '../../../../common/conversation_complete'; -import { concatenateChatCompletionChunks } from '../../../../common/utils/concatenate_chat_completion_chunks'; -import { withoutTokenCountEvents } from '../../../../common/utils/without_token_count_events'; -import { getLangtraceSpanAttributes } from '../instrumentation/get_langtrace_span_attributes'; - -export enum LangtraceServiceProvider { - OpenAI = 'OpenAI', - Azure = 'Azure', - Anthropic = 'Anthropic', -} - -export function withLangtraceChatCompleteSpan({ - span, - model, - messages, - serviceProvider, - functions, -}: { - span: Span; - model: string; - messages: Message[]; - serviceProvider: LangtraceServiceProvider; - functions?: Array>; -}): OperatorFunction { - const attributes: LLMSpanAttributes = { - ...getLangtraceSpanAttributes(), - 'langtrace.service.name': serviceProvider, - 'llm.api': '/chat/completions', - 'http.max.retries': 0, - // dummy URL - 'url.full': 'http://localhost:3000/chat/completions', - 'url.path': '/chat/completions', - 'http.timeout': 120 * 1000, - 'gen_ai.operation.name': 'chat_completion', - 'gen_ai.request.model': model, - 'llm.prompts': JSON.stringify( - messages.map((message) => ({ - role: message.message.role, - content: [ - message.message.content, - message.message.function_call ? JSON.stringify(message.message.function_call) : '', - ] - .filter(Boolean) - .join('\n\n'), - })) - ), - 'llm.model': model, - 'llm.stream': true, - ...(functions - ? { - 'llm.tools': JSON.stringify( - functions.map((fn) => ({ - function: fn, - type: 'function', - })) - ), - } - : {}), - }; - - span.setAttributes(attributes); - - return (source$) => { - const shared$ = source$.pipe(share()); - - span.addEvent(Event.STREAM_START); - - const passThrough$ = shared$.pipe( - tap((value) => { - if (value.type === StreamingChatResponseEventType.ChatCompletionChunk) { - span.addEvent(Event.STREAM_OUTPUT, { - response: value.message.content, - }); - return; - } - - span.setAttributes({ - 'llm.token.counts': JSON.stringify({ - input_tokens: value.tokens.prompt, - output_tokens: value.tokens.completion, - total_tokens: value.tokens.total, - }), - }); - }) - ); - - return merge( - passThrough$, - shared$.pipe( - withoutTokenCountEvents(), - concatenateChatCompletionChunks(), - last(), - tap((message) => { - span.setAttribute( - 'llm.responses', - JSON.stringify([ - { - role: 'assistant', - content: message.message.content, - }, - ]) - ); - }), - ignoreElements() - ) - ); - }; -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/index.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/index.ts index d98799fcb63a7..dcd79f5d57873 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/index.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/index.ts @@ -93,6 +93,7 @@ export class ObservabilityAIAssistantService { const basePath = coreStart.http.basePath.get(request); const { spaceId } = getSpaceIdFromPath(basePath, coreStart.http.basePath.serverBasePath); + const inferenceClient = plugins.inference.getClient({ request }); const { asInternalUser } = coreStart.elasticsearch.client; @@ -115,6 +116,7 @@ export class ObservabilityAIAssistantService { asInternalUser, asCurrentUser: coreStart.elasticsearch.client.asScoped(request).asCurrentUser, }, + inferenceClient, logger: this.logger, user: user ? { diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/types.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/types.ts index 2e24cf25902e0..9a6f61b176b1f 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/types.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/types.ts @@ -8,7 +8,7 @@ import type { FromSchema } from 'json-schema-to-ts'; import { Observable } from 'rxjs'; import type { AssistantScope } from '@kbn/ai-assistant-common'; -import { ChatCompletionChunkEvent, ChatEvent } from '../../common/conversation_complete'; +import { ChatEvent } from '../../common/conversation_complete'; import type { CompatibleJSONSchema, FunctionDefinition, @@ -47,7 +47,7 @@ export type FunctionCallChatFunction = ( Parameters[1], 'connectorId' | 'simulateFunctionCalling' | 'tracer' > -) => Observable; +) => Observable; type RespondFunction = ( options: { diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/util/eventsource_stream_into_observable.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/util/eventsource_stream_into_observable.ts deleted file mode 100644 index b2426d8e4eb5d..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/util/eventsource_stream_into_observable.ts +++ /dev/null @@ -1,38 +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. - */ - -import { createParser } from 'eventsource-parser'; -import { Readable } from 'node:stream'; -import { Observable } from 'rxjs'; - -// OpenAI sends server-sent events, so we can use a library -// to deal with parsing, buffering, unicode etc - -export function eventsourceStreamIntoObservable(readable: Readable) { - return new Observable((subscriber) => { - const parser = createParser({ - onEvent: (event) => { - subscriber.next(event.data); - }, - }); - - async function processStream() { - for await (const chunk of readable) { - parser.feed(chunk.toString()); - } - } - - processStream().then( - () => { - subscriber.complete(); - }, - (error) => { - subscriber.error(error); - } - ); - }); -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/util/eventstream_serde_into_observable.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/util/eventstream_serde_into_observable.ts deleted file mode 100644 index d84f2cd00dce2..0000000000000 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/util/eventstream_serde_into_observable.ts +++ /dev/null @@ -1,80 +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. - */ - -import { EventStreamMarshaller } from '@smithy/eventstream-serde-node'; -import { fromUtf8, toUtf8 } from '@smithy/util-utf8'; -import { identity } from 'lodash'; -import { Observable } from 'rxjs'; -import { Readable } from 'stream'; -import { Message } from '@smithy/types'; -import { Logger } from '@kbn/logging'; -import { inspect } from 'util'; -import { createInternalServerError } from '../../../common/conversation_complete'; - -interface ModelStreamErrorException { - name: 'ModelStreamErrorException'; - originalStatusCode?: number; - originalMessage?: string; -} - -export interface BedrockChunkMember { - chunk: Message; -} - -export interface ModelStreamErrorExceptionMember { - modelStreamErrorException: ModelStreamErrorException; -} - -export type BedrockStreamMember = BedrockChunkMember | ModelStreamErrorExceptionMember; - -// AWS uses SerDe to send over serialized data, so we use their -// @smithy library to parse the stream data - -export function eventstreamSerdeIntoObservable(readable: Readable, logger: Logger) { - return new Observable((subscriber) => { - const marshaller = new EventStreamMarshaller({ - utf8Encoder: toUtf8, - utf8Decoder: fromUtf8, - }); - - async function processStream() { - for await (const chunk of marshaller.deserialize(readable, identity)) { - if (chunk) { - subscriber.next(chunk as BedrockStreamMember); - } - } - } - - processStream().then( - () => { - subscriber.complete(); - }, - (error) => { - if (!(error instanceof Error)) { - try { - const exceptionType = error.headers[':exception-type'].value; - const body = toUtf8(error.body); - let message = 'Encountered error in Bedrock stream of type ' + exceptionType; - try { - message += '\n' + JSON.parse(body).message; - } catch (parseError) { - logger.error(`Could not parse message from stream error`); - logger.error(inspect(body)); - } - error = createInternalServerError(message); - } catch (decodeError) { - logger.error('Encountered unparsable error in Bedrock stream'); - logger.error(inspect(decodeError)); - logger.error(inspect(error)); - error = createInternalServerError(); - } - } - subscriber.error(error); - } - ); - }); -} diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/types.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/types.ts index f44911c172ce4..ece417d968a13 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/types.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/server/types.ts @@ -23,6 +23,7 @@ import type { CloudSetup, CloudStart } from '@kbn/cloud-plugin/server'; import type { ServerlessPluginSetup, ServerlessPluginStart } from '@kbn/serverless/server'; import type { RuleRegistryPluginStartContract } from '@kbn/rule-registry-plugin/server'; import type { AlertingServerSetup, AlertingServerStart } from '@kbn/alerting-plugin/server'; +import type { InferenceServerStart } from '@kbn/inference-plugin/server'; import type { ObservabilityAIAssistantService } from './service'; export interface ObservabilityAIAssistantServerSetup { @@ -62,4 +63,5 @@ export interface ObservabilityAIAssistantPluginStartDependencies { cloud?: CloudStart; serverless?: ServerlessPluginStart; alerting: AlertingServerStart; + inference: InferenceServerStart; } diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/tsconfig.json b/x-pack/plugins/observability_solution/observability_ai_assistant/tsconfig.json index 709b3117d575d..77b81c9c72882 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/tsconfig.json +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/tsconfig.json @@ -48,6 +48,7 @@ "@kbn/inference-common", "@kbn/core-lifecycle-server", "@kbn/server-route-repository-utils", + "@kbn/inference-plugin" ], "exclude": ["target/**/*"] } diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant_app/server/functions/query/index.ts b/x-pack/plugins/observability_solution/observability_ai_assistant_app/server/functions/query/index.ts index 210dee20339af..e07a1f140a9ac 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant_app/server/functions/query/index.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant_app/server/functions/query/index.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { isChatCompletionChunkEvent, isOutputEvent } from '@kbn/inference-common'; +import { ToolDefinition, isChatCompletionChunkEvent, isOutputEvent } from '@kbn/inference-common'; import { correctCommonEsqlMistakes } from '@kbn/inference-plugin/common'; import { naturalLanguageToEsql } from '@kbn/inference-plugin/server'; import { @@ -15,12 +15,12 @@ import { StreamingChatResponseEventType, } from '@kbn/observability-ai-assistant-plugin/common'; import { createFunctionResponseMessage } from '@kbn/observability-ai-assistant-plugin/common/utils/create_function_response_message'; +import { convertMessagesForInference } from '@kbn/observability-ai-assistant-plugin/common/convert_messages_for_inference'; import { map } from 'rxjs'; import { v4 } from 'uuid'; import { RegisterInstructionCallback } from '@kbn/observability-ai-assistant-plugin/server/service/types'; import type { FunctionRegistrationParameters } from '..'; import { runAndValidateEsqlQuery } from './validate_esql_query'; -import { convertMessagesForInference } from '../../../common/convert_messages_for_inference'; export const QUERY_FUNCTION_NAME = 'query'; export const EXECUTE_QUERY_NAME = 'execute_query'; @@ -132,9 +132,10 @@ export function registerQueryFunction({ ), logger: resources.logger, tools: Object.fromEntries( - actions - .concat(esqlFunctions) - .map((fn) => [fn.name, { description: fn.description, schema: fn.parameters }]) + [...actions, ...esqlFunctions].map((fn) => [ + fn.name, + { description: fn.description, schema: fn.parameters } as ToolDefinition, + ]) ), functionCalling: useSimulatedFunctionCalling ? 'simulated' : 'native', }); diff --git a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/function_row.tsx b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/function_row.tsx index 3d20818e7b012..436b6942c1305 100644 --- a/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/function_row.tsx +++ b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/function_row.tsx @@ -11,7 +11,6 @@ import { EuiFlexItem, EuiIcon, EuiText, - useEuiBackgroundColor, useEuiTheme, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; @@ -101,9 +100,9 @@ interface DiffColumnProps { } function DiffColumn({ diff, setCellProps }: DiffColumnProps) { - const theme = useEuiTheme(); - const successColor = useEuiBackgroundColor('success'); - const dangerColor = useEuiBackgroundColor('danger'); + const { euiTheme } = useEuiTheme(); + const successColor = euiTheme.colors.backgroundBaseSuccess; + const dangerColor = euiTheme.colors.backgroundBaseDanger; useEffect(() => { if (diff && diff.rank !== 0) { @@ -116,7 +115,7 @@ function DiffColumn({ diff, setCellProps }: DiffColumnProps) { if (!diff) { return ( - + {i18n.translate('xpack.profiling.functionsView.newLabel', { defaultMessage: 'New', })} diff --git a/x-pack/plugins/observability_solution/slo/public/pages/slo_edit/hooks/use_show_sections.test.tsx b/x-pack/plugins/observability_solution/slo/public/pages/slo_edit/hooks/use_show_sections.test.tsx index d7b485e56b34d..51de320b0d9dd 100644 --- a/x-pack/plugins/observability_solution/slo/public/pages/slo_edit/hooks/use_show_sections.test.tsx +++ b/x-pack/plugins/observability_solution/slo/public/pages/slo_edit/hooks/use_show_sections.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { useShowSections } from './use_show_sections'; describe('useShowSections', () => { diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_details/monitor_selector/use_recently_viewed_monitors.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_details/monitor_selector/use_recently_viewed_monitors.test.tsx index 185814b5ff0de..77979ae101ccd 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_details/monitor_selector/use_recently_viewed_monitors.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_details/monitor_selector/use_recently_viewed_monitors.test.tsx @@ -6,7 +6,7 @@ */ import React from 'react'; -import { renderHook } from '@testing-library/react-hooks'; +import { waitFor, renderHook } from '@testing-library/react'; import type { FETCH_STATUS } from '@kbn/observability-shared-plugin/public'; import { useFetcher } from '@kbn/observability-shared-plugin/public'; @@ -38,10 +38,10 @@ describe('useRecentlyViewedMonitors', () => { }); it('returns expected result', () => { - const WrapperWithState = ({ children }: { children: React.ReactElement }) => { + const WrapperWithState = ({ children }: React.PropsWithChildren) => { return ( - {children} + {React.createElement(React.Fragment, null, children)} ); }; @@ -87,20 +87,17 @@ describe('useRecentlyViewedMonitors', () => { monitors: [fetchedMonitor], }); - const WrapperWithState = ({ children }: { children: React.ReactElement }) => { + const WrapperWithState = ({ children }: React.PropsWithChildren) => { return ( - {children} + {React.createElement(React.Fragment, null, children)} ); }; - const { result, waitForValueToChange, rerender } = renderHook( - () => useRecentlyViewedMonitors(), - { - wrapper: WrapperWithState, - } - ); - await waitForValueToChange(() => persistedIds); + const { result, rerender } = renderHook(() => useRecentlyViewedMonitors(), { + wrapper: WrapperWithState, + }); + await waitFor(() => persistedIds); // Sets the current monitor as well as updated information expect(setPersistedIdsMock).toHaveBeenCalledWith([currentMonitorQueryId, monitorQueryId3]); diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/use_monitor_status_data.test.ts b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/use_monitor_status_data.test.ts index 44dd45991471f..50d49b906ea66 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/use_monitor_status_data.test.ts +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/use_monitor_status_data.test.ts @@ -5,7 +5,8 @@ * 2.0. */ -import { renderHook, act } from '@testing-library/react-hooks'; +import React from 'react'; +import { renderHook, act } from '@testing-library/react'; import * as reactRedux from 'react-redux'; import { useBins, useMonitorStatusData } from './use_monitor_status_data'; import { WrappedHelper } from '../../../utils/testing'; @@ -13,6 +14,9 @@ import * as selectedMonitorHook from '../hooks/use_selected_monitor'; import * as selectedLocationHook from '../hooks/use_selected_location'; import { omit } from 'lodash'; +const Wrapper = ({ children }: React.PropsWithChildren) => + React.createElement(WrappedHelper, null, children); + describe('useMonitorStatusData', () => { let dispatchMock: jest.Mock; beforeEach(() => { @@ -65,7 +69,7 @@ describe('useMonitorStatusData', () => { initialSizeRef: { current: { clientWidth: 0 } as any }, }; const { result } = renderHook(() => useMonitorStatusData(props), { - wrapper: WrappedHelper, + wrapper: Wrapper, }); expect(result.current).toBeDefined(); expect(result.current.minsPerBin).toBeNull(); @@ -81,7 +85,7 @@ describe('useMonitorStatusData', () => { initialSizeRef: { current: { clientWidth: 0 } as any }, }; const { result } = renderHook(() => useMonitorStatusData(props), { - wrapper: WrappedHelper, + wrapper: Wrapper, }); await act(async () => { result.current.handleResize({ width: 250, height: 800 }); @@ -162,7 +166,7 @@ describe('useBins', () => { }, ], }), - { wrapper: WrappedHelper } + { wrapper: Wrapper } ); expect(result.current).toMatchInlineSnapshot(` Object { @@ -340,7 +344,7 @@ describe('useBins', () => { fromMillis: 1728310613654, toMillis: 1728313563654, }), - { wrapper: WrappedHelper } + { wrapper: Wrapper } ); expect(result.current).toMatchInlineSnapshot(` Object { diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitors_page/common/monitor_filters/use_filters.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitors_page/common/monitor_filters/use_filters.test.tsx index 3b949220342fb..3fd2b1093b711 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitors_page/common/monitor_filters/use_filters.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitors_page/common/monitor_filters/use_filters.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ import React from 'react'; -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { useFilters } from './use_filters'; import { useDispatch } from 'react-redux'; import { WrappedHelper } from '../../../../utils/testing'; @@ -20,7 +20,11 @@ describe('useMonitorListFilters', () => { jest.useFakeTimers(); it('returns expected results', () => { - const { result } = renderHook(() => useFilters(), { wrapper: WrappedHelper }); + const { result } = renderHook(() => useFilters(), { + wrapper: ({ children }: React.PropsWithChildren) => ( + {React.createElement(React.Fragment, {}, children)} + ), + }); expect(result.current).toStrictEqual({ locations: [], @@ -32,7 +36,7 @@ describe('useMonitorListFilters', () => { }); it('dispatches action when filters are null', () => { - const Wrapper = ({ children }: { children: React.ReactElement }) => { + const Wrapper = ({ children }: React.PropsWithChildren) => { return ( { }, }} > - {children} + {React.createElement(React.Fragment, null, children)} ); }; @@ -67,7 +71,7 @@ describe('useMonitorListFilters', () => { projects: [], schedules: [], }; - const Wrapper = ({ children }: { children: React.ReactElement }) => { + const Wrapper = ({ children }: React.PropsWithChildren) => { return ( { }, }} > - {children} + {React.createElement(React.Fragment, null, children)} ); }; diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitors_page/hooks/use_monitor_list.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitors_page/hooks/use_monitor_list.test.tsx index 05741f7aa0cac..a8c829376762c 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitors_page/hooks/use_monitor_list.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitors_page/hooks/use_monitor_list.test.tsx @@ -6,7 +6,7 @@ */ import React from 'react'; -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import * as redux from 'react-redux'; import { MONITOR_ROUTE } from '../../../../../../common/constants'; import { mockState } from '../../../utils/testing/__mocks__/synthetics_store.mock'; @@ -54,7 +54,9 @@ describe('useMonitorList', () => { it('returns expected initial state', () => { const { result: { current: hookResult }, - } = renderHook(() => useMonitorList(), { wrapper: WrappedHelper }); + } = renderHook(() => useMonitorList(), { + wrapper: ({ children }) => React.createElement(WrappedHelper, null, children), + }); expect(hookResult).toMatchObject({ ...initialState, handleFilterChange: expect.any(Function) }); }); @@ -64,10 +66,10 @@ describe('useMonitorList', () => { const url = `/monitor/1?query=${query}`; jest.useFakeTimers().setSystemTime(Date.now()); - const WrapperWithState = ({ children }: { children: React.ReactElement }) => { + const WrapperWithState = ({ children }: React.PropsWithChildren) => { return ( - {children} + {React.createElement(React.Fragment, {}, children)} ); }; @@ -97,10 +99,10 @@ describe('useMonitorList', () => { )}&projects=${JSON.stringify(exp.projects)}`; jest.useFakeTimers().setSystemTime(Date.now()); - const WrapperWithState = ({ children }: { children: React.ReactElement }) => { + const WrapperWithState = ({ children }: React.PropsWithChildren) => { return ( - {children} + {React.createElement(React.Fragment, {}, children)} ); }; diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/hooks/use_get_data_stream_statuses.test.ts b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/hooks/use_get_data_stream_statuses.test.ts index 67cf9589fb818..7abd273c89e9d 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/hooks/use_get_data_stream_statuses.test.ts +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/hooks/use_get_data_stream_statuses.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { FETCH_STATUS, useFetcher } from '@kbn/observability-shared-plugin/public'; import { useGetDataStreamStatuses } from './use_get_data_stream_statuses'; diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/hooks/use_get_ilm_policies.test.ts b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/hooks/use_get_ilm_policies.test.ts index 3f5dba93db975..6ee6dfe568254 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/hooks/use_get_ilm_policies.test.ts +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/hooks/use_get_ilm_policies.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { waitFor, renderHook } from '@testing-library/react'; import { useGetIlmPolicies } from './use_get_ilm_policies'; import * as hookPolicyAPI from './api'; @@ -23,8 +23,8 @@ describe('useGetIlmPolicies', () => { }); it('returns the correct data', async () => { - const { result, waitForNextUpdate } = renderHook(() => useGetIlmPolicies()); - await waitForNextUpdate(); + const { result } = renderHook(() => useGetIlmPolicies()); + await waitFor(() => new Promise((resolve) => resolve(null))); expect(result.current.data).toEqual([ { currentSize: '434 MB', diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/hooks/use_location_monitors.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/hooks/use_location_monitors.test.tsx index a2f20894ed80d..c2065e6851f5a 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/hooks/use_location_monitors.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/hooks/use_location_monitors.test.tsx @@ -5,8 +5,9 @@ * 2.0. */ +import { createElement } from 'react'; import * as reactRedux from 'react-redux'; -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { WrappedHelper } from '../../../../utils/testing'; import { useLocationMonitors } from './use_location_monitors'; @@ -27,7 +28,9 @@ describe('useLocationMonitors', () => { it('returns expected results', () => { useSelectorSpy.mockReturnValue({ locationMonitors: [], loading: false }); - const { result } = renderHook(() => useLocationMonitors(), { wrapper: WrappedHelper }); + const { result } = renderHook(() => useLocationMonitors(), { + wrapper: ({ children }) => createElement(WrappedHelper, null, children), + }); expect(result.current).toStrictEqual({ locationMonitors: [], loading: false }); }); @@ -46,7 +49,7 @@ describe('useLocationMonitors', () => { it('returns expected results after data', async () => { const { result } = renderHook(() => useLocationMonitors(), { - wrapper: WrappedHelper, + wrapper: ({ children }) => createElement(WrappedHelper, null, children), }); expect(result.current).toStrictEqual({ diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/hooks/use_locations_api.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/hooks/use_locations_api.test.tsx index ea8430cba5569..279a0b2a57af6 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/hooks/use_locations_api.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/hooks/use_locations_api.test.tsx @@ -5,7 +5,8 @@ * 2.0. */ -import { renderHook, act } from '@testing-library/react-hooks'; +import { createElement } from 'react'; +import { act, waitFor, renderHook } from '@testing-library/react'; import { WrappedHelper } from '../../../../utils/testing'; import { getServiceLocations } from '../../../../state/service_locations'; import { setAddingNewPrivateLocation } from '../../../../state/private_locations'; @@ -24,7 +25,7 @@ describe('usePrivateLocationsAPI', () => { it('returns expected results', () => { const { result } = renderHook(() => usePrivateLocationsAPI(), { - wrapper: WrappedHelper, + wrapper: ({ children }) => createElement(WrappedHelper, null, children), }); expect(result.current).toEqual( @@ -42,8 +43,8 @@ describe('usePrivateLocationsAPI', () => { } as any, ]); it('returns expected results after data', async () => { - const { result, waitForNextUpdate } = renderHook(() => usePrivateLocationsAPI(), { - wrapper: WrappedHelper, + const { result } = renderHook(() => usePrivateLocationsAPI(), { + wrapper: ({ children }) => createElement(WrappedHelper, null, children), }); expect(result.current).toEqual( @@ -53,22 +54,22 @@ describe('usePrivateLocationsAPI', () => { }) ); - await waitForNextUpdate(); - - expect(result.current).toEqual( - expect.objectContaining({ - loading: false, - privateLocations: [], - }) + await waitFor(() => + expect(result.current).toEqual( + expect.objectContaining({ + loading: false, + privateLocations: [], + }) + ) ); }); it('adds location on submit', async () => { - const { result, waitForNextUpdate } = renderHook(() => usePrivateLocationsAPI(), { - wrapper: WrappedHelper, + const { result } = renderHook(() => usePrivateLocationsAPI(), { + wrapper: ({ children }) => createElement(WrappedHelper, null, children), }); - await waitForNextUpdate(); + await waitFor(() => new Promise((resolve) => resolve(null))); act(() => { result.current.onSubmit({ @@ -81,35 +82,35 @@ describe('usePrivateLocationsAPI', () => { }); }); - await waitForNextUpdate(); - - expect(addAPI).toHaveBeenCalledWith({ - geo: { - lat: 0, - lon: 0, - }, - label: 'new', - agentPolicyId: 'newPolicy', + await waitFor(() => { + expect(addAPI).toHaveBeenCalledWith({ + geo: { + lat: 0, + lon: 0, + }, + label: 'new', + agentPolicyId: 'newPolicy', + }); + expect(dispatch).toBeCalledWith(setAddingNewPrivateLocation(false)); + expect(dispatch).toBeCalledWith(getServiceLocations()); }); - expect(dispatch).toBeCalledWith(setAddingNewPrivateLocation(false)); - expect(dispatch).toBeCalledWith(getServiceLocations()); }); it('deletes location on delete', async () => { - const { result, waitForNextUpdate } = renderHook(() => usePrivateLocationsAPI(), { - wrapper: WrappedHelper, + const { result } = renderHook(() => usePrivateLocationsAPI(), { + wrapper: ({ children }) => createElement(WrappedHelper, null, children), }); - await waitForNextUpdate(); + await waitFor(() => new Promise((resolve) => resolve(null))); act(() => { result.current.onDelete('Test'); }); - await waitForNextUpdate(); - - expect(deletedAPI).toHaveBeenLastCalledWith('Test'); - expect(dispatch).toBeCalledWith(setAddingNewPrivateLocation(false)); - expect(dispatch).toBeCalledWith(getServiceLocations()); + await waitFor(() => { + expect(deletedAPI).toHaveBeenLastCalledWith('Test'); + expect(dispatch).toBeCalledWith(setAddingNewPrivateLocation(false)); + expect(dispatch).toBeCalledWith(getServiceLocations()); + }); }); }); diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/use_step_waterfall_metrics.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/use_step_waterfall_metrics.test.tsx index 17034c2153c52..743dfa9ff046f 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/use_step_waterfall_metrics.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/use_step_waterfall_metrics.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { BROWSER_TRACE_NAME, BROWSER_TRACE_START, diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/use_bar_charts.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/use_bar_charts.test.tsx index 24c1c074bd86a..9ace447221d8d 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/use_bar_charts.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/use_bar_charts.test.tsx @@ -6,7 +6,7 @@ */ import { useBarCharts } from './use_bar_charts'; -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { IWaterfallContext } from './context/waterfall_context'; import { CANVAS_MAX_ITEMS } from './constants'; diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_flyout/use_flyout.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_flyout/use_flyout.test.tsx index 0476f46e11f2a..2cdb150948c6e 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_flyout/use_flyout.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_flyout/use_flyout.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook, act } from '@testing-library/react-hooks'; +import { renderHook, act } from '@testing-library/react'; import { useFlyout } from './use_flyout'; import { IWaterfallContext } from '../context/waterfall_context'; diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_absolute_date.test.ts b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_absolute_date.test.ts index 94e9178a7299e..2561ede50abb3 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_absolute_date.test.ts +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_absolute_date.test.ts @@ -6,7 +6,7 @@ */ import datemath from '@elastic/datemath'; -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import moment, { Moment } from 'moment'; import { useAbsoluteDate } from './use_absolute_date'; diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_composite_image.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_composite_image.test.tsx index 9660490515549..ae0f1342d8c03 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_composite_image.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_composite_image.test.tsx @@ -6,7 +6,7 @@ */ import * as redux from 'react-redux'; -import { renderHook } from '@testing-library/react-hooks'; +import { waitFor, renderHook } from '@testing-library/react'; import { ScreenshotRefImageData, ScreenshotBlockCache } from '../../../../common/runtime_types'; import { fetchBlocksAction } from '../state'; import { shouldCompose, useComposeImageFromRef } from './use_composite_image'; @@ -148,6 +148,17 @@ describe('use composite image', () => { let removeChildSpy: jest.Mock; let selectorSpy: jest.SpyInstance; let composeSpy: jest.SpyInstance; + let documentCreateElementSpy: jest.SpyInstance< + ReturnType, + Parameters + >; + + // store reference to original document.createElement + const superCreateElement = document.createElement; + + beforeAll(() => { + documentCreateElementSpy = jest.spyOn(document, 'createElement'); + }); beforeEach(() => { useDispatchMock = jest.fn(); @@ -158,8 +169,16 @@ describe('use composite image', () => { }, toDataURL: jest.fn().mockReturnValue('compose success'), }; + // @ts-expect-error mocking canvas element for testing - jest.spyOn(document, 'createElement').mockReturnValue(canvasMock); + documentCreateElementSpy.mockImplementation(function (tagName, options) { + if (tagName === 'canvas') { + return canvasMock; + } + + return superCreateElement.call(document, tagName, options); + }); + jest.spyOn(redux, 'useDispatch').mockReturnValue(useDispatchMock); selectorSpy = jest.spyOn(redux, 'useSelector').mockReturnValue({ blocks }); composeSpy = jest @@ -179,7 +198,7 @@ describe('use composite image', () => { }); it('composes when all required blocks are loaded 2', async () => { - const { waitFor, result } = renderHook(() => useComposeImageFromRef(imgRef)); + const { result } = renderHook(() => useComposeImageFromRef(imgRef)); expect(selectorSpy).toHaveBeenCalled(); expect(result.current.isComposing).toBeTruthy(); diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_location_name.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_location_name.test.tsx index 0a92712d282a5..598112c972c32 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_location_name.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_location_name.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ import React from 'react'; -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { useLocationName } from './use_location_name'; import { WrappedHelper } from '../utils/testing'; import { OverviewStatusMetaData } from '../../../../common/runtime_types'; @@ -16,7 +16,7 @@ describe('useLocationName', () => { }); it('returns expected label', () => { - const WrapperWithState = ({ children }: { children: React.ReactElement }) => { + const WrapperWithState = ({ children }: React.PropsWithChildren) => { return ( { }, }} > - {children} + {React.createElement(React.Fragment, null, children)} ); }; @@ -56,7 +56,7 @@ describe('useLocationName', () => { }); it('returns the location id if matching location cannot be found', () => { - const WrapperWithState = ({ children }: { children: React.ReactElement }) => { + const WrapperWithState = ({ children }: React.PropsWithChildren) => { return ( { }, }} > - {children} + {React.createElement(React.Fragment, null, children)} ); }; diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_monitor_name.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_monitor_name.test.tsx index af7700f549d88..f4a2294e4f4c6 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_monitor_name.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_monitor_name.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { waitFor, renderHook } from '@testing-library/react'; import { fetchMonitorManagementList } from '../state'; import { useMonitorName } from './use_monitor_name'; @@ -54,7 +54,7 @@ describe('useMonitorName', () => { }); it('returns expected initial and after load state', async () => { - const { result, waitForValueToChange } = renderHook(() => useMonitorName({})); + const { result } = renderHook(() => useMonitorName({})); expect(result.current).toStrictEqual({ loading: true, @@ -62,7 +62,7 @@ describe('useMonitorName', () => { nameAlreadyExists: false, }); - await waitForValueToChange(() => result.current.values); + await waitFor(() => result.current.values); expect(result.current).toStrictEqual({ loading: false, @@ -78,11 +78,9 @@ describe('useMonitorName', () => { }); it('returns correct "nameAlreadyExists" when name matches', async () => { - const { result, waitForValueToChange } = renderHook(() => - useMonitorName({ search: 'Test monitor name 2' }) - ); + const { result } = renderHook(() => useMonitorName({ search: 'Test monitor name 2' })); - await waitForValueToChange(() => result.current.values); // Wait until data has been loaded + await waitFor(() => result.current.values); // Wait until data has been loaded expect(result.current).toStrictEqual({ loading: false, nameAlreadyExists: true, @@ -97,11 +95,9 @@ describe('useMonitorName', () => { }); it('returns expected results after data while editing monitor', async () => { - const { result, waitForValueToChange } = renderHook(() => - useMonitorName({ search: 'Test monitor name' }) - ); + const { result } = renderHook(() => useMonitorName({ search: 'Test monitor name' })); - await waitForValueToChange(() => result.current.values); // Wait until data has been loaded + await waitFor(() => result.current.values); // Wait until data has been loaded expect(result.current).toStrictEqual({ loading: false, nameAlreadyExists: false, // Should be `false` for the currently editing monitor, diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_monitors_sorted_by_status.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_monitors_sorted_by_status.test.tsx index a8f3dee54f07d..9e2c2c30cabe9 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_monitors_sorted_by_status.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_monitors_sorted_by_status.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ import React from 'react'; -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { SyntheticsUrlParams } from '../utils/url_params/get_supported_url_params'; import { useMonitorsSortedByStatus } from './use_monitors_sorted_by_status'; import { WrappedHelper } from '../utils/testing'; @@ -37,10 +37,9 @@ describe('useMonitorsSortedByStatus', () => { const WrapperWithState = ({ children, sortOrder = 'asc', - }: { - children: React.ReactElement; + }: React.PropsWithChildren<{ sortOrder: 'asc' | 'desc'; - }) => { + }>) => { return ( { }, }} > - {children} + {React.createElement(React.Fragment, null, children)} ); }; it('returns monitors down first when sort order is asc', () => { const { result } = renderHook(() => useMonitorsSortedByStatus(), { - wrapper: WrapperWithState, + wrapper: ({ children }) => React.createElement(WrapperWithState, null, children), }); expect(result.current).toMatchInlineSnapshot(` Array [ @@ -167,7 +166,7 @@ describe('useMonitorsSortedByStatus', () => { it('returns monitors up first when sort order is desc', () => { const { result } = renderHook(() => useMonitorsSortedByStatus(), { - wrapper: ({ children }: { children: React.ReactElement }) => ( + wrapper: ({ children }: React.PropsWithChildren) => ( {children} ), }); @@ -223,7 +222,7 @@ describe('useMonitorsSortedByStatus', () => { } as SyntheticsUrlParams); const { result } = renderHook(() => useMonitorsSortedByStatus(), { - wrapper: ({ children }: { children: React.ReactElement }) => ( + wrapper: ({ children }: React.PropsWithChildren) => ( {children} ), }); @@ -254,7 +253,7 @@ describe('useMonitorsSortedByStatus', () => { } as SyntheticsUrlParams); const { result } = renderHook(() => useMonitorsSortedByStatus(), { - wrapper: ({ children }: { children: React.ReactElement }) => ( + wrapper: ({ children }: React.PropsWithChildren) => ( {children} ), }); @@ -285,7 +284,7 @@ describe('useMonitorsSortedByStatus', () => { } as SyntheticsUrlParams); const { result } = renderHook(() => useMonitorsSortedByStatus(), { - wrapper: ({ children }: { children: React.ReactElement }) => ( + wrapper: ({ children }: React.PropsWithChildren) => ( {children} ), }); diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_synthetics_priviliges.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_synthetics_priviliges.test.tsx index 7d496b3940da8..53b3287c60105 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_synthetics_priviliges.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/hooks/use_synthetics_priviliges.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import React from 'react'; import { render, WrappedHelper } from '../utils/testing'; import { useSyntheticsPrivileges } from './use_synthetics_priviliges'; @@ -22,7 +22,7 @@ jest.mock('react-redux', () => { }; }); -function wrapper({ children }: { children: React.ReactElement }) { +function wrapper({ children }: React.PropsWithChildren) { return {children}; } diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/utils/testing/rtl_helpers.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/utils/testing/rtl_helpers.tsx index 93ff3de42d360..98329d51fdee1 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/utils/testing/rtl_helpers.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/utils/testing/rtl_helpers.tsx @@ -249,7 +249,7 @@ export function WrappedHelper({ useRealStore, path, history = createMemoryHistory(), -}: RenderRouterOptions & { children: ReactElement; useRealStore?: boolean }) { +}: React.PropsWithChildren & { useRealStore?: boolean }>) { const testState: AppState = mergeWith({}, mockState, state, (objValue, srcValue) => { if (Array.isArray(objValue)) { return srcValue; diff --git a/x-pack/plugins/observability_solution/synthetics/public/hooks/use_date_format.test.tsx b/x-pack/plugins/observability_solution/synthetics/public/hooks/use_date_format.test.tsx index fac97ba610377..2757835c50e93 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/hooks/use_date_format.test.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/hooks/use_date_format.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { i18n } from '@kbn/i18n'; jest.mock('@kbn/i18n', () => ({ diff --git a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/step_detail/use_step_waterfall_metrics.test.tsx b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/step_detail/use_step_waterfall_metrics.test.tsx index f5c79e10f1626..a8b19dea83839 100644 --- a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/step_detail/use_step_waterfall_metrics.test.tsx +++ b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/step_detail/use_step_waterfall_metrics.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { BROWSER_TRACE_NAME, BROWSER_TRACE_START, diff --git a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/use_bar_charts.test.tsx b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/use_bar_charts.test.tsx index a963fb1e2939c..eec6aadc07597 100644 --- a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/use_bar_charts.test.tsx +++ b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/use_bar_charts.test.tsx @@ -6,7 +6,7 @@ */ import { useBarCharts } from './use_bar_charts'; -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { IWaterfallContext } from '../context/waterfall_chart'; import { CANVAS_MAX_ITEMS } from './constants'; diff --git a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/use_flyout.test.tsx b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/use_flyout.test.tsx index 5b388874d508e..0fe4d8dda69b3 100644 --- a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/use_flyout.test.tsx +++ b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/use_flyout.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook, act } from '@testing-library/react-hooks'; +import { renderHook, act } from '@testing-library/react'; import { useFlyout } from './use_flyout'; import { IWaterfallContext } from '../context/waterfall_chart'; diff --git a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/overview/query_bar/use_query_bar.test.tsx b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/overview/query_bar/use_query_bar.test.tsx index 4a9c459dd36ea..90799ded861e8 100644 --- a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/overview/query_bar/use_query_bar.test.tsx +++ b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/overview/query_bar/use_query_bar.test.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; -import { waitFor } from '@testing-library/react'; -import { act, renderHook } from '@testing-library/react-hooks'; +import { waitFor, renderHook, act } from '@testing-library/react'; import { MockRouter, MockKibanaProvider } from '../../../lib/helper/rtl_helpers'; import { SyntaxType, useQueryBar, DEBOUNCE_INTERVAL } from './use_query_bar'; import { MountWithReduxProvider } from '../../../lib'; diff --git a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/synthetics/check_steps/use_expanded_row.test.tsx b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/synthetics/check_steps/use_expanded_row.test.tsx index a139abe5d86a0..1445ec8e3332a 100644 --- a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/synthetics/check_steps/use_expanded_row.test.tsx +++ b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/synthetics/check_steps/use_expanded_row.test.tsx @@ -8,8 +8,7 @@ import React from 'react'; import ReactRouterDom from 'react-router-dom'; import { Route } from '@kbn/shared-ux-router'; -import { fireEvent, screen } from '@testing-library/react'; -import { renderHook, act as hooksAct } from '@testing-library/react-hooks'; +import { fireEvent, screen, renderHook, act as hooksAct } from '@testing-library/react'; import { createMemoryHistory } from 'history'; import { EuiButtonIcon } from '@elastic/eui'; import { getExpandedStepCallback, useExpandedRow } from './use_expanded_row'; @@ -217,7 +216,9 @@ describe('useExpandedROw', () => { }) ); - result.current.toggleExpand({ journeyStep: defaultSteps[0] }); + act(() => { + result.current.toggleExpand({ journeyStep: defaultSteps[0] }); + }); expect(result.current.expandedRows[0].props.browserConsoles).toEqual([ browserConsoleStep.synthetics.payload.text, diff --git a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_composite_image.test.tsx b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_composite_image.test.tsx index d26342aca54c5..2797a8de19740 100644 --- a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_composite_image.test.tsx +++ b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_composite_image.test.tsx @@ -6,7 +6,7 @@ */ import * as redux from 'react-redux'; -import { renderHook } from '@testing-library/react-hooks'; +import { waitFor, renderHook } from '@testing-library/react'; import { ScreenshotRefImageData, ScreenshotBlockCache } from '../../../common/runtime_types'; import { shouldCompose, useCompositeImage } from './use_composite_image'; import * as compose from '../lib/helper/compose_screenshot_images'; @@ -147,6 +147,17 @@ describe('use composite image', () => { let removeChildSpy: jest.Mock; let selectorSpy: jest.SpyInstance; let composeSpy: jest.SpyInstance; + let documentCreateElementSpy: jest.SpyInstance< + ReturnType, + Parameters + >; + + // store reference to original document.createElement + const superCreateElement = document.createElement; + + beforeAll(() => { + documentCreateElementSpy = jest.spyOn(document, 'createElement'); + }); beforeEach(() => { useDispatchMock = jest.fn(); @@ -158,7 +169,13 @@ describe('use composite image', () => { toDataURL: jest.fn().mockReturnValue('compose success'), }; // @ts-expect-error mocking canvas element for testing - jest.spyOn(document, 'createElement').mockReturnValue(canvasMock); + documentCreateElementSpy.mockImplementation(function (tagName, options) { + if (tagName === 'canvas') { + return canvasMock; + } + + return superCreateElement.call(document, tagName, options); + }); jest.spyOn(redux, 'useDispatch').mockReturnValue(useDispatchMock); selectorSpy = jest.spyOn(redux, 'useSelector').mockReturnValue({ blocks }); composeSpy = jest @@ -182,7 +199,7 @@ describe('use composite image', () => { it('composes when all required blocks are loaded', async () => { const onComposeImageSuccess = jest.fn(); - const { waitFor } = renderHook(() => useCompositeImage(imgRef, onComposeImageSuccess)); + renderHook(() => useCompositeImage(imgRef, onComposeImageSuccess)); expect(selectorSpy).toHaveBeenCalled(); expect(composeSpy).toHaveBeenCalledTimes(1); diff --git a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_filter_update.test.ts b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_filter_update.test.ts index 734b018a6b624..05f507b7da839 100644 --- a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_filter_update.test.ts +++ b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_filter_update.test.ts @@ -4,7 +4,8 @@ * 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 { renderHook } from '@testing-library/react'; import { addUpdatedField, useFilterUpdate } from './use_filter_update'; import * as params from './use_url_params'; diff --git a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_overview_filter_check.test.tsx b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_overview_filter_check.test.tsx index 9fd0a07033120..d203e01dbd577 100644 --- a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_overview_filter_check.test.tsx +++ b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/hooks/use_overview_filter_check.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { renderHook } from '@testing-library/react-hooks'; +import { renderHook } from '@testing-library/react'; import { createMemoryHistory } from 'history'; import React, { FC, PropsWithChildren } from 'react'; import * as reactRedux from 'react-redux'; diff --git a/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts b/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts index 46dea6d8b1190..4ca908310c78c 100644 --- a/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts +++ b/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts @@ -178,6 +178,7 @@ export class ExecuteReportTask implements ReportingTask { const store = await this.getStore(); const report = await store.findReportFromTask(task); // receives seq_no and primary_term + const logger = this.logger.get(report._id); if (report.status === 'completed') { throw new Error(`Can not claim the report job: it is already completed!`); @@ -197,7 +198,7 @@ export class ExecuteReportTask implements ReportingTask { err.stack = error.stack; } else { if (report.error && report.error instanceof Error) { - errorLogger(this.logger, 'Error executing report', report.error); + errorLogger(logger, 'Error executing report', report.error); } err = new QueueTimeoutError( `Max attempts reached (${maxAttempts}). Queue timeout reached.` @@ -226,7 +227,7 @@ export class ExecuteReportTask implements ReportingTask { ...doc, }); - this.logger.info( + logger.info( `Claiming ${claimedReport.jobtype} ${report._id} ` + `[_index: ${report._index}] ` + `[_seq_no: ${report._seq_no}] ` + @@ -251,14 +252,15 @@ export class ExecuteReportTask implements ReportingTask { error?: ReportingError ): Promise> { const message = `Failing ${report.jobtype} job ${report._id}`; + const logger = this.logger.get(report._id); // log the error let docOutput; if (error) { - errorLogger(this.logger, message, error); + errorLogger(logger, message, error); docOutput = this._formatOutput(error); } else { - errorLogger(this.logger, message); + errorLogger(logger, message); } // update the report in the store @@ -287,8 +289,9 @@ export class ExecuteReportTask implements ReportingTask { ): Promise> { const message = `Saving execution error for ${report.jobtype} job ${report._id}`; const errorParsed = parseError(failedToExecuteErr); + const logger = this.logger.get(report._id); // log the error - errorLogger(this.logger, message, failedToExecuteErr); + errorLogger(logger, message, failedToExecuteErr); // update the report in the store const store = await this.getStore(); @@ -350,8 +353,9 @@ export class ExecuteReportTask implements ReportingTask { output: CompletedReportOutput ): Promise { let docId = `/${report._index}/_doc/${report._id}`; + const logger = this.logger.get(report._id); - this.logger.debug(`Saving ${report.jobtype} to ${docId}.`); + logger.debug(`Saving ${report.jobtype} to ${docId}.`); const completedTime = moment(); const docOutput = this._formatOutput(output); @@ -365,7 +369,7 @@ export class ExecuteReportTask implements ReportingTask { const resp = await store.setReportCompleted(report, doc); - this.logger.info(`Saved ${report.jobtype} job ${docId}`); + logger.info(`Saved ${report.jobtype} job ${docId}`); report._seq_no = resp._seq_no!; report._primary_term = resp._primary_term!; @@ -464,11 +468,12 @@ export class ExecuteReportTask implements ReportingTask { const { jobtype: jobType, attempts } = report; const maxAttempts = this.getMaxAttempts(); + const logger = this.logger.get(jobId); - this.logger.debug( + logger.debug( `Starting ${jobType} report ${jobId}: attempt ${attempts} of ${maxAttempts}.` ); - this.logger.debug(`Reports running: ${this.reporting.countConcurrentReports()}.`); + logger.debug(`Reports running: ${this.reporting.countConcurrentReports()}.`); const eventLog = this.reporting.getEventLogger( new Report({ ...task, _id: task.id, _index: task.index }) @@ -502,7 +507,9 @@ export class ExecuteReportTask implements ReportingTask { stream.end(); + logger.debug(`Begin waiting for the stream's pending callbacks...`); await finishedWithNoPendingCallbacks(stream); + logger.info(`The stream's pending callbacks have completed.`); report._seq_no = stream.getSeqNo()!; report._primary_term = stream.getPrimaryTerm()!; @@ -513,24 +520,21 @@ export class ExecuteReportTask implements ReportingTask { }); if (output) { - this.logger.debug(`Job output size: ${stream.bytesWritten} bytes.`); + logger.debug(`Job output size: ${stream.bytesWritten} bytes.`); + // Update the job status to "completed" report = await this._completeJob(report, { ...output, size: stream.bytesWritten, }); } // untrack the report for concurrency awareness - this.logger.debug(`Stopping ${jobId}.`); + logger.debug(`Stopping ${jobId}.`); } catch (failedToExecuteErr) { eventLog.logError(failedToExecuteErr); await this._saveExecutionError(report, failedToExecuteErr).catch( (failedToSaveError) => { - errorLogger( - this.logger, - `Error in saving execution error ${jobId}`, - failedToSaveError - ); + errorLogger(logger, `Error in saving execution error ${jobId}`, failedToSaveError); } ); @@ -541,7 +545,7 @@ export class ExecuteReportTask implements ReportingTask { throwRetryableError(error, new Date(Date.now() + TIME_BETWEEN_ATTEMPTS)); } finally { this.reporting.untrackReport(jobId); - this.logger.debug(`Reports running: ${this.reporting.countConcurrentReports()}.`); + logger.debug(`Reports running: ${this.reporting.countConcurrentReports()}.`); } }, @@ -551,7 +555,7 @@ export class ExecuteReportTask implements ReportingTask { */ cancel: async () => { if (jobId) { - this.logger.warn(`Cancelling job ${jobId}...`); + this.logger.get(jobId).warn(`Cancelling job ${jobId}...`); } cancellationToken.cancel(); }, diff --git a/x-pack/plugins/search_inference_endpoints/common/translations.ts b/x-pack/plugins/search_inference_endpoints/common/translations.ts index 8b63725c59f96..9d4238b494e6b 100644 --- a/x-pack/plugins/search_inference_endpoints/common/translations.ts +++ b/x-pack/plugins/search_inference_endpoints/common/translations.ts @@ -103,3 +103,17 @@ export const TRAINED_MODELS_STAT_GATHER_FAILED = i18n.translate( defaultMessage: 'Failed to retrieve trained model statistics', } ); + +export const BREADCRUMB_RELEVANCE = i18n.translate( + 'xpack.searchInferenceEndpoints.breadcrumbs.relevance', + { + defaultMessage: 'Relevance', + } +); + +export const BREADCRUMB_INFERENCE_ENDPOINTS = i18n.translate( + 'xpack.searchInferenceEndpoints.breadcrumbs.inferenceEndpoints', + { + defaultMessage: 'Inference Endpoints', + } +); diff --git a/x-pack/plugins/search_inference_endpoints/kibana.jsonc b/x-pack/plugins/search_inference_endpoints/kibana.jsonc index 25b7b391b955a..dca472a92d437 100644 --- a/x-pack/plugins/search_inference_endpoints/kibana.jsonc +++ b/x-pack/plugins/search_inference_endpoints/kibana.jsonc @@ -18,13 +18,15 @@ "requiredPlugins": [ "actions", "features", + "licensing", "ml", "share", ], "optionalPlugins": [ "cloud", "console", - "serverless" + "serverless", + "searchNavigation", ], "requiredBundles": [ "kibanaReact" diff --git a/x-pack/plugins/search_inference_endpoints/public/embeddable.tsx b/x-pack/plugins/search_inference_endpoints/public/embeddable.tsx deleted file mode 100644 index fb733ec7ff5e6..0000000000000 --- a/x-pack/plugins/search_inference_endpoints/public/embeddable.tsx +++ /dev/null @@ -1,29 +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. - */ - -import React from 'react'; -import { dynamic } from '@kbn/shared-ux-utility'; -import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; -import { CoreStart } from '@kbn/core-lifecycle-browser'; -import { AppPluginStartDependencies } from './types'; - -export const InferenceEndpoints = dynamic(async () => ({ - default: (await import('./components/app')).App, -})); - -export const InferenceEndpointsProvider = dynamic(async () => ({ - default: (await import('./providers/inference_endpoints_provider')).InferenceEndpointsProvider, -})); - -export const getInferenceEndpointsProvider = - (core: CoreStart, services: AppPluginStartDependencies) => - (props: React.ComponentProps) => - ( - - - - ); diff --git a/x-pack/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints_breadcrumbs.ts b/x-pack/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints_breadcrumbs.ts new file mode 100644 index 0000000000000..c64326b84bea1 --- /dev/null +++ b/x-pack/plugins/search_inference_endpoints/public/hooks/use_inference_endpoints_breadcrumbs.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 { useEffect } from 'react'; + +import * as i18n from '../../common/translations'; +import { useKibana } from './use_kibana'; + +export const useInferenceEndpointsBreadcrumbs = () => { + const { searchNavigation } = useKibana().services; + + useEffect(() => { + searchNavigation?.breadcrumbs.setSearchBreadCrumbs( + [{ text: i18n.BREADCRUMB_RELEVANCE }, { text: i18n.BREADCRUMB_INFERENCE_ENDPOINTS }], + { forClassicChromeStyle: true } + ); + + return () => { + // Clear breadcrumbs on unmount; + searchNavigation?.breadcrumbs.clearBreadcrumbs(); + }; + }, [searchNavigation]); +}; diff --git a/x-pack/plugins/search_inference_endpoints/public/index.ts b/x-pack/plugins/search_inference_endpoints/public/index.ts index 1c9e267a18bde..b06f1f64b909d 100644 --- a/x-pack/plugins/search_inference_endpoints/public/index.ts +++ b/x-pack/plugins/search_inference_endpoints/public/index.ts @@ -17,5 +17,3 @@ export type { SearchInferenceEndpointsPluginSetup, SearchInferenceEndpointsPluginStart, } from './types'; - -export const INFERENCE_ENDPOINTS_UI_FLAG = 'inferenceEndpointsUi:enabled'; diff --git a/x-pack/plugins/search_inference_endpoints/public/inference_endpoints_overview.tsx b/x-pack/plugins/search_inference_endpoints/public/inference_endpoints_overview.tsx index 5dd017f263caa..cda1481765cd1 100644 --- a/x-pack/plugins/search_inference_endpoints/public/inference_endpoints_overview.tsx +++ b/x-pack/plugins/search_inference_endpoints/public/inference_endpoints_overview.tsx @@ -6,17 +6,18 @@ */ import React, { useMemo } from 'react'; - -import { EuiPageTemplate } from '@elastic/eui'; +import { KibanaPageTemplate } from '@kbn/shared-ux-page-kibana-template'; import { App } from './components/app'; +import { useInferenceEndpointsBreadcrumbs } from './hooks/use_inference_endpoints_breadcrumbs'; import { useKibana } from './hooks/use_kibana'; import { InferenceEndpointsProvider } from './providers/inference_endpoints_provider'; export const InferenceEndpointsOverview: React.FC = () => { const { - services: { console: consolePlugin }, + services: { console: consolePlugin, history, searchNavigation }, } = useKibana(); + useInferenceEndpointsBreadcrumbs(); const embeddableConsole = useMemo( () => (consolePlugin?.EmbeddableConsole ? : null), @@ -25,10 +26,16 @@ export const InferenceEndpointsOverview: React.FC = () => { return ( - + {embeddableConsole} - + ); }; diff --git a/x-pack/plugins/search_inference_endpoints/public/plugin.ts b/x-pack/plugins/search_inference_endpoints/public/plugin.ts index cb60f611b3bb3..0fcd0ef082489 100644 --- a/x-pack/plugins/search_inference_endpoints/public/plugin.ts +++ b/x-pack/plugins/search_inference_endpoints/public/plugin.ts @@ -5,8 +5,12 @@ * 2.0. */ +import { BehaviorSubject, type Subscription } from 'rxjs'; + import { AppMountParameters, + AppStatus, + AppUpdater, CoreSetup, CoreStart, Plugin, @@ -15,7 +19,6 @@ import { import { i18n } from '@kbn/i18n'; import { PLUGIN_ID, PLUGIN_NAME } from '../common/constants'; import { docLinks } from '../common/doc_links'; -import { InferenceEndpoints, getInferenceEndpointsProvider } from './embeddable'; import { AppPluginSetupDependencies, AppPluginStartDependencies, @@ -23,7 +26,6 @@ import { SearchInferenceEndpointsPluginSetup, SearchInferenceEndpointsPluginStart, } from './types'; -import { INFERENCE_ENDPOINTS_UI_FLAG } from '.'; import { registerLocators } from './locators'; import { INFERENCE_ENDPOINTS_PATH } from './components/routes'; @@ -31,6 +33,8 @@ export class SearchInferenceEndpointsPlugin implements Plugin { private config: SearchInferenceEndpointsConfigType; + private readonly appUpdater$ = new BehaviorSubject(() => ({})); + private licenseSubscription: Subscription | undefined; constructor(initializerContext: PluginInitializerContext) { this.config = initializerContext.config.get(); @@ -40,11 +44,7 @@ export class SearchInferenceEndpointsPlugin core: CoreSetup, plugins: AppPluginSetupDependencies ): SearchInferenceEndpointsPluginSetup { - if ( - !this.config.ui?.enabled && - !core.uiSettings.get(INFERENCE_ENDPOINTS_UI_FLAG, false) - ) - return {}; + if (!this.config.ui?.enabled) return {}; core.application.register({ id: PLUGIN_ID, appRoute: '/app/elasticsearch/relevance', @@ -55,9 +55,12 @@ export class SearchInferenceEndpointsPlugin title: i18n.translate('xpack.searchInferenceEndpoints.InferenceEndpointsLinkLabel', { defaultMessage: 'Inference Endpoints', }), + visibleIn: ['globalSearch'], }, ], + status: AppStatus.inaccessible, title: PLUGIN_NAME, + updater$: this.appUpdater$, async mount({ element, history }: AppMountParameters) { const { renderApp } = await import('./application'); const [coreStart, depsStart] = await core.getStartServices(); @@ -66,8 +69,11 @@ export class SearchInferenceEndpointsPlugin history, }; + depsStart.searchNavigation?.handleOnAppMount(); + return renderApp(coreStart, startDeps, element); }, + visibleIn: [], }); registerLocators(plugins.share); @@ -79,13 +85,27 @@ export class SearchInferenceEndpointsPlugin core: CoreStart, deps: AppPluginStartDependencies ): SearchInferenceEndpointsPluginStart { + const { licensing } = deps; docLinks.setDocLinks(core.docLinks.links); - return { - InferenceEdnpointsProvider: getInferenceEndpointsProvider(core, deps), - InferenceEndpoints, - }; + this.licenseSubscription = licensing.license$.subscribe((license) => { + const status: AppStatus = + license && license.isAvailable && license.isActive && license.hasAtLeast('enterprise') + ? AppStatus.accessible + : AppStatus.inaccessible; + + this.appUpdater$.next(() => ({ + status, + })); + }); + + return {}; } - public stop() {} + public stop() { + if (this.licenseSubscription) { + this.licenseSubscription.unsubscribe(); + this.licenseSubscription = undefined; + } + } } diff --git a/x-pack/plugins/search_inference_endpoints/public/types.ts b/x-pack/plugins/search_inference_endpoints/public/types.ts index 9f73d0d0033b0..1ebd803229e50 100644 --- a/x-pack/plugins/search_inference_endpoints/public/types.ts +++ b/x-pack/plugins/search_inference_endpoints/public/types.ts @@ -6,29 +6,27 @@ */ import type { ConsolePluginSetup, ConsolePluginStart } from '@kbn/console-plugin/public'; -import { HttpStart } from '@kbn/core-http-browser'; -import { AppMountParameters } from '@kbn/core/public'; -import { MlPluginStart } from '@kbn/ml-plugin/public'; -import { SharePluginSetup, SharePluginStart } from '@kbn/share-plugin/public'; -import React from 'react'; - +import type { AppMountParameters, CoreStart } from '@kbn/core/public'; +import type { MlPluginStart } from '@kbn/ml-plugin/public'; +import type { SharePluginSetup, SharePluginStart } from '@kbn/share-plugin/public'; +import type { SearchNavigationPluginStart } from '@kbn/search-navigation/public'; import type { ServerlessPluginStart } from '@kbn/serverless/public'; -import type { App } from './components/app'; -import type { InferenceEndpointsProvider } from './providers/inference_endpoints_provider'; +import type { LicensingPluginStart } from '@kbn/licensing-plugin/public'; export * from '../common/types'; // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface SearchInferenceEndpointsPluginSetup {} -export interface SearchInferenceEndpointsPluginStart { - InferenceEdnpointsProvider: React.FC>; - InferenceEndpoints: React.FC>; -} +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface SearchInferenceEndpointsPluginStart {} export interface AppPluginStartDependencies { history: AppMountParameters['history']; share: SharePluginStart; console?: ConsolePluginStart; + licensing: LicensingPluginStart; + ml: MlPluginStart; + searchNavigation?: SearchNavigationPluginStart; serverless?: ServerlessPluginStart; } @@ -38,13 +36,7 @@ export interface AppPluginSetupDependencies { console?: ConsolePluginSetup; } -export interface AppServicesContext { - http: HttpStart; - ml?: MlPluginStart; - console?: ConsolePluginStart; - serverless?: ServerlessPluginStart; - share: SharePluginStart; -} +export type AppServicesContext = CoreStart & AppPluginStartDependencies; export interface InferenceUsageResponse { acknowledge: boolean; diff --git a/x-pack/plugins/search_inference_endpoints/server/config.ts b/x-pack/plugins/search_inference_endpoints/server/config.ts index 5593fb2251aba..5fa8fbf5cfcbf 100644 --- a/x-pack/plugins/search_inference_endpoints/server/config.ts +++ b/x-pack/plugins/search_inference_endpoints/server/config.ts @@ -13,7 +13,7 @@ export * from './types'; const configSchema = schema.object({ enabled: schema.boolean({ defaultValue: true }), ui: schema.object({ - enabled: schema.boolean({ defaultValue: false }), + enabled: schema.boolean({ defaultValue: true }), }), }); diff --git a/x-pack/plugins/search_inference_endpoints/server/plugin.ts b/x-pack/plugins/search_inference_endpoints/server/plugin.ts index 425820495e997..f7057ec6331c2 100644 --- a/x-pack/plugins/search_inference_endpoints/server/plugin.ts +++ b/x-pack/plugins/search_inference_endpoints/server/plugin.ts @@ -54,7 +54,7 @@ export class SearchInferenceEndpointsPlugin id: PLUGIN_ID, minimumLicense: 'enterprise', name: PLUGIN_NAME, - order: 0, + order: 2, category: DEFAULT_APP_CATEGORIES.enterpriseSearch, app: ['kibana', PLUGIN_ID], scope: [KibanaFeatureScope.Spaces, KibanaFeatureScope.Security], diff --git a/x-pack/plugins/search_inference_endpoints/tsconfig.json b/x-pack/plugins/search_inference_endpoints/tsconfig.json index 9a5b160779e7a..f448d36c7f463 100644 --- a/x-pack/plugins/search_inference_endpoints/tsconfig.json +++ b/x-pack/plugins/search_inference_endpoints/tsconfig.json @@ -12,7 +12,6 @@ "kbn_references": [ "@kbn/config-schema", "@kbn/core", - "@kbn/core-http-browser", "@kbn/i18n", "@kbn/i18n-react", "@kbn/kibana-react-plugin", @@ -22,8 +21,6 @@ "@kbn/core-http-server", "@kbn/share-plugin", "@kbn/actions-plugin", - "@kbn/shared-ux-utility", - "@kbn/core-lifecycle-browser", "@kbn/logging", "@kbn/react-kibana-context-render", "@kbn/doc-links", @@ -35,7 +32,10 @@ "@kbn/deeplinks-search", "@kbn/deeplinks-management", "@kbn/serverless", - "@kbn/utility-types" + "@kbn/utility-types", + "@kbn/search-navigation", + "@kbn/shared-ux-page-kibana-template", + "@kbn/licensing-plugin" ], "exclude": [ "target/**/*", diff --git a/x-pack/plugins/search_playground/public/hooks/use_playground_breadcrumbs.ts b/x-pack/plugins/search_playground/public/hooks/use_playground_breadcrumbs.ts index 8e3467a968b36..3fd64c3a7c2a7 100644 --- a/x-pack/plugins/search_playground/public/hooks/use_playground_breadcrumbs.ts +++ b/x-pack/plugins/search_playground/public/hooks/use_playground_breadcrumbs.ts @@ -6,6 +6,9 @@ */ import { useEffect } from 'react'; + +import { i18n } from '@kbn/i18n'; + import { useKibana } from './use_kibana'; export const usePlaygroundBreadcrumbs = () => { @@ -13,7 +16,18 @@ export const usePlaygroundBreadcrumbs = () => { useEffect(() => { searchNavigation?.breadcrumbs.setSearchBreadCrumbs( - [{ text: 'Build' }, { text: 'Playground' }], + [ + { + text: i18n.translate('xpack.searchPlayground.breadcrumbs.build', { + defaultMessage: 'Build', + }), + }, + { + text: i18n.translate('xpack.searchPlayground.breadcrumbs.playground', { + defaultMessage: 'Playground', + }), + }, + ], { forClassicChromeStyle: true } ); diff --git a/x-pack/plugins/security/public/index.ts b/x-pack/plugins/security/public/index.ts index 7db535b030f3b..476c2ad7192f8 100644 --- a/x-pack/plugins/security/public/index.ts +++ b/x-pack/plugins/security/public/index.ts @@ -42,4 +42,4 @@ export const plugin: PluginInitializer< > = (initializerContext: PluginInitializerContext) => new SecurityPlugin(initializerContext); // services needed for rendering React using shared modules -export type StartServices = Pick; +export type StartServices = Pick; diff --git a/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.test.tsx b/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.test.tsx index 9a9abab064fa8..166b1de7cf057 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.test.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.test.tsx @@ -15,6 +15,7 @@ import { coreMock, scopedHistoryMock } from '@kbn/core/public/mocks'; import { analyticsServiceMock } from '@kbn/core-analytics-browser-mocks'; import { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; import { themeServiceMock } from '@kbn/core-theme-browser-mocks'; +import { userProfileServiceMock } from '@kbn/core-user-profile-browser-mocks'; import { dataViewPluginMocks } from '@kbn/data-views-plugin/public/mocks'; import { KibanaFeature } from '@kbn/features-plugin/public'; import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; @@ -196,6 +197,8 @@ function getProps({ const analyticsMock = analyticsServiceMock.createAnalyticsServiceStart(); const i18nMock = i18nServiceMock.createStartContract(); const themeMock = themeServiceMock.createStartContract(); + const userProfileMock = userProfileServiceMock.createStart(); + return { action, roleName: role?.name, @@ -214,6 +217,7 @@ function getProps({ history: scopedHistoryMock.create(), spacesApiUi, buildFlavor, + userProfile: userProfileMock, theme: themeMock, i18n: i18nMock, analytics: analyticsMock, diff --git a/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx b/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx index 57281f5ec754c..1c965551a63dc 100644 --- a/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx +++ b/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.test.tsx @@ -44,7 +44,7 @@ const waitForRender = async ( describe('', () => { let apiClientMock: jest.Mocked>; let history: ReturnType; - const { theme, i18n, analytics, notifications } = coreMock.createStart(); + const { userProfile, theme, i18n, analytics, notifications } = coreMock.createStart(); beforeEach(() => { history = scopedHistoryMock.create(); @@ -93,6 +93,7 @@ describe('', () => { buildFlavor={'traditional'} analytics={analytics} theme={theme} + userProfile={userProfile} /> ); const initialIconCount = wrapper.find(EuiIcon).length; @@ -115,6 +116,7 @@ describe('', () => { buildFlavor={'traditional'} analytics={analytics} theme={theme} + userProfile={userProfile} /> ); const initialIconCount = wrapper.find(EuiIcon).length; @@ -139,6 +141,7 @@ describe('', () => { buildFlavor={'traditional'} analytics={analytics} theme={theme} + userProfile={userProfile} /> ); await waitForRender(wrapper, (updatedWrapper) => { @@ -157,6 +160,7 @@ describe('', () => { buildFlavor={'traditional'} analytics={analytics} theme={theme} + userProfile={userProfile} /> ); const initialIconCount = wrapper.find(EuiIcon).length; @@ -201,6 +205,7 @@ describe('', () => { buildFlavor={'traditional'} analytics={analytics} theme={theme} + userProfile={userProfile} /> ); const initialIconCount = wrapper.find(EuiIcon).length; @@ -332,6 +337,7 @@ describe('', () => { buildFlavor={'traditional'} analytics={analytics} theme={theme} + userProfile={userProfile} /> ); const initialIconCount = wrapper.find(EuiIcon).length; @@ -441,6 +447,7 @@ describe('', () => { buildFlavor={'traditional'} analytics={analytics} theme={theme} + userProfile={userProfile} readOnly /> ); diff --git a/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.tsx b/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.tsx index 457b9053a0ac8..cfea3a7f29804 100644 --- a/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.tsx +++ b/x-pack/plugins/security/public/management/roles/roles_grid/roles_grid_page.tsx @@ -75,9 +75,7 @@ export const RolesGridPage: FC = ({ readOnly, buildFlavor, cloudOrgUrl, - analytics, - theme, - i18n: i18nStart, + ...startServices }) => { const [roles, setRoles] = useState([]); const [visibleRoles, setVisibleRoles] = useState([]); @@ -409,9 +407,7 @@ export const RolesGridPage: FC = ({ notifications={notifications} rolesAPIClient={rolesAPIClient} buildFlavor={buildFlavor} - theme={theme} - analytics={analytics} - i18n={i18nStart} + {...startServices} /> ) : null} diff --git a/x-pack/plugins/security/public/security_checkup/components/insecure_cluster_alert.tsx b/x-pack/plugins/security/public/security_checkup/components/insecure_cluster_alert.tsx index 71e1a53e7d2fb..37b58eecc4d9e 100644 --- a/x-pack/plugins/security/public/security_checkup/components/insecure_cluster_alert.tsx +++ b/x-pack/plugins/security/public/security_checkup/components/insecure_cluster_alert.tsx @@ -22,6 +22,7 @@ import type { I18nStart, MountPoint, ThemeServiceStart, + UserProfileService, } from '@kbn/core/public'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; @@ -37,6 +38,7 @@ interface Deps { analytics: Pick; i18n: I18nStart; theme: Pick; + userProfile: UserProfileService; } export const insecureClusterAlertText = (deps: Deps, onDismiss: (persist: boolean) => void) => diff --git a/x-pack/plugins/security/public/security_checkup/security_checkup_service.tsx b/x-pack/plugins/security/public/security_checkup/security_checkup_service.tsx index 4818e3721818a..295aef39f02e4 100644 --- a/x-pack/plugins/security/public/security_checkup/security_checkup_service.tsx +++ b/x-pack/plugins/security/public/security_checkup/security_checkup_service.tsx @@ -16,6 +16,7 @@ import type { NotificationsStart, ThemeServiceStart, Toast, + UserProfileService, } from '@kbn/core/public'; import { insecureClusterAlertText, insecureClusterAlertTitle } from './components'; @@ -33,6 +34,7 @@ interface StartDeps { analytics: Pick; i18n: I18nStart; theme: Pick; + userProfile: UserProfileService; } const DEFAULT_SECURITY_CHECKUP_STATE = Object.freeze({ diff --git a/x-pack/plugins/security/tsconfig.json b/x-pack/plugins/security/tsconfig.json index bfbf5df127597..518af73f96877 100644 --- a/x-pack/plugins/security/tsconfig.json +++ b/x-pack/plugins/security/tsconfig.json @@ -91,6 +91,7 @@ "@kbn/core-capabilities-server", "@kbn/core-elasticsearch-server", "@kbn/core-http-server-utils", + "@kbn/core-user-profile-browser-mocks", ], "exclude": [ "target/**/*", diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts index 38331d3a01c62..428d30495722a 100644 --- a/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts @@ -12,7 +12,6 @@ import { HistoryWindowStart, InvestigationFields, InvestigationGuide, - KqlQueryLanguage, MachineLearningJobId, MaxSignals, NewTermsFields, @@ -131,7 +130,6 @@ export const DiffableThreatMatchFields = z.object({ threat_mapping: ThreatMapping, data_source: RuleDataSource.optional(), // NOTE: new field threat_indicator_path: ThreatIndicatorPath.optional(), - threat_language: KqlQueryLanguage.optional(), alert_suppression: AlertSuppression.optional(), }); diff --git a/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.gen.ts b/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.gen.ts index 25c47e838d85c..3511e1d166ede 100644 --- a/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.gen.ts +++ b/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.gen.ts @@ -17,7 +17,7 @@ import { z } from '@kbn/zod'; export type EntityType = z.infer; -export const EntityType = z.enum(['user', 'host']); +export const EntityType = z.enum(['user', 'host', 'service']); export type EntityTypeEnum = typeof EntityType.enum; export const EntityTypeEnum = EntityType.enum; diff --git a/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.schema.yaml b/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.schema.yaml index 5adb6fe038dc9..0ddbf1c9b3fd0 100644 --- a/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.schema.yaml +++ b/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.schema.yaml @@ -11,6 +11,7 @@ components: enum: - user - host + - service EngineDescriptor: type: object diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/diff/convert_rule_to_diffable.ts b/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/diff/convert_rule_to_diffable.ts index 95ceb5c718825..1c15a07e765fe 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/diff/convert_rule_to_diffable.ts +++ b/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/diff/convert_rule_to_diffable.ts @@ -213,7 +213,6 @@ const extractDiffableThreatMatchFieldsFromRuleObject = ( threat_index: rule.threat_index, threat_mapping: rule.threat_mapping, threat_indicator_path: rule.threat_indicator_path, - threat_language: rule.threat_language, alert_suppression: rule.alert_suppression, }; }; diff --git a/x-pack/plugins/security_solution/common/experimental_features.ts b/x-pack/plugins/security_solution/common/experimental_features.ts index 095324840fc5c..def958c07bd2d 100644 --- a/x-pack/plugins/security_solution/common/experimental_features.ts +++ b/x-pack/plugins/security_solution/common/experimental_features.ts @@ -243,6 +243,11 @@ export const allowedExperimentalValues = Object.freeze({ */ entityStoreDisabled: false, + /** + * Enables the Service Entity Store. The Entity Store feature will install the service engine by default. + */ + serviceEntityStoreEnabled: true, + /** * Enables the siem migrations feature */ diff --git a/x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts b/x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts index eef5595d688ee..1bd1bd43bfe08 100644 --- a/x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts +++ b/x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts @@ -11,7 +11,7 @@ // There are four modules of jobs that are affected. However, because the API // that returns installed jobs does not include those jobs' modules, hardcoding // the IDs from those modules (as found in e.g. -// x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/manifest.json) +// x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/manifest.json) // allows us to make this determination from a single API call. // // Note: In 8.3 the V3 ML modules were released (#131166) and a large portion of the V1/V2 diff --git a/x-pack/plugins/security_solution/common/machine_learning/helpers.ts b/x-pack/plugins/security_solution/common/machine_learning/helpers.ts index e073d023e8904..125dd59f0980b 100644 --- a/x-pack/plugins/security_solution/common/machine_learning/helpers.ts +++ b/x-pack/plugins/security_solution/common/machine_learning/helpers.ts @@ -7,7 +7,7 @@ import type { Type } from '@kbn/securitysolution-io-ts-alerting-types'; -// Based on ML Job/Datafeed States from x-pack/legacy/plugins/ml/common/constants/states.js +// Based on ML Job/Datafeed States from x-pack/legacy/platform/plugins/shared/ml/common/constants/states.js const enabledStates = ['started', 'opened']; const loadingStates = ['starting', 'stopping', 'opening', 'closing']; const failureStates = ['deleted', 'failed']; diff --git a/x-pack/plugins/security_solution/common/siem_migrations/model/api/rules/rule_migration.gen.ts b/x-pack/plugins/security_solution/common/siem_migrations/model/api/rules/rule_migration.gen.ts index 58944ff7f2f95..95a81d4436d8a 100644 --- a/x-pack/plugins/security_solution/common/siem_migrations/model/api/rules/rule_migration.gen.ts +++ b/x-pack/plugins/security_solution/common/siem_migrations/model/api/rules/rule_migration.gen.ts @@ -59,6 +59,8 @@ export type GetRuleMigrationRequestQuery = z.infer; @@ -154,7 +156,13 @@ export type InstallMigrationRulesRequestParamsInput = z.input< >; export type InstallMigrationRulesRequestBody = z.infer; -export const InstallMigrationRulesRequestBody = z.array(NonEmptyString); +export const InstallMigrationRulesRequestBody = z.object({ + ids: z.array(NonEmptyString), + /** + * Indicates whether installed rules should be enabled + */ + enabled: z.boolean().optional(), +}); export type InstallMigrationRulesRequestBodyInput = z.input< typeof InstallMigrationRulesRequestBody >; diff --git a/x-pack/plugins/security_solution/common/siem_migrations/model/api/rules/rule_migration.schema.yaml b/x-pack/plugins/security_solution/common/siem_migrations/model/api/rules/rule_migration.schema.yaml index dff6089b2b48f..b7e495e2ea898 100644 --- a/x-pack/plugins/security_solution/common/siem_migrations/model/api/rules/rule_migration.schema.yaml +++ b/x-pack/plugins/security_solution/common/siem_migrations/model/api/rules/rule_migration.schema.yaml @@ -133,6 +133,19 @@ paths: required: false schema: type: number + - name: sort_field + in: query + required: false + schema: + $ref: '../../../../../common/api/model/primitives.schema.yaml#/components/schemas/NonEmptyString' + - name: sort_direction + in: query + required: false + schema: + type: string + enum: + - asc + - desc - name: search_term in: query required: false @@ -180,10 +193,18 @@ paths: content: application/json: schema: - type: array - items: - description: The rule migration id - $ref: '../../../../../common/api/model/primitives.schema.yaml#/components/schemas/NonEmptyString' + type: object + required: + - ids + properties: + ids: + type: array + items: + description: The rule migration id + $ref: '../../../../../common/api/model/primitives.schema.yaml#/components/schemas/NonEmptyString' + enabled: + type: boolean + description: Indicates whether installed rules should be enabled responses: 200: description: Indicates rules migrations have been installed correctly. diff --git a/x-pack/plugins/security_solution/common/siem_migrations/rules/utils.ts b/x-pack/plugins/security_solution/common/siem_migrations/rules/utils.ts index a9b8666b19981..8763e057052b5 100644 --- a/x-pack/plugins/security_solution/common/siem_migrations/rules/utils.ts +++ b/x-pack/plugins/security_solution/common/siem_migrations/rules/utils.ts @@ -22,13 +22,17 @@ export const isMigrationCustomRule = (rule?: ElasticRule): rule is MigrationCust !isMigrationPrebuiltRule(rule) && !!(rule?.title && rule?.description && rule?.query && rule?.query_language); -export const convertMigrationCustomRuleToSecurityRulePayload = (rule: MigrationCustomRule) => { +export const convertMigrationCustomRuleToSecurityRulePayload = ( + rule: MigrationCustomRule, + enabled: boolean +) => { return { type: rule.query_language, language: rule.query_language, query: rule.query, name: rule.title, description: rule.description, + enabled, ...DEFAULT_TRANSLATION_FIELDS, severity: (rule.severity as Severity) ?? DEFAULT_TRANSLATION_SEVERITY, diff --git a/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml b/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml index b1b85b8222786..9a0c456e5efe3 100644 --- a/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml +++ b/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml @@ -987,6 +987,7 @@ components: enum: - user - host + - service type: string HostEntity: type: object diff --git a/x-pack/plugins/security_solution/docs/openapi/serverless/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml b/x-pack/plugins/security_solution/docs/openapi/serverless/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml index 4a3b3495467e9..356a63567c401 100644 --- a/x-pack/plugins/security_solution/docs/openapi/serverless/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml +++ b/x-pack/plugins/security_solution/docs/openapi/serverless/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml @@ -987,6 +987,7 @@ components: enum: - user - host + - service type: string HostEntity: type: object diff --git a/x-pack/plugins/security_solution/docs/siem_migration/img/agent_graph.png b/x-pack/plugins/security_solution/docs/siem_migration/img/agent_graph.png index ecccb602e2016..a1f9cca5a34a7 100644 Binary files a/x-pack/plugins/security_solution/docs/siem_migration/img/agent_graph.png and b/x-pack/plugins/security_solution/docs/siem_migration/img/agent_graph.png differ diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_readonly/fields/threat_language/threat_language.stories.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_readonly/fields/threat_language/threat_language.stories.tsx deleted file mode 100644 index bae9f596de750..0000000000000 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_readonly/fields/threat_language/threat_language.stories.tsx +++ /dev/null @@ -1,39 +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. - */ - -import React from 'react'; -import type { Story } from '@storybook/react'; -import { ThreatLanguageReadOnly } from './threat_language'; -import { FieldReadOnly } from '../../field_readonly'; -import type { DiffableRule } from '../../../../../../../../../common/api/detection_engine'; -import { mockThreatMatchRule } from '../../storybook/mocks'; -import { ThreeWayDiffStorybookProviders } from '../../storybook/three_way_diff_storybook_providers'; - -export default { - component: ThreatLanguageReadOnly, - title: 'Rule Management/Prebuilt Rules/Upgrade Flyout/ThreeWayDiff/FieldReadOnly/threat_language', -}; - -interface TemplateProps { - finalDiffableRule: DiffableRule; -} - -const Template: Story = (args) => { - return ( - - - - ); -}; - -export const Default = Template.bind({}); - -Default.args = { - finalDiffableRule: mockThreatMatchRule({ - threat_language: 'lucene', - }), -}; diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_readonly/fields/threat_language/threat_language.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_readonly/fields/threat_language/threat_language.tsx deleted file mode 100644 index df43373783b1b..0000000000000 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_readonly/fields/threat_language/threat_language.tsx +++ /dev/null @@ -1,33 +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. - */ - -import React from 'react'; -import { EuiDescriptionList } from '@elastic/eui'; -import * as ruleDetailsI18n from '../../../../translations'; -import type { KqlQueryLanguage } from '../../../../../../../../../common/api/detection_engine'; -import { getQueryLanguageLabel } from '../../../../helpers'; - -interface ThreatLanguageReadOnlyProps { - threatLanguage?: KqlQueryLanguage; -} - -export function ThreatLanguageReadOnly({ threatLanguage }: ThreatLanguageReadOnlyProps) { - if (!threatLanguage) { - return null; - } - - return ( - - ); -} diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_readonly/threat_match_rule_field_readonly.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_readonly/threat_match_rule_field_readonly.tsx index 3e23a064d14f2..0296c711a6313 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_readonly/threat_match_rule_field_readonly.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management/components/rule_details/three_way_diff/final_readonly/threat_match_rule_field_readonly.tsx @@ -16,7 +16,6 @@ import { ThreatQueryReadOnly } from './fields/threat_query/threat_query'; import { TypeReadOnly } from './fields/type/type'; import { AlertSuppressionReadOnly } from './fields/alert_suppression/alert_suppression'; import { assertUnreachable } from '../../../../../../../common/utility_types'; -import { ThreatLanguageReadOnly } from './fields/threat_language/threat_language'; interface ThreatMatchRuleFieldReadOnlyProps { fieldName: keyof DiffableThreatMatchFields; @@ -53,8 +52,6 @@ export function ThreatMatchRuleFieldReadOnly({ threatIndicatorPath={finalDiffableRule.threat_indicator_path} /> ); - case 'threat_language': - return ; case 'threat_mapping': return ; case 'threat_query': diff --git a/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/hooks/use_entity_store.ts b/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/hooks/use_entity_store.ts index ceb93d164af62..953bd811f8ab3 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/hooks/use_entity_store.ts +++ b/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/hooks/use_entity_store.ts @@ -12,10 +12,11 @@ import type { IHttpFetchError } from '@kbn/core-http-browser'; import type { GetEntityStoreStatusResponse } from '../../../../../common/api/entity_analytics/entity_store/status.gen'; import type { InitEntityStoreResponse } from '../../../../../common/api/entity_analytics/entity_store/enable.gen'; import { useKibana } from '../../../../common/lib/kibana/kibana_react'; -import type { - DeleteEntityEngineResponse, - InitEntityEngineResponse, - StopEntityEngineResponse, +import type { EntityType } from '../../../../../common/api/entity_analytics'; +import { + type DeleteEntityEngineResponse, + type InitEntityEngineResponse, + type StopEntityEngineResponse, } from '../../../../../common/api/entity_analytics'; import { useEntityStoreRoutes } from '../../../api/entity_store'; import { EntityEventTypes } from '../../../../common/lib/telemetry'; @@ -68,13 +69,16 @@ export const useEnableEntityStoreMutation = (options?: UseMutationOptions<{}>) = }; export const INIT_ENTITY_ENGINE_STATUS_KEY = ['POST', 'INIT_ENTITY_ENGINE']; +/** + * @deprecated + * It will be deleted on a follow-up PR + */ export const useInitEntityEngineMutation = (options?: UseMutationOptions<{}>) => { const queryClient = useQueryClient(); const { initEntityEngine } = useEntityStoreRoutes(); return useMutation( () => Promise.all([initEntityEngine('user'), initEntityEngine('host')]), - { mutationKey: INIT_ENTITY_ENGINE_STATUS_KEY, onSuccess: () => queryClient.refetchQueries({ queryKey: ENTITY_STORE_STATUS }), @@ -84,7 +88,7 @@ export const useInitEntityEngineMutation = (options?: UseMutationOptions<{}>) => }; export const STOP_ENTITY_ENGINE_STATUS_KEY = ['POST', 'STOP_ENTITY_ENGINE']; -export const useStopEntityEngineMutation = (options?: UseMutationOptions<{}>) => { +export const useStopEntityEngineMutation = (entityTypes: EntityType[]) => { const { telemetry } = useKibana().services; const queryClient = useQueryClient(); @@ -95,23 +99,28 @@ export const useStopEntityEngineMutation = (options?: UseMutationOptions<{}>) => timestamp: new Date().toISOString(), action: 'stop', }); - return Promise.all([stopEntityEngine('user'), stopEntityEngine('host')]); + return Promise.all(entityTypes.map((entityType) => stopEntityEngine(entityType))); }, { mutationKey: STOP_ENTITY_ENGINE_STATUS_KEY, onSuccess: () => queryClient.refetchQueries({ queryKey: ENTITY_STORE_STATUS }), - ...options, } ); }; export const DELETE_ENTITY_ENGINE_STATUS_KEY = ['POST', 'STOP_ENTITY_ENGINE']; -export const useDeleteEntityEngineMutation = ({ onSuccess }: { onSuccess?: () => void }) => { +export const useDeleteEntityEngineMutation = ({ + onSuccess, + entityTypes, +}: { + onSuccess?: () => void; + entityTypes: EntityType[]; +}) => { const queryClient = useQueryClient(); const { deleteEntityEngine } = useEntityStoreRoutes(); return useMutation( - () => Promise.all([deleteEntityEngine('user', true), deleteEntityEngine('host', true)]), + () => Promise.all(entityTypes.map((entityType) => deleteEntityEngine(entityType, true))), { mutationKey: DELETE_ENTITY_ENGINE_STATUS_KEY, onSuccess: () => { diff --git a/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx b/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx index 3cf3eb58355c6..67c75d5ff88b5 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx +++ b/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx @@ -33,7 +33,7 @@ import React, { useCallback, useEffect, useState } from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; import type { SecurityAppError } from '@kbn/securitysolution-t-grid'; -import type { StoreStatus } from '../../../common/api/entity_analytics'; +import { EntityType, EntityTypeEnum, type StoreStatus } from '../../../common/api/entity_analytics'; import { useIsExperimentalFeatureEnabled } from '../../common/hooks/use_experimental_features'; import { ASSET_CRITICALITY_INDEX_PATTERN } from '../../../common/entity_analytics/asset_criticality'; import { useKibana } from '../../common/lib/kibana'; @@ -73,13 +73,20 @@ export const EntityStoreManagementPage = () => { const hasAssetCriticalityWritePermissions = assetCriticalityPrivileges?.has_write_permissions; const [selectedTabId, setSelectedTabId] = useState(TabId.Import); const entityStoreStatus = useEntityStoreStatus({}); + const isServiceEntityStoreEnabled = useIsExperimentalFeatureEnabled('serviceEntityStoreEnabled'); + const allEntityTypes = Object.values(EntityType.Values); + + const entityTypes = isServiceEntityStoreEnabled + ? allEntityTypes + : allEntityTypes.filter((value) => value !== EntityTypeEnum.service); const enableStoreMutation = useEnableEntityStoreMutation(); - const stopEntityEngineMutation = useStopEntityEngineMutation(); + const stopEntityEngineMutation = useStopEntityEngineMutation(entityTypes); const deleteEntityEngineMutation = useDeleteEntityEngineMutation({ onSuccess: () => { closeClearModal(); }, + entityTypes, }); const [isClearModalVisible, setIsClearModalVisible] = useState(false); diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/models/advanced_policy_schema.ts b/x-pack/plugins/security_solution/public/management/pages/policy/models/advanced_policy_schema.ts index 964936b310a41..51c032487e3f7 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/models/advanced_policy_schema.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/models/advanced_policy_schema.ts @@ -72,6 +72,17 @@ export const AdvancedPolicySchema: AdvancedPolicySchemaType[] = [ } ), }, + { + key: 'linux.advanced.artifacts.global.channel', + first_supported_version: '8.18', + documentation: i18n.translate( + 'xpack.securitySolution.endpoint.policy.advanced.linux.advanced.artifacts.global.channel', + { + defaultMessage: + 'The release channel to use for receiving global artifacts. The "default" is staged roll-out. Set to "rapid" to receive candidate artifacts as soon as available. Set to "stable" to only receive stable artifacts. Default: default', + } + ), + }, { key: 'linux.advanced.artifacts.user.public_key', first_supported_version: '7.9', @@ -287,6 +298,17 @@ export const AdvancedPolicySchema: AdvancedPolicySchemaType[] = [ } ), }, + { + key: 'mac.advanced.artifacts.global.channel', + first_supported_version: '8.18', + documentation: i18n.translate( + 'xpack.securitySolution.endpoint.policy.advanced.mac.advanced.artifacts.global.channel', + { + defaultMessage: + 'The release channel to use for receiving global artifacts. The "default" is staged roll-out. Set to "rapid" to receive candidate artifacts as soon as available. Set to "stable" to only receive stable artifacts. Default: default', + } + ), + }, { key: 'mac.advanced.artifacts.user.public_key', first_supported_version: '7.9', @@ -512,6 +534,17 @@ export const AdvancedPolicySchema: AdvancedPolicySchemaType[] = [ } ), }, + { + key: 'windows.advanced.artifacts.global.channel', + first_supported_version: '8.18', + documentation: i18n.translate( + 'xpack.securitySolution.endpoint.policy.advanced.windows.advanced.artifacts.global.channel', + { + defaultMessage: + 'The release channel to use for receiving global artifacts. The "default" is staged roll-out. Set to "rapid" to receive candidate artifacts as soon as available. Set to "stable" to only receive stable artifacts. Default: default', + } + ), + }, { key: 'windows.advanced.artifacts.user.public_key', first_supported_version: '7.9', diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/api/index.ts b/x-pack/plugins/security_solution/public/siem_migrations/rules/api/index.ts index ac9e49ff861fc..57fb5d0422093 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/api/index.ts +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/api/index.ts @@ -120,6 +120,10 @@ export interface GetRuleMigrationParams { page?: number; /** Optional number of documents per page to retrieve */ perPage?: number; + /** Optional field of the rule migration object to sort results by */ + sortField?: string; + /** Optional direction to sort results by */ + sortDirection?: 'asc' | 'desc'; /** Optional search term to filter documents */ searchTerm?: string; /** Optional AbortSignal for cancelling request */ @@ -130,12 +134,24 @@ export const getRuleMigrations = async ({ migrationId, page, perPage, + sortField, + sortDirection, searchTerm, signal, }: GetRuleMigrationParams): Promise => { return KibanaServices.get().http.get( replaceParams(SIEM_RULE_MIGRATION_PATH, { migration_id: migrationId }), - { version: '1', query: { page, per_page: perPage, search_term: searchTerm }, signal } + { + version: '1', + query: { + page, + per_page: perPage, + sort_field: sortField, + sort_direction: sortDirection, + search_term: searchTerm, + }, + signal, + } ); }; @@ -163,6 +179,8 @@ export interface InstallRulesParams { migrationId: string; /** The rule ids to install */ ids: string[]; + /** Optional indicator to enable the installed rule */ + enabled?: boolean; /** Optional AbortSignal for cancelling request */ signal?: AbortSignal; } @@ -170,11 +188,12 @@ export interface InstallRulesParams { export const installMigrationRules = async ({ migrationId, ids, + enabled, signal, }: InstallRulesParams): Promise => { return KibanaServices.get().http.post( replaceParams(SIEM_RULE_MIGRATION_INSTALL_PATH, { migration_id: migrationId }), - { version: '1', body: JSON.stringify(ids), signal } + { version: '1', body: JSON.stringify({ ids, enabled }), signal } ); }; diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/index.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/index.tsx index 8fea17b51cb0e..9762cc578e0cc 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/index.tsx +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rule_details_flyout/index.tsx @@ -84,7 +84,8 @@ export const MigrationRuleDetailsFlyout: React.FC { if (isMigrationCustomRule(ruleMigration.elastic_rule)) { return convertMigrationCustomRuleToSecurityRulePayload( - ruleMigration.elastic_rule + ruleMigration.elastic_rule, + false ) as RuleResponse; // TODO: we need to adjust RuleOverviewTab to allow partial RuleResponse as a parameter; } return matchedPrebuiltRule; diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/bulk_actions.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/bulk_actions.tsx index a58681b6e771f..8f32308ed52c4 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/bulk_actions.tsx +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/bulk_actions.tsx @@ -6,7 +6,13 @@ */ import React from 'react'; -import { EuiButton, EuiFlexGroup, EuiFlexItem, EuiLoadingSpinner } from '@elastic/eui'; +import { + EuiButton, + EuiButtonEmpty, + EuiFlexGroup, + EuiFlexItem, + EuiLoadingSpinner, +} from '@elastic/eui'; import * as i18n from './translations'; export interface BulkActionsProps { @@ -29,13 +35,14 @@ export const BulkActions: React.FC = React.memo( installSelectedRule, }) => { const disableInstallTranslatedRulesButton = isTableLoading || !numberOfTranslatedRules; - const showInstallSelectedRulesButton = - disableInstallTranslatedRulesButton && numberOfSelectedRules > 0; + const showInstallSelectedRulesButton = isTableLoading || numberOfSelectedRules > 0; return ( {showInstallSelectedRulesButton ? ( - = React.memo( > {i18n.INSTALL_SELECTED_RULES(numberOfSelectedRules)} {isTableLoading && } - + ) : null} diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/index.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/index.tsx index 13b451c2918d8..106e7ba514d3f 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/index.tsx +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/index.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import type { CriteriaWithPagination } from '@elastic/eui'; +import type { CriteriaWithPagination, EuiTableSelectionType } from '@elastic/eui'; import { EuiSkeletonLoading, EuiSkeletonTitle, @@ -14,6 +14,7 @@ import { EuiFlexItem, EuiSpacer, EuiBasicTable, + EuiButton, } from '@elastic/eui'; import React, { useCallback, useMemo, useState } from 'react'; @@ -30,8 +31,12 @@ import { useGetMigrationPrebuiltRules } from '../../logic/use_get_migration_preb import * as logicI18n from '../../logic/translations'; import { BulkActions } from './bulk_actions'; import { SearchField } from './search_field'; +import { SiemMigrationRuleTranslationResult } from '../../../../../common/siem_migrations/constants'; +import * as i18n from './translations'; const DEFAULT_PAGE_SIZE = 10; +const DEFAULT_SORT_FIELD = 'translation_result'; +const DEFAULT_SORT_DIRECTION = 'desc'; export interface MigrationRulesTableProps { /** @@ -49,6 +54,8 @@ export const MigrationRulesTable: React.FC = React.mem const [pageIndex, setPageIndex] = useState(0); const [pageSize, setPageSize] = useState(DEFAULT_PAGE_SIZE); + const [sortField, setSortField] = useState(DEFAULT_SORT_FIELD); + const [sortDirection, setSortDirection] = useState<'asc' | 'desc'>(DEFAULT_SORT_DIRECTION); const [searchTerm, setSearchTerm] = useState(); const { data: translationStats, isLoading: isStatsLoading } = @@ -64,10 +71,33 @@ export const MigrationRulesTable: React.FC = React.mem migrationId, page: pageIndex, perPage: pageSize, + sortField, + sortDirection, searchTerm, }); const [selectedRuleMigrations, setSelectedRuleMigrations] = useState([]); + const tableSelection: EuiTableSelectionType = useMemo( + () => ({ + selectable: (item: RuleMigration) => { + return ( + !item.elastic_rule?.id && + item.translation_result === SiemMigrationRuleTranslationResult.FULL + ); + }, + selectableMessage: (selectable: boolean, item: RuleMigration) => { + if (selectable) { + return ''; + } + return item.elastic_rule?.id + ? i18n.ALREADY_TRANSLATED_RULE_TOOLTIP + : i18n.NOT_FULLY_TRANSLATED_RULE_TOOLTIP; + }, + onSelectionChange: setSelectedRuleMigrations, + selected: selectedRuleMigrations, + }), + [selectedRuleMigrations] + ); const pagination = useMemo(() => { return { @@ -77,11 +107,25 @@ export const MigrationRulesTable: React.FC = React.mem }; }, [pageIndex, pageSize, total]); + const sorting = useMemo(() => { + return { + sort: { + field: sortField, + direction: sortDirection, + }, + }; + }, [sortDirection, sortField]); + const onTableChange = useCallback(({ page, sort }: CriteriaWithPagination) => { if (page) { setPageIndex(page.index); setPageSize(page.size); } + if (sort) { + const { field, direction } = sort; + setSortField(field); + setSortDirection(direction); + } }, []); const handleOnSearch = useCallback((value: string) => { @@ -94,10 +138,10 @@ export const MigrationRulesTable: React.FC = React.mem const [isTableLoading, setTableLoading] = useState(false); const installSingleRule = useCallback( - async (migrationRule: RuleMigration, enable?: boolean) => { + async (migrationRule: RuleMigration, enabled = false) => { setTableLoading(true); try { - await installMigrationRules([migrationRule.id]); + await installMigrationRules({ ids: [migrationRule.id], enabled }); } catch (error) { addError(error, { title: logicI18n.INSTALL_MIGRATION_RULES_FAILURE }); } finally { @@ -107,6 +151,24 @@ export const MigrationRulesTable: React.FC = React.mem [addError, installMigrationRules] ); + const installSelectedRule = useCallback( + async (enabled = false) => { + setTableLoading(true); + try { + await installMigrationRules({ + ids: selectedRuleMigrations.map((rule) => rule.id), + enabled, + }); + } catch (error) { + addError(error, { title: logicI18n.INSTALL_MIGRATION_RULES_FAILURE }); + } finally { + setTableLoading(false); + setSelectedRuleMigrations([]); + } + }, + [addError, installMigrationRules, selectedRuleMigrations] + ); + const installTranslatedRules = useCallback( async (enable?: boolean) => { setTableLoading(true); @@ -121,12 +183,45 @@ export const MigrationRulesTable: React.FC = React.mem [addError, installTranslatedMigrationRules] ); + const isLoading = isStatsLoading || isPrebuiltRulesLoading || isDataLoading || isTableLoading; + const ruleActionsFactory = useCallback( (ruleMigration: RuleMigration, closeRulePreview: () => void) => { - // TODO: Add flyout action buttons - return null; + const canMigrationRuleBeInstalled = + !isLoading && + !ruleMigration.elastic_rule?.id && + ruleMigration.translation_result === SiemMigrationRuleTranslationResult.FULL; + return ( + + + { + installSingleRule(ruleMigration); + closeRulePreview(); + }} + data-test-subj="installMigrationRuleFromFlyoutButton" + > + {i18n.INSTALL_WITHOUT_ENABLING_BUTTON_LABEL} + + + + { + installSingleRule(ruleMigration, true); + closeRulePreview(); + }} + fill + data-test-subj="installAndEnableMigrationRuleFromFlyoutButton" + > + {i18n.INSTALL_AND_ENABLE_BUTTON_LABEL} + + + + ); }, - [] + [installSingleRule, isLoading] ); const { @@ -143,8 +238,6 @@ export const MigrationRulesTable: React.FC = React.mem installMigrationRule: installSingleRule, }); - const isLoading = isStatsLoading || isPrebuiltRulesLoading || isDataLoading || isTableLoading; - return ( <> = React.mem @@ -178,12 +272,9 @@ export const MigrationRulesTable: React.FC = React.mem loading={isTableLoading} items={ruleMigrations} pagination={pagination} + sorting={sorting} onChange={onTableChange} - selection={{ - selectable: () => true, - onSelectionChange: setSelectedRuleMigrations, - initialSelected: selectedRuleMigrations, - }} + selection={tableSelection} itemId={'id'} data-test-subj={'rules-translation-table'} columns={rulesColumns} diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/translations.ts b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/translations.ts index 6803deb895d9b..79b5a1fe00900 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/translations.ts +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table/translations.ts @@ -80,3 +80,31 @@ export const INSTALL_TRANSLATED_ARIA_LABEL = i18n.translate( defaultMessage: 'Install all translated rules', } ); + +export const ALREADY_TRANSLATED_RULE_TOOLTIP = i18n.translate( + 'xpack.securitySolution.siemMigrations.rules.table.alreadyTranslatedTooltip', + { + defaultMessage: 'Already translated migration rule', + } +); + +export const NOT_FULLY_TRANSLATED_RULE_TOOLTIP = i18n.translate( + 'xpack.securitySolution.siemMigrations.rules.table.notFullyTranslatedTooltip', + { + defaultMessage: 'Not fully translated migration rule', + } +); + +export const INSTALL_WITHOUT_ENABLING_BUTTON_LABEL = i18n.translate( + 'xpack.securitySolution.siemMigrations.rules.table.installWithoutEnablingButtonLabel', + { + defaultMessage: 'Install without enabling', + } +); + +export const INSTALL_AND_ENABLE_BUTTON_LABEL = i18n.translate( + 'xpack.securitySolution.siemMigrations.rules.table.installAndEnableButtonLabel', + { + defaultMessage: 'Install and enable', + } +); diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/author.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/author.tsx new file mode 100644 index 0000000000000..23980f5612f89 --- /dev/null +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/author.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 from 'react'; +import { EuiFlexGroup, EuiFlexItem, EuiIcon } from '@elastic/eui'; +import type { RuleMigration } from '../../../../../common/siem_migrations/model/rule_migration.gen'; +import * as i18n from './translations'; +import type { TableColumn } from './constants'; + +const Author = ({ isPrebuiltRule }: { isPrebuiltRule: boolean }) => { + return ( + + {isPrebuiltRule && ( + + + + )} + + {isPrebuiltRule ? i18n.ELASTIC_AUTHOR_TITLE : i18n.CUSTOM_AUTHOR_TITLE} + + + ); +}; + +export const createAuthorColumn = (): TableColumn => { + return { + field: 'elastic_rule.prebuilt_rule_id', + name: i18n.COLUMN_AUTHOR, + render: (_, rule: RuleMigration) => { + return ; + }, + sortable: true, + width: '10%', + }; +}; diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/index.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/index.tsx index 4220a35ed4622..61af73ca7b9f8 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/index.tsx +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/index.tsx @@ -8,6 +8,7 @@ export * from './constants'; export * from './actions'; +export * from './author'; export * from './name'; export * from './risk_score'; export * from './severity'; diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/name.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/name.tsx index 085a2f5c6a254..dd77636521eda 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/name.tsx +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/name.tsx @@ -12,12 +12,11 @@ import * as i18n from './translations'; import type { TableColumn } from './constants'; interface NameProps { - name: string; rule: RuleMigration; openMigrationRuleDetails: (rule: RuleMigration) => void; } -const Name = ({ name, rule, openMigrationRuleDetails }: NameProps) => { +const Name = ({ rule, openMigrationRuleDetails }: NameProps) => { return ( { @@ -25,7 +24,7 @@ const Name = ({ name, rule, openMigrationRuleDetails }: NameProps) => { }} data-test-subj="ruleName" > - {name} + {rule.elastic_rule?.title} ); }; @@ -36,10 +35,10 @@ export const createNameColumn = ({ openMigrationRuleDetails: (rule: RuleMigration) => void; }): TableColumn => { return { - field: 'original_rule.title', + field: 'elastic_rule.title', name: i18n.COLUMN_NAME, - render: (value: RuleMigration['original_rule']['title'], rule: RuleMigration) => ( - + render: (_, rule: RuleMigration) => ( + ), sortable: true, truncateText: true, diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/risk_score.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/risk_score.tsx index e9eca65736a51..0fb78ae8bf709 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/risk_score.tsx +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/risk_score.tsx @@ -22,6 +22,6 @@ export const createRiskScoreColumn = (): TableColumn => { ), sortable: true, truncateText: true, - width: '75px', + width: '10%', }; }; diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/severity.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/severity.tsx index 4ea737844ad53..9a6c0b98ff317 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/severity.tsx +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/severity.tsx @@ -8,9 +8,7 @@ import React from 'react'; import type { Severity } from '@kbn/securitysolution-io-ts-alerting-types'; import { DEFAULT_TRANSLATION_SEVERITY } from '../../../../../common/siem_migrations/constants'; -import { getNormalizedSeverity } from '../../../../detection_engine/rule_management_ui/components/rules_table/helpers'; import { SeverityBadge } from '../../../../common/components/severity_badge'; -import type { RuleMigration } from '../../../../../common/siem_migrations/model/rule_migration.gen'; import type { TableColumn } from './constants'; import * as i18n from './translations'; @@ -19,8 +17,7 @@ export const createSeverityColumn = (): TableColumn => { field: 'elastic_rule.severity', name: i18n.COLUMN_SEVERITY, render: (value?: Severity) => , - sortable: ({ elastic_rule: elasticRule }: RuleMigration) => - getNormalizedSeverity((elasticRule?.severity as Severity) ?? DEFAULT_TRANSLATION_SEVERITY), + sortable: true, truncateText: true, width: '12%', }; diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/status.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/status.tsx index 982f6ba7580b2..5daec1f1b4fa9 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/status.tsx +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/status.tsx @@ -18,8 +18,8 @@ export const createStatusColumn = (): TableColumn => { render: (value: RuleMigration['translation_result'], rule: RuleMigration) => ( ), - sortable: false, + sortable: true, truncateText: true, - width: '12%', + width: '15%', }; }; diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/translations.ts b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/translations.ts index 5b40abd3d7485..64e459a609143 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/translations.ts +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/rules_table_columns/translations.ts @@ -14,6 +14,27 @@ export const COLUMN_ACTIONS = i18n.translate( } ); +export const COLUMN_AUTHOR = i18n.translate( + 'xpack.securitySolution.siemMigrations.rules.tableColumn.authorLabel', + { + defaultMessage: 'Author', + } +); + +export const ELASTIC_AUTHOR_TITLE = i18n.translate( + 'xpack.securitySolution.siemMigrations.rules.tableColumn.elasticAuthorTitle', + { + defaultMessage: 'Elastic', + } +); + +export const CUSTOM_AUTHOR_TITLE = i18n.translate( + 'xpack.securitySolution.siemMigrations.rules.tableColumn.customAuthorTitle', + { + defaultMessage: 'Custom', + } +); + export const ACTIONS_VIEW_LABEL = i18n.translate( 'xpack.securitySolution.siemMigrations.rules.tableColumn.actionsViewLabel', { diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/index.test.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/index.test.tsx deleted file mode 100644 index aaf256cfb60b5..0000000000000 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/index.test.tsx +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import React from 'react'; -import { shallow } from 'enzyme'; - -import { StatusBadge } from '.'; - -describe('StatusBadge', () => { - it('renders correctly', () => { - const wrapper = shallow(); - - expect(wrapper.find('HealthTruncateText')).toHaveLength(1); - }); -}); diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/index.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/index.tsx index 60f0ed94862ca..8f8bcff40f674 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/index.tsx +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/index.tsx @@ -8,9 +8,16 @@ import React from 'react'; import { euiLightVars } from '@kbn/ui-theme'; +import { EuiFlexGroup, EuiFlexItem, EuiHealth, EuiIcon, EuiToolTip } from '@elastic/eui'; +import { css } from '@emotion/css'; import type { RuleMigrationTranslationResult } from '../../../../../common/siem_migrations/model/rule_migration.gen'; -import { HealthTruncateText } from '../../../../common/components/health_truncate_text'; import { convertTranslationResultIntoText } from '../../utils/helpers'; +import * as i18n from './translations'; + +const statusTextWrapperClassName = css` + width: 100%; + display: inline-grid; +`; const { euiColorVis0, euiColorVis7, euiColorVis9 } = euiLightVars; const statusToColorMap: Record = { @@ -28,17 +35,28 @@ interface StatusBadgeProps { export const StatusBadge: React.FC = React.memo( ({ value, installedRuleId, 'data-test-subj': dataTestSubj = 'translation-result' }) => { const translationResult = installedRuleId ? 'full' : value ?? 'untranslatable'; - const displayValue = convertTranslationResultIntoText(translationResult); + const displayValue = installedRuleId + ? i18n.RULE_STATUS_INSTALLED + : convertTranslationResultIntoText(translationResult); const color = statusToColorMap[translationResult]; return ( - - {displayValue} - + + {installedRuleId ? ( + + + + + {displayValue} + + ) : ( + +
+ {displayValue} +
+
+ )} +
); } ); diff --git a/x-pack/packages/ml/creation_wizard_utils/jest.config.js b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/translations.ts similarity index 55% rename from x-pack/packages/ml/creation_wizard_utils/jest.config.js rename to x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/translations.ts index 04abfa6eec19c..0a7b1c37f7acf 100644 --- a/x-pack/packages/ml/creation_wizard_utils/jest.config.js +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/components/status_badge/translations.ts @@ -5,8 +5,11 @@ * 2.0. */ -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/creation_wizard_utils'], -}; +import { i18n } from '@kbn/i18n'; + +export const RULE_STATUS_INSTALLED = i18n.translate( + 'xpack.securitySolution.siemMigrations.rules.status.installedLabel', + { + defaultMessage: 'Installed', + } +); diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/hooks/use_migration_rules_table_columns.tsx b/x-pack/plugins/security_solution/public/siem_migrations/rules/hooks/use_migration_rules_table_columns.tsx index b8b37bccaffd3..3c2d5a696ccc1 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/hooks/use_migration_rules_table_columns.tsx +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/hooks/use_migration_rules_table_columns.tsx @@ -10,6 +10,7 @@ import type { RuleMigration } from '../../../../common/siem_migrations/model/rul import type { TableColumn } from '../components/rules_table_columns'; import { createActionsColumn, + createAuthorColumn, createNameColumn, createRiskScoreColumn, createSeverityColumn, @@ -33,6 +34,7 @@ export const useMigrationRulesTableColumns = ({ createStatusColumn(), createRiskScoreColumn(), createSeverityColumn(), + createAuthorColumn(), createActionsColumn({ disableActions, openMigrationRuleDetails, diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_get_migration_rules.ts b/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_get_migration_rules.ts index 5f59ceb9f76c2..4109575459233 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_get_migration_rules.ts +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_get_migration_rules.ts @@ -18,6 +18,8 @@ export const useGetMigrationRules = (params: { migrationId: string; page?: number; perPage?: number; + sortField: string; + sortDirection: 'asc' | 'desc'; searchTerm?: string; }) => { const { addError } = useAppToasts(); diff --git a/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_install_migration_rules.ts b/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_install_migration_rules.ts index 755faa03bff14..2b28b3b944990 100644 --- a/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_install_migration_rules.ts +++ b/x-pack/plugins/security_solution/public/siem_migrations/rules/logic/use_install_migration_rules.ts @@ -23,8 +23,8 @@ export const useInstallMigrationRules = (migrationId: string) => { const invalidateGetMigrationTranslationStats = useInvalidateGetMigrationTranslationStats(migrationId); - return useMutation( - (ids: string[]) => installMigrationRules({ migrationId, ids }), + return useMutation( + ({ ids, enabled = false }) => installMigrationRules({ migrationId, ids, enabled }), { mutationKey: INSTALL_MIGRATION_RULES_MUTATION_KEY, onError: (error) => { diff --git a/x-pack/plugins/security_solution/scripts/siem_migration/draw_graphs_script.ts b/x-pack/plugins/security_solution/scripts/siem_migration/draw_graphs_script.ts index 4cb2b5c740474..4d4c8ea025c80 100644 --- a/x-pack/plugins/security_solution/scripts/siem_migration/draw_graphs_script.ts +++ b/x-pack/plugins/security_solution/scripts/siem_migration/draw_graphs_script.ts @@ -16,9 +16,7 @@ import { FakeLLM } from '@langchain/core/utils/testing'; import fs from 'fs/promises'; import path from 'path'; import { getRuleMigrationAgent } from '../../server/lib/siem_migrations/rules/task/agent'; -import type { IntegrationRetriever } from '../../server/lib/siem_migrations/rules/task/util/integration_retriever'; -import type { PrebuiltRulesMapByName } from '../../server/lib/siem_migrations/rules/task/util/prebuilt_rules'; -import type { RuleResourceRetriever } from '../../server/lib/siem_migrations/rules/task/util/rule_resource_retriever'; +import type { RuleMigrationsRetriever } from '../../server/lib/siem_migrations/rules/task/retrievers'; interface Drawable { drawMermaidPng: () => Promise; @@ -30,9 +28,7 @@ const mockLlm = new FakeLLM({ const inferenceClient = {} as InferenceClient; const connectorId = 'draw_graphs'; -const prebuiltRulesMap = {} as PrebuiltRulesMapByName; -const resourceRetriever = {} as RuleResourceRetriever; -const integrationRetriever = {} as IntegrationRetriever; +const ruleMigrationsRetriever = {} as RuleMigrationsRetriever; const createLlmInstance = () => { return mockLlm; @@ -43,9 +39,7 @@ async function getAgentGraph(logger: Logger): Promise { const graph = getRuleMigrationAgent({ model, inferenceClient, - prebuiltRulesMap, - resourceRetriever, - integrationRetriever, + ruleMigrationsRetriever, connectorId, logger, }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/perform_rule_upgrade/diffable_rule_fields_mappings.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/perform_rule_upgrade/diffable_rule_fields_mappings.test.ts new file mode 100644 index 0000000000000..95495ebea0d9d --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/perform_rule_upgrade/diffable_rule_fields_mappings.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 { transformDiffableFieldValues } from './diffable_rule_fields_mappings'; + +describe('transformDiffableFieldValues', () => { + it('transforms rule_schedule into "from" value', () => { + const result = transformDiffableFieldValues('from', { interval: '5m', lookback: '4m' }); + expect(result).toEqual({ type: 'TRANSFORMED_FIELD', value: 'now-540s' }); + }); +}); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/perform_rule_upgrade/diffable_rule_fields_mappings.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/perform_rule_upgrade/diffable_rule_fields_mappings.ts index 7caa0469eebeb..dd36fcb6e74aa 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/perform_rule_upgrade/diffable_rule_fields_mappings.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/perform_rule_upgrade/diffable_rule_fields_mappings.ts @@ -15,6 +15,7 @@ import type { } from '../../../../../../common/api/detection_engine'; import { type AllFieldsDiff } from '../../../../../../common/api/detection_engine'; import type { PrebuiltRuleAsset } from '../../model/rule_assets/prebuilt_rule_asset'; +import { calculateFromValue } from '../../../rule_types/utils/utils'; /** * Retrieves and transforms the value for a specific field from a DiffableRule group. @@ -132,6 +133,9 @@ const SUBFIELD_MAPPING: Record = { tiebreaker_field: 'tiebreaker_field', timestamp_field: 'timestamp_field', building_block_type: 'type', + threat_query: 'query', + threat_language: 'language', + threat_filters: 'filters', rule_name_override: 'field_name', timestamp_override: 'field_name', timestamp_override_fallback_disabled: 'fallback_disabled', @@ -201,7 +205,8 @@ export const transformDiffableFieldValues = ( diffableFieldValue: RuleSchedule | InlineKqlQuery | unknown ): TransformValuesReturnType => { if (fieldName === 'from' && isRuleSchedule(diffableFieldValue)) { - return { type: 'TRANSFORMED_FIELD', value: `now-${diffableFieldValue.lookback}` }; + const from = calculateFromValue(diffableFieldValue.interval, diffableFieldValue.lookback); + return { type: 'TRANSFORMED_FIELD', value: from }; } else if (fieldName === 'to') { return { type: 'TRANSFORMED_FIELD', value: `now` }; } else if (fieldName === 'saved_id' && isInlineQuery(diffableFieldValue)) { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/calculate_rule_fields_diff.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/calculate_rule_fields_diff.ts index 78ea28137bbf5..b861a8432797b 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/calculate_rule_fields_diff.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/diff/calculation/calculate_rule_fields_diff.ts @@ -273,7 +273,6 @@ const threatMatchFieldsDiffAlgorithms: FieldsDiffAlgorithmsFor(arr: T[], items: T[]): T[] => Array.from(new Set([...arr, ...items])); @@ -256,10 +255,7 @@ const applyBulkActionEditToRuleParams = ( } // update look-back period in from and meta.from fields case BulkActionEditTypeEnum.set_schedule: { - const interval = parseInterval(action.value.interval) ?? moment.duration(0); - const parsedFrom = parseInterval(action.value.lookback) ?? moment.duration(0); - - const from = parsedFrom.asSeconds() + interval.asSeconds(); + const from = calculateFromValue(action.value.interval, action.value.lookback); ruleParams = { ...ruleParams, @@ -267,7 +263,7 @@ const applyBulkActionEditToRuleParams = ( ...ruleParams.meta, from: action.value.lookback, }, - from: `now-${from}s`, + from, }; break; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/utils.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/utils.test.ts index 0a625ed5f245b..3430d2ae903ef 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/utils.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/utils.test.ts @@ -48,6 +48,7 @@ import { addToSearchAfterReturn, getUnprocessedExceptionsWarnings, getDisabledActionsWarningText, + calculateFromValue, } from './utils'; import type { BulkResponseErrorAggregation, SearchAfterAndBulkCreateReturnType } from '../types'; import { @@ -586,6 +587,23 @@ describe('utils', () => { }); }); + describe('calculateFromValue', () => { + test('should return formatted `from` value from rule schedule fields', () => { + const from = calculateFromValue('5m', '4m'); + expect(from).toEqual('now-540s'); + }); + + test('should return formatted `from` value from rule schedule fields with no lookback', () => { + const from = calculateFromValue('5m', '0m'); + expect(from).toEqual('now-300s'); + }); + + test('should return formatted `from` value from rule schedule fields with invalid moment fields', () => { + const from = calculateFromValue('5', '5'); + expect(from).toEqual('now-0s'); + }); + }); + describe('getMaxCatchupRatio', () => { test('should return 0 if gap is 0', () => { const catchup = getNumCatchupIntervals({ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/utils.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/utils.ts index 271a2ce64883e..75c8b30dc88df 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/utils.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/utils.ts @@ -568,6 +568,20 @@ export const getCatchupTuples = ({ return catchupTuples; }; +/** + * Takes the rule schedule fields `interval` and `lookback` and uses them to calculate the `from` value for a rule + * + * @param interval string representing the interval on which the rule runs + * @param lookback string representing the rule's additional lookback + * @returns string representing the rule's 'from' property + */ +export const calculateFromValue = (interval: string, lookback: string) => { + const parsedInterval = parseInterval(interval) ?? moment.duration(0); + const parsedFrom = parseInterval(lookback) ?? moment.duration(0); + const duration = parsedFrom.asSeconds() + parsedInterval.asSeconds(); + return `now-${duration}s`; +}; + /** * Given errors from a search query this will return an array of strings derived from the errors. * @param errors The errors to derive the strings from diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.test.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.test.ts index 733e85fd6ed55..86ac7d136d221 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.test.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.test.ts @@ -16,6 +16,7 @@ import type { EntityType } from '../../../../common/api/entity_analytics/entity_ import type { DataViewsService } from '@kbn/data-views-plugin/common'; import type { AppClient } from '../../..'; import type { EntityStoreConfig } from './types'; +import { mockGlobalState } from '../../../../public/common/mock'; describe('EntityStoreDataClient', () => { const mockSavedObjectClient = savedObjectsClientMock.create(); @@ -31,6 +32,7 @@ describe('EntityStoreDataClient', () => { dataViewsService: {} as DataViewsService, appClient: {} as AppClient, config: {} as EntityStoreConfig, + experimentalFeatures: mockGlobalState.app.enableExperimental, }); const defaultSearchParams = { diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.ts index dc4e9d7af2ff6..c18dc1863a8d1 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.ts @@ -23,6 +23,7 @@ import moment from 'moment'; import type { EntityDefinitionWithState } from '@kbn/entityManager-plugin/server/lib/entities/types'; import type { EntityDefinition } from '@kbn/entities-schema'; import type { estypes } from '@elastic/elasticsearch'; +import type { ExperimentalFeatures } from '../../../../common'; import type { GetEntityStoreStatusRequestQuery, GetEntityStoreStatusResponse, @@ -32,7 +33,10 @@ import type { InitEntityStoreResponse, } from '../../../../common/api/entity_analytics/entity_store/enable.gen'; import type { AppClient } from '../../..'; -import { EngineComponentResourceEnum, EntityType } from '../../../../common/api/entity_analytics'; +import { + EngineComponentResourceEnum, + EntityTypeEnum, +} from '../../../../common/api/entity_analytics'; import type { Entity, EngineDataviewUpdateResult, @@ -42,6 +46,7 @@ import type { ListEntityEnginesResponse, EngineComponentStatus, EngineComponentResource, + EntityType, } from '../../../../common/api/entity_analytics'; import { EngineDescriptorClient } from './saved_object/engine_descriptor'; import { ENGINE_STATUS, ENTITY_STORE_STATUS, MAX_SEARCH_RESPONSE_SIZE } from './constants'; @@ -108,6 +113,7 @@ interface EntityStoreClientOpts { dataViewsService: DataViewsService; appClient: AppClient; config: EntityStoreConfig; + experimentalFeatures: ExperimentalFeatures; telemetry?: AnalyticsServiceSetup; } @@ -204,7 +210,13 @@ export class EntityStoreDataClient { // Immediately defer the initialization to the next tick. This way we don't block on the init preflight checks const run = (fn: () => Promise) => new Promise((resolve) => setTimeout(() => fn().then(resolve), 0)); - const promises = Object.values(EntityType.Values).map((entity) => + + const { experimentalFeatures } = this.options; + const enginesTypes = experimentalFeatures.serviceEntityStoreEnabled + ? [EntityTypeEnum.host, EntityTypeEnum.user, EntityTypeEnum.service] + : [EntityTypeEnum.host, EntityTypeEnum.user]; + + const promises = enginesTypes.map((entity) => run(() => this.init(entity, { indexPattern, filter, fieldHistoryLength }, { pipelineDebugMode }) ) diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/index.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/index.ts index 4193c07f308fb..cf78a4b0e363b 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/index.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/index.ts @@ -7,4 +7,5 @@ export * from './host'; export * from './user'; +export * from './service'; export { getCommonUnitedFieldDefinitions } from './common'; diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/service.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/service.ts new file mode 100644 index 0000000000000..26d10046b26ae --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/service.ts @@ -0,0 +1,29 @@ +/* + * 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 { collectValuesWithLength, newestValue } from '../definition_utils'; +import type { UnitedDefinitionBuilder } from '../types'; + +export const SERVICE_DEFINITION_VERSION = '1.0.0'; +export const getServiceUnitedDefinition: UnitedDefinitionBuilder = (fieldHistoryLength: number) => { + const collect = collectValuesWithLength(fieldHistoryLength); + return { + entityType: 'service', + version: SERVICE_DEFINITION_VERSION, + fields: [ + collect({ field: 'service.address' }), + collect({ field: 'service.environment' }), + collect({ field: 'service.ephemeral_id' }), + collect({ field: 'service.id' }), + collect({ field: 'service.node.name' }), + collect({ field: 'service.node.roles' }), + newestValue({ field: 'service.state' }), + collect({ field: 'service.type' }), + newestValue({ field: 'service.version' }), + ], + }; +}; diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.test.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.test.ts index 07c011b4791e6..16e5e06aea8f2 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.test.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.test.ts @@ -587,4 +587,315 @@ describe('getUnitedEntityDefinition', () => { `); }); }); + + describe('service', () => { + const unitedDefinition = getUnitedEntityDefinition({ + entityType: 'service', + namespace: 'test', + fieldHistoryLength: 10, + indexPatterns, + syncDelay: '1m', + frequency: '1m', + }); + + it('mapping', () => { + expect(unitedDefinition.indexMappings).toMatchInlineSnapshot(` + Object { + "properties": Object { + "@timestamp": Object { + "type": "date", + }, + "asset.criticality": Object { + "type": "keyword", + }, + "entity.name": Object { + "fields": Object { + "text": Object { + "type": "match_only_text", + }, + }, + "type": "keyword", + }, + "entity.source": Object { + "type": "keyword", + }, + "service.address": Object { + "type": "keyword", + }, + "service.environment": Object { + "type": "keyword", + }, + "service.ephemeral_id": Object { + "type": "keyword", + }, + "service.id": Object { + "type": "keyword", + }, + "service.name": Object { + "fields": Object { + "text": Object { + "type": "match_only_text", + }, + }, + "type": "keyword", + }, + "service.node.name": Object { + "type": "keyword", + }, + "service.node.roles": Object { + "type": "keyword", + }, + "service.risk.calculated_level": Object { + "type": "keyword", + }, + "service.risk.calculated_score": Object { + "type": "float", + }, + "service.risk.calculated_score_norm": Object { + "type": "float", + }, + "service.state": Object { + "type": "keyword", + }, + "service.type": Object { + "type": "keyword", + }, + "service.version": Object { + "type": "keyword", + }, + }, + } + `); + }); + it('fieldRetentionDefinition', () => { + expect(unitedDefinition.fieldRetentionDefinition).toMatchInlineSnapshot(` + Object { + "entityType": "service", + "fields": Array [ + Object { + "field": "service.address", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.environment", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.ephemeral_id", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.id", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.node.name", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.node.roles", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.state", + "operation": "prefer_newest_value", + }, + Object { + "field": "service.type", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.version", + "operation": "prefer_newest_value", + }, + Object { + "field": "entity.source", + "operation": "prefer_oldest_value", + }, + Object { + "field": "asset.criticality", + "operation": "prefer_newest_value", + }, + Object { + "field": "service.risk.calculated_level", + "operation": "prefer_newest_value", + }, + Object { + "field": "service.risk.calculated_score", + "operation": "prefer_newest_value", + }, + Object { + "field": "service.risk.calculated_score_norm", + "operation": "prefer_newest_value", + }, + ], + "matchField": "service.name", + } + `); + }); + it('entityManagerDefinition', () => { + expect(unitedDefinition.entityManagerDefinition).toMatchInlineSnapshot(` + Object { + "displayNameTemplate": "{{service.name}}", + "id": "security_service_test", + "identityFields": Array [ + Object { + "field": "service.name", + "optional": false, + }, + ], + "indexPatterns": Array [ + "test*", + ], + "latest": Object { + "lookbackPeriod": "24h", + "settings": Object { + "frequency": "1m", + "syncDelay": "1m", + }, + "timestampField": "@timestamp", + }, + "managed": true, + "metadata": Array [ + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.address", + "source": "service.address", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.environment", + "source": "service.environment", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.ephemeral_id", + "source": "service.ephemeral_id", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.id", + "source": "service.id", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.node.name", + "source": "service.node.name", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.node.roles", + "source": "service.node.roles", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "service.state", + "source": "service.state", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.type", + "source": "service.type", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "service.version", + "source": "service.version", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "asc", + }, + "type": "top_value", + }, + "destination": "entity.source", + "source": "_index", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "asset.criticality", + "source": "asset.criticality", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "service.risk.calculated_level", + "source": "service.risk.calculated_level", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "service.risk.calculated_score", + "source": "service.risk.calculated_score", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "service.risk.calculated_score_norm", + "source": "service.risk.calculated_score_norm", + }, + ], + "name": "Security 'service' Entity Store Definition", + "type": "service", + "version": "1.0.0", + } + `); + }); + }); }); diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.ts index ba4963d5fea0a..ae54e802574cf 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.ts @@ -12,12 +12,14 @@ import { getCommonUnitedFieldDefinitions, USER_DEFINITION_VERSION, HOST_DEFINITION_VERSION, + getServiceUnitedDefinition, } from './entity_types'; import type { UnitedDefinitionBuilder } from './types'; import { UnitedEntityDefinition } from './united_entity_definition'; const unitedDefinitionBuilders: Record = { host: getHostUnitedDefinition, user: getUserUnitedDefinition, + service: getServiceUnitedDefinition, }; interface Options { @@ -57,8 +59,14 @@ export const getUnitedEntityDefinition = memoize( } ); +const versionByEntityType: Record = { + host: HOST_DEFINITION_VERSION, + user: USER_DEFINITION_VERSION, + service: USER_DEFINITION_VERSION, +}; + export const getUnitedEntityDefinitionVersion = (entityType: EntityType): string => - entityType === 'host' ? HOST_DEFINITION_VERSION : USER_DEFINITION_VERSION; + versionByEntityType[entityType]; export const getAvailableEntityTypes = (): EntityType[] => Object.keys(unitedDefinitionBuilders) as EntityType[]; diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/utils/entity_utils.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/utils/entity_utils.ts index 8fe21317f4ad8..1a10bddb428fa 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/utils/entity_utils.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/utils/entity_utils.ts @@ -14,13 +14,20 @@ import type { DataViewsService, DataView } from '@kbn/data-views-plugin/common'; import type { AppClient } from '../../../../types'; import { getRiskScoreLatestIndex } from '../../../../../common/entity_analytics/risk_engine'; import { getAssetCriticalityIndex } from '../../../../../common/entity_analytics/asset_criticality'; -import type { EntityType } from '../../../../../common/api/entity_analytics/entity_store/common.gen'; +import { + EntityTypeEnum, + type EntityType, +} from '../../../../../common/api/entity_analytics/entity_store/common.gen'; import { entityEngineDescriptorTypeName } from '../saved_object'; -export const getIdentityFieldForEntityType = (entityType: EntityType) => { - if (entityType === 'host') return 'host.name'; +const identityFieldMap: Record = { + [EntityTypeEnum.host]: 'host.name', + [EntityTypeEnum.user]: 'user.name', + [EntityTypeEnum.service]: 'service.name', +}; - return 'user.name'; +export const getIdentityFieldForEntityType = (entityType: EntityType) => { + return identityFieldMap[entityType]; }; export const buildIndexPatterns = async ( diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/create.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/create.ts index 7c94631be6b65..19669fa75cd3d 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/create.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/create.ts @@ -50,7 +50,7 @@ export const registerSiemRuleMigrationsCreateRoute = ( migration_id: migrationId, original_rule: originalRule, })); - await ruleMigrationsClient.data.integrations.create(); + await ruleMigrationsClient.data.rules.create(ruleMigrations); return res.ok({ body: { migration_id: migrationId } }); diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/get.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/get.ts index dd13a75cdf83a..30037aeea88ae 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/get.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/get.ts @@ -39,13 +39,20 @@ export const registerSiemRuleMigrationsGetRoute = ( }, withLicense(async (context, req, res): Promise> => { const { migration_id: migrationId } = req.params; - const { page, per_page: perPage, search_term: searchTerm } = req.query; + const { + page, + per_page: perPage, + sort_field: sortField, + sort_direction: sortDirection, + search_term: searchTerm, + } = req.query; try { const ctx = await context.resolve(['securitySolution']); const ruleMigrationsClient = ctx.securitySolution.getSiemRuleMigrationsClient(); const options: RuleMigrationGetOptions = { filters: { searchTerm }, + sort: { sortField, sortDirection }, size: perPage, from: page && perPage ? page * perPage : 0, }; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/install.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/install.ts index 7b41ea536aadf..9fae2922b486f 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/install.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/install.ts @@ -40,7 +40,7 @@ export const registerSiemRuleMigrationsInstallRoute = ( withLicense( async (context, req, res): Promise> => { const { migration_id: migrationId } = req.params; - const ids = req.body; + const { ids, enabled = false } = req.body; try { const ctx = await context.resolve(['core', 'alerting', 'securitySolution']); @@ -52,6 +52,7 @@ export const registerSiemRuleMigrationsInstallRoute = ( await installTranslated({ migrationId, ids, + enabled, securitySolutionContext, savedObjectsClient, rulesClient, diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/install_translated.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/install_translated.ts index ac6a598c4b92f..2cf2a2e2c8efd 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/install_translated.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/install_translated.ts @@ -50,6 +50,7 @@ export const registerSiemRuleMigrationsInstallTranslatedRoute = ( await installTranslated({ migrationId, + enabled: false, securitySolutionContext, savedObjectsClient, rulesClient, diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/start.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/start.ts index e9369c0e8d19d..4e50d3d583c65 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/start.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/start.ts @@ -6,15 +6,15 @@ */ import type { IKibanaResponse, Logger } from '@kbn/core/server'; -import { buildRouteValidationWithZod } from '@kbn/zod-helpers'; import { APMTracer } from '@kbn/langchain/server/tracers/apm'; import { getLangSmithTracer } from '@kbn/langchain/server/tracers/langsmith'; +import { buildRouteValidationWithZod } from '@kbn/zod-helpers'; +import { SIEM_RULE_MIGRATION_START_PATH } from '../../../../../common/siem_migrations/constants'; import { StartRuleMigrationRequestBody, StartRuleMigrationRequestParams, type StartRuleMigrationResponse, } from '../../../../../common/siem_migrations/model/api/rules/rule_migration.gen'; -import { SIEM_RULE_MIGRATION_START_PATH } from '../../../../../common/siem_migrations/constants'; import type { SecuritySolutionPluginRouter } from '../../../../types'; import { withLicense } from './util/with_license'; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/util/installation.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/util/installation.ts index d74619e4c1251..8716c83ce6ba3 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/util/installation.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/api/util/installation.ts @@ -27,6 +27,7 @@ import { const installPrebuiltRules = async ( rulesToInstall: StoredRuleMigration[], + enabled: boolean, securitySolutionContext: SecuritySolutionApiRequestHandlerContext, rulesClient: RulesClient, savedObjectsClient: SavedObjectsClientContract, @@ -41,7 +42,7 @@ const installPrebuiltRules = async ( if (item.current) { acc.installed.push(item.current); } else { - acc.installable.push(item.target); + acc.installable.push({ ...item.target, enabled }); } return acc; }, @@ -85,6 +86,7 @@ const installPrebuiltRules = async ( export const installCustomRules = async ( rulesToInstall: StoredRuleMigration[], + enabled: boolean, detectionRulesClient: IDetectionRulesClient, logger: Logger ): Promise => { @@ -96,8 +98,11 @@ export const installCustomRules = async ( if (!isMigrationCustomRule(rule.elastic_rule)) { return; } - const payloadRule = convertMigrationCustomRuleToSecurityRulePayload(rule.elastic_rule); - const createdRule = await detectionRulesClient.createPrebuiltRule({ + const payloadRule = convertMigrationCustomRuleToSecurityRulePayload( + rule.elastic_rule, + enabled + ); + const createdRule = await detectionRulesClient.createCustomRule({ params: payloadRule, }); rulesToUpdate.push({ @@ -131,6 +136,11 @@ interface InstallTranslatedProps { */ ids?: string[]; + /** + * Indicates whether the installed migration rules should be enabled + */ + enabled: boolean; + /** * The security solution context */ @@ -155,6 +165,7 @@ interface InstallTranslatedProps { export const installTranslated = async ({ migrationId, ids, + enabled, securitySolutionContext, rulesClient, savedObjectsClient, @@ -186,6 +197,7 @@ export const installTranslated = async ({ const updatedPrebuiltRules = await installPrebuiltRules( prebuiltRulesToInstall, + enabled, securitySolutionContext, rulesClient, savedObjectsClient, @@ -194,6 +206,7 @@ export const installTranslated = async ({ const updatedCustomRules = await installCustomRules( customRulesToInstall, + enabled, detectionRulesClient, logger ); diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_client.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_client.ts index 8960edd0cce21..c06c889482360 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_client.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_client.ts @@ -7,6 +7,7 @@ import type { ElasticsearchClient, Logger } from '@kbn/core/server'; import { RuleMigrationsDataIntegrationsClient } from './rule_migrations_data_integrations_client'; +import { RuleMigrationsDataPrebuiltRulesClient } from './rule_migrations_data_prebuilt_rules_client'; import { RuleMigrationsDataResourcesClient } from './rule_migrations_data_resources_client'; import { RuleMigrationsDataRulesClient } from './rule_migrations_data_rules_client'; import type { AdapterId } from './rule_migrations_data_service'; @@ -18,6 +19,7 @@ export class RuleMigrationsDataClient { public readonly rules: RuleMigrationsDataRulesClient; public readonly resources: RuleMigrationsDataResourcesClient; public readonly integrations: RuleMigrationsDataIntegrationsClient; + public readonly prebuiltRules: RuleMigrationsDataPrebuiltRulesClient; constructor( indexNameProviders: IndexNameProviders, @@ -43,5 +45,11 @@ export class RuleMigrationsDataClient { esClient, logger ); + this.prebuiltRules = new RuleMigrationsDataPrebuiltRulesClient( + indexNameProviders.prebuiltrules, + username, + esClient, + logger + ); } } diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_integrations_client.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_integrations_client.ts index 3fdf1d11de36c..fdb063836f9e4 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_integrations_client.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_integrations_client.ts @@ -26,24 +26,27 @@ export class RuleMigrationsDataIntegrationsClient extends RuleMigrationsDataBase async create(): Promise { const index = await this.getIndexName(); await this.esClient - .bulk({ - refresh: 'wait_for', - operations: INTEGRATIONS.flatMap((integration) => [ - { update: { _index: index, _id: integration.id } }, - { - doc: { - title: integration.title, - description: integration.description, - data_streams: integration.data_streams, - elser_embedding: integration.elser_embedding, - '@timestamp': new Date().toISOString(), + .bulk( + { + refresh: 'wait_for', + operations: INTEGRATIONS.flatMap((integration) => [ + { update: { _index: index, _id: integration.id } }, + { + doc: { + title: integration.title, + description: integration.description, + data_streams: integration.data_streams, + elser_embedding: integration.elser_embedding, + '@timestamp': new Date().toISOString(), + }, + doc_as_upsert: true, }, - doc_as_upsert: true, - }, - ]), - }) + ]), + }, + { requestTimeout: 10 * 60 * 1000 } + ) .catch((error) => { - this.logger.error(`Error indexing integration details for ELSER: ${error.message}`); + this.logger.error(`Error preparing integrations for SIEM migration ${error.message}`); throw error; }); } diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_prebuilt_rules_client.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_prebuilt_rules_client.ts new file mode 100644 index 0000000000000..ccd158c347c77 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_prebuilt_rules_client.ts @@ -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 type { RulesClient } from '@kbn/alerting-plugin/server'; +import type { SavedObjectsClientContract } from '@kbn/core-saved-objects-api-server'; +import { createPrebuiltRuleAssetsClient } from '../../../detection_engine/prebuilt_rules/logic/rule_assets/prebuilt_rule_assets_client'; +import { createPrebuiltRuleObjectsClient } from '../../../detection_engine/prebuilt_rules/logic/rule_objects/prebuilt_rule_objects_client'; +import { fetchRuleVersionsTriad } from '../../../detection_engine/prebuilt_rules/logic/rule_versions/fetch_rule_versions_triad'; +import type { RuleMigrationPrebuiltRule } from '../types'; +import { RuleMigrationsDataBaseClient } from './rule_migrations_data_base_client'; + +interface RetrievePrebuiltRulesParams { + soClient: SavedObjectsClientContract; + rulesClient: RulesClient; +} + +/* The minimum score required for a integration to be considered correct, might need to change this later */ +const MIN_SCORE = 40 as const; +/* The number of integrations the RAG will return, sorted by score */ +const RETURNED_RULES = 5 as const; + +/* BULK_MAX_SIZE defines the number to break down the bulk operations by. + * The 500 number was chosen as a reasonable number to avoid large payloads. It can be adjusted if needed. + */ +const BULK_MAX_SIZE = 500 as const; + +export class RuleMigrationsDataPrebuiltRulesClient extends RuleMigrationsDataBaseClient { + /** Indexes an array of integrations to be used with ELSER semantic search queries */ + async create({ soClient, rulesClient }: RetrievePrebuiltRulesParams): Promise { + const ruleAssetsClient = createPrebuiltRuleAssetsClient(soClient); + const ruleObjectsClient = createPrebuiltRuleObjectsClient(rulesClient); + + const ruleVersionsMap = await fetchRuleVersionsTriad({ + ruleAssetsClient, + ruleObjectsClient, + }); + + const filteredRules: RuleMigrationPrebuiltRule[] = []; + ruleVersionsMap.forEach((ruleVersions) => { + const rule = ruleVersions.target || ruleVersions.current; + if (rule) { + const mitreAttackIds = rule?.threat?.flatMap( + ({ technique }) => technique?.map(({ id }) => id) ?? [] + ); + + filteredRules.push({ + rule_id: rule.rule_id, + name: rule.name, + installedRuleId: ruleVersions.current?.id, + description: rule.description, + elser_embedding: `${rule.name} - ${rule.description}`, + ...(mitreAttackIds?.length && { mitre_attack_ids: mitreAttackIds }), + }); + } + }); + + const index = await this.getIndexName(); + const createdAt = new Date().toISOString(); + let prebuiltRuleSlice: RuleMigrationPrebuiltRule[]; + while ((prebuiltRuleSlice = filteredRules.splice(0, BULK_MAX_SIZE)).length) { + await this.esClient + .bulk( + { + refresh: 'wait_for', + operations: prebuiltRuleSlice.flatMap((prebuiltRule) => [ + { update: { _index: index, _id: prebuiltRule.rule_id } }, + { + doc: { + ...prebuiltRule, + '@timestamp': createdAt, + }, + doc_as_upsert: true, + }, + ]), + }, + { requestTimeout: 10 * 60 * 1000 } + ) + .catch((error) => { + this.logger.error(`Error preparing prebuilt rules for SIEM migration: ${error.message}`); + throw error; + }); + } + } + + /** Based on a LLM generated semantic string, returns the 5 best results with a score above 40 */ + async retrieveRules( + semanticString: string, + techniqueIds: string + ): Promise { + const index = await this.getIndexName(); + const query = { + bool: { + should: [ + { + semantic: { + query: semanticString, + field: 'elser_embedding', + boost: 1.5, + }, + }, + { + multi_match: { + query: semanticString, + fields: ['name^2', 'description'], + boost: 3, + }, + }, + { + multi_match: { + query: techniqueIds, + fields: ['mitre_attack_ids'], + boost: 2, + }, + }, + ], + }, + }; + const results = await this.esClient + .search({ + index, + query, + size: RETURNED_RULES, + min_score: MIN_SCORE, + }) + .then(this.processResponseHits.bind(this)) + .catch((error) => { + this.logger.error(`Error querying prebuilt rule details for ELSER: ${error.message}`); + throw error; + }); + + return results; + } +} diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_rules_client.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_rules_client.ts index f11b24e50b95a..1eeb3ced0572a 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_rules_client.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_rules_client.ts @@ -15,10 +15,7 @@ import type { QueryDslQueryContainer, } from '@elastic/elasticsearch/lib/api/types'; import type { StoredRuleMigration } from '../types'; -import { - SiemMigrationRuleTranslationResult, - SiemMigrationStatus, -} from '../../../../../common/siem_migrations/constants'; +import { SiemMigrationStatus } from '../../../../../common/siem_migrations/constants'; import type { ElasticRule, RuleMigration, @@ -26,6 +23,8 @@ import type { RuleMigrationTranslationStats, } from '../../../../../common/siem_migrations/model/rule_migration.gen'; import { RuleMigrationsDataBaseClient } from './rule_migrations_data_base_client'; +import { getSortingOptions, type RuleMigrationSort } from './sort'; +import { conditions as searchConditions } from './search'; export type CreateRuleMigrationInput = Omit< RuleMigration, @@ -47,6 +46,7 @@ export interface RuleMigrationFilters { } export interface RuleMigrationGetOptions { filters?: RuleMigrationFilters; + sort?: RuleMigrationSort; from?: number; size?: number; } @@ -120,13 +120,19 @@ export class RuleMigrationsDataRulesClient extends RuleMigrationsDataBaseClient /** Retrieves an array of rule documents of a specific migrations */ async get( migrationId: string, - { filters = {}, from, size }: RuleMigrationGetOptions = {} + { filters = {}, sort = {}, from, size }: RuleMigrationGetOptions = {} ): Promise<{ total: number; data: StoredRuleMigration[] }> { const index = await this.getIndexName(); const query = this.getFilterQuery(migrationId, { ...filters }); const result = await this.esClient - .search({ index, query, sort: '_doc', from, size }) + .search({ + index, + query, + sort: sort.sortField ? getSortingOptions(sort) : undefined, + from, + size, + }) .catch((error) => { this.logger.error(`Error searching rule migrations: ${error.message}`); throw error; @@ -238,8 +244,8 @@ export class RuleMigrationsDataRulesClient extends RuleMigrationsDataBaseClient const query = this.getFilterQuery(migrationId); const aggregations = { - prebuilt: { filter: conditions.isPrebuilt() }, - installable: { filter: { bool: { must: conditions.isInstallable() } } }, + prebuilt: { filter: searchConditions.isPrebuilt() }, + installable: { filter: { bool: { must: searchConditions.isInstallable() } } }, }; const result = await this.esClient .search({ index, query, aggregations, _source: false }) @@ -351,47 +357,14 @@ export class RuleMigrationsDataRulesClient extends RuleMigrationsDataBaseClient filter.push({ terms: { _id: ids } }); } if (installable) { - filter.push(...conditions.isInstallable()); + filter.push(...searchConditions.isInstallable()); } if (prebuilt) { - filter.push(conditions.isPrebuilt()); + filter.push(searchConditions.isPrebuilt()); } if (searchTerm?.length) { - filter.push(conditions.matchTitle(searchTerm)); + filter.push(searchConditions.matchTitle(searchTerm)); } return { bool: { filter } }; } } - -const conditions = { - isFullyTranslated(): QueryDslQueryContainer { - return { term: { translation_result: SiemMigrationRuleTranslationResult.FULL } }; - }, - isNotInstalled(): QueryDslQueryContainer { - return { - nested: { - path: 'elastic_rule', - query: { bool: { must_not: { exists: { field: 'elastic_rule.id' } } } }, - }, - }; - }, - isPrebuilt(): QueryDslQueryContainer { - return { - nested: { - path: 'elastic_rule', - query: { exists: { field: 'elastic_rule.prebuilt_rule_id' } }, - }, - }; - }, - matchTitle(title: string): QueryDslQueryContainer { - return { - nested: { - path: 'elastic_rule', - query: { match: { 'elastic_rule.title': title } }, - }, - }; - }, - isInstallable(): QueryDslQueryContainer[] { - return [this.isFullyTranslated(), this.isNotInstalled()]; - }, -}; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_service.test.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_service.test.ts index f8cc0c3f1c076..e991ce2684f3e 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_service.test.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_service.test.ts @@ -42,7 +42,7 @@ describe('SiemRuleMigrationsDataService', () => { describe('constructor', () => { it('should create IndexPatternAdapters', () => { new RuleMigrationsDataService(logger, kibanaVersion); - expect(MockedIndexPatternAdapter).toHaveBeenCalledTimes(3); + expect(MockedIndexPatternAdapter).toHaveBeenCalledTimes(4); }); it('should create component templates', () => { @@ -57,6 +57,9 @@ describe('SiemRuleMigrationsDataService', () => { expect(indexPatternAdapter.setComponentTemplate).toHaveBeenCalledWith( expect.objectContaining({ name: `${INDEX_PATTERN}-integrations` }) ); + expect(indexPatternAdapter.setComponentTemplate).toHaveBeenCalledWith( + expect.objectContaining({ name: `${INDEX_PATTERN}-prebuiltrules` }) + ); }); it('should create index templates', () => { @@ -71,6 +74,9 @@ describe('SiemRuleMigrationsDataService', () => { expect(indexPatternAdapter.setIndexTemplate).toHaveBeenCalledWith( expect.objectContaining({ name: `${INDEX_PATTERN}-integrations` }) ); + expect(indexPatternAdapter.setIndexTemplate).toHaveBeenCalledWith( + expect.objectContaining({ name: `${INDEX_PATTERN}-prebuiltrules` }) + ); }); }); @@ -102,6 +108,7 @@ describe('SiemRuleMigrationsDataService', () => { rulesIndexPatternAdapter, resourcesIndexPatternAdapter, integrationsIndexPatternAdapter, + prebuiltrulesIndexPatternAdapter, ] = MockedIndexPatternAdapter.mock.instances; (rulesIndexPatternAdapter.install as jest.Mock).mockResolvedValueOnce(undefined); @@ -111,6 +118,7 @@ describe('SiemRuleMigrationsDataService', () => { await mockIndexNameProviders.rules(); await mockIndexNameProviders.resources(); await mockIndexNameProviders.integrations(); + await mockIndexNameProviders.prebuiltrules(); expect(rulesIndexPatternAdapter.createIndex).toHaveBeenCalledWith('space1'); expect(rulesIndexPatternAdapter.getIndexName).toHaveBeenCalledWith('space1'); @@ -120,6 +128,9 @@ describe('SiemRuleMigrationsDataService', () => { expect(integrationsIndexPatternAdapter.createIndex).toHaveBeenCalledWith('space1'); expect(integrationsIndexPatternAdapter.getIndexName).toHaveBeenCalledWith('space1'); + + expect(prebuiltrulesIndexPatternAdapter.createIndex).toHaveBeenCalledWith('space1'); + expect(prebuiltrulesIndexPatternAdapter.getIndexName).toHaveBeenCalledWith('space1'); }); }); }); diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_service.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_service.ts index ceff8e05f9f2f..5799e5ab84c07 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_service.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_data_service.ts @@ -10,6 +10,7 @@ import type { IndexNameProvider, IndexNameProviders } from './rule_migrations_da import { RuleMigrationsDataClient } from './rule_migrations_data_client'; import { integrationsFieldMap, + prebuiltRulesFieldMap, ruleMigrationResourcesFieldMap, ruleMigrationsFieldMap, } from './rule_migrations_field_maps'; @@ -17,7 +18,7 @@ import { const TOTAL_FIELDS_LIMIT = 2500; export const INDEX_PATTERN = '.kibana-siem-rule-migrations'; -export type AdapterId = 'rules' | 'resources' | 'integrations'; +export type AdapterId = 'rules' | 'resources' | 'integrations' | 'prebuiltrules'; interface CreateClientParams { spaceId: string; @@ -33,6 +34,7 @@ export class RuleMigrationsDataService { rules: this.createAdapter({ id: 'rules', fieldMap: ruleMigrationsFieldMap }), resources: this.createAdapter({ id: 'resources', fieldMap: ruleMigrationResourcesFieldMap }), integrations: this.createAdapter({ id: 'integrations', fieldMap: integrationsFieldMap }), + prebuiltrules: this.createAdapter({ id: 'prebuiltrules', fieldMap: prebuiltRulesFieldMap }), }; } @@ -52,6 +54,7 @@ export class RuleMigrationsDataService { this.adapters.rules.install({ ...params, logger: this.logger }), this.adapters.resources.install({ ...params, logger: this.logger }), this.adapters.integrations.install({ ...params, logger: this.logger }), + this.adapters.prebuiltrules.install({ ...params, logger: this.logger }), ]); } @@ -60,6 +63,7 @@ export class RuleMigrationsDataService { rules: this.createIndexNameProvider('rules', spaceId), resources: this.createIndexNameProvider('resources', spaceId), integrations: this.createIndexNameProvider('integrations', spaceId), + prebuiltrules: this.createIndexNameProvider('prebuiltrules', spaceId), }; return new RuleMigrationsDataClient( diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_field_maps.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_field_maps.ts index f63953192844b..952663c36123c 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_field_maps.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/data/rule_migrations_field_maps.ts @@ -19,14 +19,14 @@ export const ruleMigrationsFieldMap: FieldMap + direction === 'desc' ? '_last' : '_first'; + +const sortingOptions = { + matchedPrebuiltRule(direction: estypes.SortOrder = 'asc'): estypes.SortCombinations[] { + return [ + { + 'elastic_rule.prebuilt_rule_id': { + order: direction, + nested: { path: 'elastic_rule' }, + missing: sortMissingValue(direction), + }, + }, + ]; + }, + severity(direction: estypes.SortOrder = 'asc'): estypes.SortCombinations[] { + const field = 'elastic_rule.severity'; + return [ + { + _script: { + order: direction, + type: 'number', + script: { + source: ` + if (doc.containsKey('${field}') && !doc['${field}'].empty) { + def value = doc['${field}'].value.toLowerCase(); + if (value == 'critical') { return 3 } + if (value == 'high') { return 2 } + if (value == 'medium') { return 1 } + if (value == 'low') { return 0 } + } + return -1; + `, + lang: 'painless', + }, + nested: { path: 'elastic_rule' }, + }, + }, + ]; + }, + status(direction: estypes.SortOrder = 'asc'): estypes.SortCombinations[] { + const field = 'translation_result'; + const installedRuleField = 'elastic_rule.id'; + return [ + { + _script: { + order: direction, + type: 'number', + script: { + source: ` + if (doc.containsKey('${field}') && !doc['${field}'].empty) { + def value = doc['${field}'].value.toLowerCase(); + if (value == 'full') { return 2 } + if (value == 'partial') { return 1 } + if (value == 'untranslatable') { return 0 } + } + return -1; + `, + lang: 'painless', + }, + }, + }, + { + _script: { + order: direction, + type: 'number', + script: { + source: ` + if (doc.containsKey('${installedRuleField}') && !doc['${installedRuleField}'].empty) { + return 0; + } + return -1; + `, + lang: 'painless', + }, + nested: { path: 'elastic_rule' }, + }, + }, + ]; + }, + updated(direction: estypes.SortOrder = 'asc'): estypes.SortCombinations[] { + return [{ updated_at: direction }]; + }, + name(direction: estypes.SortOrder = 'asc'): estypes.SortCombinations[] { + return [ + { 'elastic_rule.title.keyword': { order: direction, nested: { path: 'elastic_rule' } } }, + ]; + }, +}; + +const DEFAULT_SORTING: estypes.Sort = [ + ...sortingOptions.status('desc'), + ...sortingOptions.matchedPrebuiltRule('desc'), + ...sortingOptions.severity(), + ...sortingOptions.updated(), +]; + +const sortingOptionsMap: { + [key: string]: (direction?: estypes.SortOrder) => estypes.SortCombinations[]; +} = { + 'elastic_rule.title': sortingOptions.name, + 'elastic_rule.severity': sortingOptions.severity, + 'elastic_rule.prebuilt_rule_id': sortingOptions.matchedPrebuiltRule, + translation_result: sortingOptions.status, + updated_at: sortingOptions.updated, +}; + +export const getSortingOptions = (sort?: RuleMigrationSort): estypes.Sort => { + if (!sort?.sortField) { + return DEFAULT_SORTING; + } + return sortingOptionsMap[sort.sortField]?.(sort.sortDirection) ?? DEFAULT_SORTING; +}; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/graph.test.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/graph.test.ts index eece827726a33..ba43c369c6321 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/graph.test.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/graph.test.ts @@ -12,9 +12,7 @@ import type { } from '@kbn/langchain/server/language_models'; import { loggerMock } from '@kbn/logging-mocks'; import { FakeLLM } from '@langchain/core/utils/testing'; -import type { IntegrationRetriever } from '../util/integration_retriever'; -import type { PrebuiltRulesMapByName } from '../util/prebuilt_rules'; -import type { RuleResourceRetriever } from '../util/rule_resource_retriever'; +import type { RuleMigrationsRetriever } from '../retrievers'; import { getRuleMigrationAgent } from './graph'; describe('getRuleMigrationAgent', () => { @@ -24,9 +22,7 @@ describe('getRuleMigrationAgent', () => { const inferenceClient = {} as InferenceClient; const connectorId = 'draw_graphs'; - const prebuiltRulesMap = {} as PrebuiltRulesMapByName; - const resourceRetriever = {} as RuleResourceRetriever; - const integrationRetriever = {} as IntegrationRetriever; + const ruleMigrationsRetriever = {} as RuleMigrationsRetriever; const logger = loggerMock.create(); it('Ensures that the graph compiles', async () => { @@ -34,9 +30,7 @@ describe('getRuleMigrationAgent', () => { await getRuleMigrationAgent({ model, inferenceClient, - prebuiltRulesMap, - resourceRetriever, - integrationRetriever, + ruleMigrationsRetriever, connectorId, logger, }); diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/graph.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/graph.ts index 4ce5e2d87a3fe..20b7cc6f1361d 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/graph.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/graph.ts @@ -6,7 +6,10 @@ */ import { END, START, StateGraph } from '@langchain/langgraph'; +import { getCreateSemanticQueryNode } from './nodes/create_semantic_query'; import { getMatchPrebuiltRuleNode } from './nodes/match_prebuilt_rule'; +import { getProcessQueryNode } from './nodes/process_query'; + import { migrateRuleState } from './state'; import { getTranslateRuleGraph } from './sub_graphs/translate_rule'; import type { MigrateRuleGraphParams, MigrateRuleState } from './types'; @@ -14,29 +17,37 @@ import type { MigrateRuleGraphParams, MigrateRuleState } from './types'; export function getRuleMigrationAgent({ model, inferenceClient, - prebuiltRulesMap, - resourceRetriever, - integrationRetriever, + ruleMigrationsRetriever, connectorId, logger, }: MigrateRuleGraphParams) { - const matchPrebuiltRuleNode = getMatchPrebuiltRuleNode({ model, prebuiltRulesMap }); - const translationSubGraph = getTranslateRuleGraph({ + const matchPrebuiltRuleNode = getMatchPrebuiltRuleNode({ model, + ruleMigrationsRetriever, + }); + const translationSubGraph = getTranslateRuleGraph({ inferenceClient, - resourceRetriever, - integrationRetriever, + ruleMigrationsRetriever, connectorId, logger, }); + const createSemanticQueryNode = getCreateSemanticQueryNode({ model }); + const processQueryNode = getProcessQueryNode({ model, ruleMigrationsRetriever }); const siemMigrationAgentGraph = new StateGraph(migrateRuleState) // Nodes + .addNode('processQuery', processQueryNode) + .addNode('createSemanticQuery', createSemanticQueryNode) .addNode('matchPrebuiltRule', matchPrebuiltRuleNode) .addNode('translationSubGraph', translationSubGraph) // Edges - .addEdge(START, 'matchPrebuiltRule') - .addConditionalEdges('matchPrebuiltRule', matchedPrebuiltRuleConditional) + .addEdge(START, 'processQuery') + .addEdge('processQuery', 'createSemanticQuery') + .addEdge('createSemanticQuery', 'matchPrebuiltRule') + .addConditionalEdges('matchPrebuiltRule', matchedPrebuiltRuleConditional, [ + 'translationSubGraph', + END, + ]) .addEdge('translationSubGraph', END); const graph = siemMigrationAgentGraph.compile(); diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/create_semantic_query.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/create_semantic_query.ts new file mode 100644 index 0000000000000..446b96234711a --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/create_semantic_query.ts @@ -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 { JsonOutputParser } from '@langchain/core/output_parsers'; +import type { ChatModel } from '../../../util/actions_client_chat'; +import type { GraphNode } from '../../types'; +import { CREATE_SEMANTIC_QUERY_PROMPT } from './prompts'; + +interface GetCreateSemanticQueryNodeParams { + model: ChatModel; +} + +interface GetSemanticQueryResponse { + semantic_query: string; +} + +export const getCreateSemanticQueryNode = ({ + model, +}: GetCreateSemanticQueryNodeParams): GraphNode => { + const jsonParser = new JsonOutputParser(); + const semanticQueryChain = CREATE_SEMANTIC_QUERY_PROMPT.pipe(model).pipe(jsonParser); + return async (state) => { + const query = state.original_rule.query; + const integrationQuery = (await semanticQueryChain.invoke({ + title: state.original_rule.title, + description: state.original_rule.description, + query, + })) as GetSemanticQueryResponse; + if (!integrationQuery.semantic_query) { + return {}; + } + + return { semantic_query: integrationQuery.semantic_query }; + }; +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/index.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/index.ts similarity index 78% rename from x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/index.ts rename to x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/index.ts index 482c1a58faa9c..84bf247965a26 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_relevance/components/not_found/index.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/index.ts @@ -5,4 +5,4 @@ * 2.0. */ -export { NotFound } from './not_found'; +export { getCreateSemanticQueryNode } from './create_semantic_query'; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/retrieve_integrations/prompts.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/prompts.ts similarity index 83% rename from x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/retrieve_integrations/prompts.ts rename to x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/prompts.ts index 962de190acd02..54be39eb193f7 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/retrieve_integrations/prompts.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/create_semantic_query/prompts.ts @@ -6,7 +6,6 @@ */ import { ChatPromptTemplate } from '@langchain/core/prompts'; - export const CREATE_SEMANTIC_QUERY_PROMPT = ChatPromptTemplate.fromMessages([ [ 'system', @@ -29,7 +28,7 @@ Go through the relevant title, description and data sources from the above query - The query should be short and concise. - Include keywords that are relevant to the use case. - Add related keywords you detected from the above query, like one or more vendor, product, cloud provider, OS platform etc. -- Always reply with a JSON object with the key "query" and the value as the semantic search query inside three backticks as shown in the below example. +- Always reply with a JSON object with the key "semantic_query" and the value as the semantic search query inside three backticks as shown in the below example. @@ -38,11 +37,11 @@ Title: Processes created by netsh Description: This search looks for processes launching netsh.exe to execute various commands via the netsh command-line utility. Netsh.exe is a command-line scripting utility that allows you to, either locally or remotely, display or modify the network configuration of a computer that is currently running. Netsh can be used as a persistence proxy technique to execute a helper .dll when netsh.exe is executed. In this search, we are looking for processes spawned by netsh.exe that are executing commands via the command line. Deprecated because we have another detection of the same type. Data Sources: -A: Please find the query keywords JSON object below: +A: Please find the semantic_query keywords JSON object below: \`\`\`json -{{"query": "windows host endpoint netsh.exe process creation command-line utility network configuration persistence proxy dll execution sysmon event id 1"}} +{{"semantic_query": "windows host endpoint netsh.exe process creation command-line utility network configuration persistence proxy dll execution sysmon event id 1"}} \`\`\` `, ], - ['ai', 'Please find the query keywords JSON object below:'], + ['ai', 'Please find the semantic_query keywords JSON object below:'], ]); diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/match_prebuilt_rule/match_prebuilt_rule.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/match_prebuilt_rule/match_prebuilt_rule.ts index 5900f45912599..ea403c5c4ffa7 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/match_prebuilt_rule/match_prebuilt_rule.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/match_prebuilt_rule/match_prebuilt_rule.ts @@ -7,14 +7,14 @@ import { JsonOutputParser } from '@langchain/core/output_parsers'; import { SiemMigrationRuleTranslationResult } from '../../../../../../../../common/siem_migrations/constants'; +import type { RuleMigrationsRetriever } from '../../../retrievers'; import type { ChatModel } from '../../../util/actions_client_chat'; -import { filterPrebuiltRules, type PrebuiltRulesMapByName } from '../../../util/prebuilt_rules'; import type { GraphNode } from '../../types'; import { MATCH_PREBUILT_RULE_PROMPT } from './prompts'; interface GetMatchPrebuiltRuleNodeParams { model: ChatModel; - prebuiltRulesMap: PrebuiltRulesMapByName; + ruleMigrationsRetriever: RuleMigrationsRetriever; } interface GetMatchedRuleResponse { @@ -22,40 +22,42 @@ interface GetMatchedRuleResponse { } export const getMatchPrebuiltRuleNode = - ({ model, prebuiltRulesMap }: GetMatchPrebuiltRuleNodeParams): GraphNode => + ({ model, ruleMigrationsRetriever }: GetMatchPrebuiltRuleNodeParams): GraphNode => async (state) => { - const mitreAttackIds = state.original_rule.annotations?.mitre_attack; - if (!mitreAttackIds?.length) { - return {}; - } - - const filteredPrebuiltRulesMap = filterPrebuiltRules(prebuiltRulesMap, mitreAttackIds); - if (filteredPrebuiltRulesMap.size === 0) { - return {}; - } + const query = state.semantic_query; + const techniqueIds = state.original_rule.annotations?.mitre_attack || []; + const prebuiltRules = await ruleMigrationsRetriever.prebuiltRules.getRules( + query, + techniqueIds.join(',') + ); const outputParser = new JsonOutputParser(); const matchPrebuiltRule = MATCH_PREBUILT_RULE_PROMPT.pipe(model).pipe(outputParser); - const elasticSecurityRules = [...filteredPrebuiltRulesMap.keys()].join('\n'); + const elasticSecurityRules = prebuiltRules.map((rule) => { + return { + name: rule.name, + description: rule.description, + }; + }); + const response = (await matchPrebuiltRule.invoke({ - elasticSecurityRules, + rules: JSON.stringify(elasticSecurityRules, null, 2), ruleTitle: state.original_rule.title, })) as GetMatchedRuleResponse; if (response.match) { - const result = filteredPrebuiltRulesMap.get(response.match); - if (result != null) { + const matchedRule = prebuiltRules.find((r) => r.name === response.match); + if (matchedRule) { return { elastic_rule: { - title: result.rule.name, - description: result.rule.description, - prebuilt_rule_id: result.rule.rule_id, - id: result.installedRuleId, + title: matchedRule.name, + description: matchedRule.description, + id: matchedRule.installedRuleId, + prebuilt_rule_id: matchedRule.rule_id, }, translation_result: SiemMigrationRuleTranslationResult.FULL, }; } } - return {}; }; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/match_prebuilt_rule/prompts.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/match_prebuilt_rule/prompts.ts index ab5d7383e27d4..60fea54250bb3 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/match_prebuilt_rule/prompts.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/match_prebuilt_rule/prompts.ts @@ -15,7 +15,7 @@ Here are some context for you to reference for your task, read it carefully as y -{elasticSecurityRules} +{rules} `, diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/process_query/index.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/process_query/index.ts similarity index 100% rename from x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/process_query/index.ts rename to x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/process_query/index.ts diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/process_query/process_query.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/process_query/process_query.ts similarity index 81% rename from x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/process_query/process_query.ts rename to x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/process_query/process_query.ts index ae0e93ee0c4bb..27a9bca16390d 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/process_query/process_query.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/process_query/process_query.ts @@ -7,23 +7,23 @@ import { StringOutputParser } from '@langchain/core/output_parsers'; import { isEmpty } from 'lodash/fp'; -import type { ChatModel } from '../../../../../util/actions_client_chat'; -import type { RuleResourceRetriever } from '../../../../../util/rule_resource_retriever'; +import type { RuleMigrationsRetriever } from '../../../retrievers'; +import type { ChatModel } from '../../../util/actions_client_chat'; import type { GraphNode } from '../../types'; import { REPLACE_QUERY_RESOURCE_PROMPT, getResourcesContext } from './prompts'; interface GetProcessQueryNodeParams { model: ChatModel; - resourceRetriever: RuleResourceRetriever; + ruleMigrationsRetriever: RuleMigrationsRetriever; } export const getProcessQueryNode = ({ model, - resourceRetriever, + ruleMigrationsRetriever, }: GetProcessQueryNodeParams): GraphNode => { return async (state) => { let query = state.original_rule.query; - const resources = await resourceRetriever.getResources(state.original_rule); + const resources = await ruleMigrationsRetriever.resources.getResources(state.original_rule); if (!isEmpty(resources)) { const replaceQueryParser = new StringOutputParser(); const replaceQueryResourcePrompt = diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/process_query/prompts.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/process_query/prompts.ts similarity index 98% rename from x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/process_query/prompts.ts rename to x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/process_query/prompts.ts index b4c6b0e74aaa9..be19ca8b0bf10 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/process_query/prompts.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/nodes/process_query/prompts.ts @@ -6,7 +6,7 @@ */ import { ChatPromptTemplate } from '@langchain/core/prompts'; -import type { RuleMigrationResources } from '../../../../../util/rule_resource_retriever'; +import type { RuleMigrationResources } from '../../../retrievers/rule_resource_retriever'; interface ResourceContext { macros: string; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/state.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/state.ts index 512406d6577de..edd33e2ec69b6 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/state.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/state.ts @@ -13,6 +13,7 @@ import type { OriginalRule, RuleMigration, } from '../../../../../../common/siem_migrations/model/rule_migration.gen'; +import type { Integration } from '../../types'; export const migrateRuleState = Annotation.Root({ messages: Annotation({ @@ -23,6 +24,18 @@ export const migrateRuleState = Annotation.Root({ elastic_rule: Annotation({ reducer: (state, action) => ({ ...state, ...action }), }), + semantic_query: Annotation({ + reducer: (current, value) => value ?? current, + default: () => '', + }), + inline_query: Annotation({ + reducer: (current, value) => value ?? current, + default: () => '', + }), + integrations: Annotation({ + reducer: (current, value) => value ?? current, + default: () => [], + }), translation_result: Annotation(), comments: Annotation({ reducer: (current, value) => (value ? (current ?? []).concat(value) : current), diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/graph.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/graph.ts index 32f41e54619be..267a5bb0dd520 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/graph.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/graph.ts @@ -9,7 +9,6 @@ import { END, START, StateGraph } from '@langchain/langgraph'; import { isEmpty } from 'lodash/fp'; import { SiemMigrationRuleTranslationResult } from '../../../../../../../../common/siem_migrations/constants'; import { getFixQueryErrorsNode } from './nodes/fix_query_errors'; -import { getProcessQueryNode } from './nodes/process_query'; import { getRetrieveIntegrationsNode } from './nodes/retrieve_integrations'; import { getTranslateRuleNode } from './nodes/translate_rule'; import { getValidationNode } from './nodes/validation'; @@ -20,45 +19,32 @@ import type { TranslateRuleGraphParams, TranslateRuleState } from './types'; const MAX_VALIDATION_ITERATIONS = 3; export function getTranslateRuleGraph({ - model, inferenceClient, - resourceRetriever, - integrationRetriever, connectorId, + ruleMigrationsRetriever, logger, }: TranslateRuleGraphParams) { const translateRuleNode = getTranslateRuleNode({ - model, inferenceClient, - resourceRetriever, connectorId, logger, }); - const processQueryNode = getProcessQueryNode({ - model, - resourceRetriever, - }); - const retrieveIntegrationsNode = getRetrieveIntegrationsNode({ - model, - integrationRetriever, - }); const validationNode = getValidationNode({ logger }); const fixQueryErrorsNode = getFixQueryErrorsNode({ inferenceClient, connectorId, logger }); + const retrieveIntegrationsNode = getRetrieveIntegrationsNode({ ruleMigrationsRetriever }); const translateRuleGraph = new StateGraph(translateRuleState) // Nodes - .addNode('processQuery', processQueryNode) - .addNode('retrieveIntegrations', retrieveIntegrationsNode) .addNode('translateRule', translateRuleNode) .addNode('validation', validationNode) .addNode('fixQueryErrors', fixQueryErrorsNode) + .addNode('retrieveIntegrations', retrieveIntegrationsNode) // Edges - .addEdge(START, 'processQuery') - .addEdge('processQuery', 'retrieveIntegrations') + .addEdge(START, 'retrieveIntegrations') .addEdge('retrieveIntegrations', 'translateRule') .addEdge('translateRule', 'validation') .addEdge('fixQueryErrors', 'validation') - .addConditionalEdges('validation', validationRouter); + .addConditionalEdges('validation', validationRouter, ['fixQueryErrors', END]); const graph = translateRuleGraph.compile(); graph.name = 'Translate Rule Graph'; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/retrieve_integrations/retrieve_integrations.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/retrieve_integrations/retrieve_integrations.ts index 18577532fdf66..fa5b761806b5d 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/retrieve_integrations/retrieve_integrations.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/retrieve_integrations/retrieve_integrations.ts @@ -5,38 +5,20 @@ * 2.0. */ -import { JsonOutputParser } from '@langchain/core/output_parsers'; -import type { ChatModel } from '../../../../../util/actions_client_chat'; -import type { IntegrationRetriever } from '../../../../../util/integration_retriever'; +import type { RuleMigrationsRetriever } from '../../../../../retrievers'; import type { GraphNode } from '../../types'; -import { CREATE_SEMANTIC_QUERY_PROMPT } from './prompts'; interface GetRetrieveIntegrationsNodeParams { - model: ChatModel; - integrationRetriever: IntegrationRetriever; -} - -interface GetSemanticQueryResponse { - query: string; + ruleMigrationsRetriever: RuleMigrationsRetriever; } export const getRetrieveIntegrationsNode = ({ - model, - integrationRetriever, + ruleMigrationsRetriever, }: GetRetrieveIntegrationsNodeParams): GraphNode => { - const jsonParser = new JsonOutputParser(); - const semanticQueryChain = CREATE_SEMANTIC_QUERY_PROMPT.pipe(model).pipe(jsonParser); - return async (state) => { - const query = state.inline_query; - - const integrationQuery = (await semanticQueryChain.invoke({ - title: state.original_rule.title, - description: state.original_rule.description, - query, - })) as GetSemanticQueryResponse; + const query = state.semantic_query; - const integrations = await integrationRetriever.getIntegrations(integrationQuery.query); + const integrations = await ruleMigrationsRetriever.integrations.getIntegrations(query); return { integrations, }; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/translate_rule/translate_rule.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/translate_rule/translate_rule.ts index 6ba5edee11b22..85f5e7279d2b9 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/translate_rule/translate_rule.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/nodes/translate_rule/translate_rule.ts @@ -8,17 +8,13 @@ import type { Logger } from '@kbn/core/server'; import type { InferenceClient } from '@kbn/inference-plugin/server'; import { SiemMigrationRuleTranslationResult } from '../../../../../../../../../../common/siem_migrations/constants'; -import type { ChatModel } from '../../../../../util/actions_client_chat'; import { getEsqlKnowledgeBase } from '../../../../../util/esql_knowledge_base_caller'; -import type { RuleResourceRetriever } from '../../../../../util/rule_resource_retriever'; import type { GraphNode } from '../../types'; import { SIEM_RULE_MIGRATION_CIM_ECS_MAP } from './cim_ecs_map'; import { ESQL_TRANSLATION_PROMPT } from './prompts'; interface GetTranslateRuleNodeParams { - model: ChatModel; inferenceClient: InferenceClient; - resourceRetriever: RuleResourceRetriever; connectorId: string; logger: Logger; } diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/state.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/state.ts index 391d7a54f9ea8..ac8799cb09d74 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/state.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/state.ts @@ -30,6 +30,10 @@ export const translateRuleState = Annotation.Root({ reducer: (current, value) => value ?? current, default: () => '', }), + semantic_query: Annotation({ + reducer: (current, value) => value ?? current, + default: () => '', + }), elastic_rule: Annotation({ reducer: (state, action) => ({ ...state, ...action }), default: () => ({} as ElasticRule), diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/types.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/types.ts index 44a5750812be0..eddc415f23392 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/types.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/agent/sub_graphs/translate_rule/types.ts @@ -7,9 +7,7 @@ import type { Logger } from '@kbn/core/server'; import type { InferenceClient } from '@kbn/inference-plugin/server'; -import type { ChatModel } from '../../../util/actions_client_chat'; -import type { IntegrationRetriever } from '../../../util/integration_retriever'; -import type { RuleResourceRetriever } from '../../../util/rule_resource_retriever'; +import type { RuleMigrationsRetriever } from '../../../retrievers'; import type { translateRuleState } from './state'; export type TranslateRuleState = typeof translateRuleState.State; @@ -17,10 +15,8 @@ export type GraphNode = (state: TranslateRuleState) => Promise { + return this.prebuiltRulesRetriever(semanticString, techniqueIds); + } + + private prebuiltRulesRetriever = async ( + semanticString: string, + techniqueIds: string + ): Promise => { + const rules = await this.dataClient.prebuiltRules.retrieveRules(semanticString, techniqueIds); + + return rules; + }; +} diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/retrievers/rule_migrations_retriever.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/retrievers/rule_migrations_retriever.ts new file mode 100644 index 0000000000000..22c884fa4043b --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/retrievers/rule_migrations_retriever.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 type { RuleMigrationsDataClient } from '../../data/rule_migrations_data_client'; +import { IntegrationRetriever } from './integration_retriever'; +import { PrebuiltRulesRetriever } from './prebuilt_rules_retriever'; +import { RuleResourceRetriever } from './rule_resource_retriever'; + +export class RuleMigrationsRetriever { + public readonly resources: RuleResourceRetriever; + public readonly integrations: IntegrationRetriever; + public readonly prebuiltRules: PrebuiltRulesRetriever; + + constructor(dataClient: RuleMigrationsDataClient, migrationId: string) { + this.resources = new RuleResourceRetriever(migrationId, dataClient); + this.integrations = new IntegrationRetriever(dataClient); + this.prebuiltRules = new PrebuiltRulesRetriever(dataClient); + } +} diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/rule_resource_retriever.test.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/retrievers/rule_resource_retriever.test.ts similarity index 100% rename from x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/rule_resource_retriever.test.ts rename to x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/retrievers/rule_resource_retriever.test.ts diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/rule_resource_retriever.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/retrievers/rule_resource_retriever.ts similarity index 100% rename from x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/rule_resource_retriever.ts rename to x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/retrievers/rule_resource_retriever.ts diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/rule_migrations_task_client.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/rule_migrations_task_client.ts index a6ea5c9040e16..6dbee5c64ee47 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/rule_migrations_task_client.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/rule_migrations_task_client.ts @@ -9,14 +9,15 @@ import type { AuthenticatedUser, Logger } from '@kbn/core/server'; import { AbortError, abortSignalToPromise } from '@kbn/kibana-utils-plugin/server'; import type { RunnableConfig } from '@langchain/core/runnables'; import { - SiemMigrationTaskStatus, SiemMigrationStatus, + SiemMigrationTaskStatus, } from '../../../../../common/siem_migrations/constants'; import type { RuleMigrationTaskStats } from '../../../../../common/siem_migrations/model/rule_migration.gen'; import type { RuleMigrationsDataClient } from '../data/rule_migrations_data_client'; import type { RuleMigrationDataStats } from '../data/rule_migrations_data_rules_client'; import { getRuleMigrationAgent } from './agent'; import type { MigrateRuleState } from './agent/types'; +import { RuleMigrationsRetriever } from './retrievers'; import type { MigrationAgent, RuleMigrationTaskPrepareParams, @@ -26,9 +27,6 @@ import type { RuleMigrationTaskStopResult, } from './types'; import { ActionsClientChat } from './util/actions_client_chat'; -import { IntegrationRetriever } from './util/integration_retriever'; -import { retrievePrebuiltRulesMap } from './util/prebuilt_rules'; -import { RuleResourceRetriever } from './util/rule_resource_retriever'; const ITERATION_BATCH_SIZE = 50 as const; const ITERATION_SLEEP_SECONDS = 10 as const; @@ -67,14 +65,12 @@ export class RuleMigrationsTaskClient { const abortController = new AbortController(); - // Await the preparation to make sure the agent is created properly so the task can run - const agent = await this.prepare({ ...params, abortController }); - - // not awaiting the `run` promise to execute the task in the background - this.run({ ...params, agent, abortController }).catch((err) => { - // All errors in the `run` method are already catch, this should never happen, but just in case - this.logger.error(`Unexpected error running the migration ID:${migrationId}`, err); - }); + // Retrieve agent from prepare and pass it to run right after without awaiting but using .then + this.prepare({ ...params, abortController }) + .then((agent) => this.run({ ...params, agent, abortController })) + .catch((error) => { + this.logger.error(`Error starting migration ID:${migrationId} with error:${error}`, error); + }); return { exists: true, started: true }; } @@ -88,9 +84,17 @@ export class RuleMigrationsTaskClient { soClient, abortController, }: RuleMigrationTaskPrepareParams): Promise { - const prebuiltRulesMap = await retrievePrebuiltRulesMap({ soClient, rulesClient }); - const resourceRetriever = new RuleResourceRetriever(migrationId, this.data); - const integrationRetriever = new IntegrationRetriever(this.data); + await Promise.all([ + // Populates the indices used for RAG searches on prebuilt rules and integrations. + await this.data.prebuiltRules.create({ rulesClient, soClient }), + // Will use Fleet API client for integration retrieval as an argument once feature is available + await this.data.integrations.create(), + ]).catch((error) => { + this.logger.error(`Error preparing RAG indices for migration ID:${migrationId}`, error); + throw error; + }); + + const ruleMigrationsRetriever = new RuleMigrationsRetriever(this.data, migrationId); const actionsClientChat = new ActionsClientChat(connectorId, actionsClient, this.logger); const model = await actionsClientChat.createModel({ @@ -102,9 +106,7 @@ export class RuleMigrationsTaskClient { connectorId, model, inferenceClient, - prebuiltRulesMap, - resourceRetriever, - integrationRetriever, + ruleMigrationsRetriever, logger: this.logger, }); return agent; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/prebuilt_rules.test.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/prebuilt_rules.test.ts deleted file mode 100644 index 55256d0ad0fdd..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/prebuilt_rules.test.ts +++ /dev/null @@ -1,105 +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. - */ - -import { savedObjectsClientMock } from '@kbn/core-saved-objects-api-server-mocks'; -import type { PrebuiltRulesMapByName } from './prebuilt_rules'; -import { filterPrebuiltRules, retrievePrebuiltRulesMap } from './prebuilt_rules'; -import { rulesClientMock } from '@kbn/alerting-plugin/server/mocks'; - -jest.mock( - '../../../../detection_engine/prebuilt_rules/logic/rule_objects/prebuilt_rule_objects_client', - () => ({ createPrebuiltRuleObjectsClient: jest.fn() }) -); -jest.mock( - '../../../../detection_engine/prebuilt_rules/logic/rule_assets/prebuilt_rule_assets_client', - () => ({ createPrebuiltRuleAssetsClient: jest.fn() }) -); - -const mitreAttackIds = 'T1234'; -const rule1 = { - name: 'rule one', - id: 'rule1', - threat: [ - { - framework: 'MITRE ATT&CK', - technique: [{ id: mitreAttackIds, name: 'tactic one' }], - }, - ], -}; -const rule2 = { - name: 'rule two', - id: 'rule2', -}; - -const defaultRuleVersionsTriad = new Map([ - ['rule1', { target: rule1 }], - ['rule2', { target: rule2, current: rule2 }], -]); -const mockFetchRuleVersionsTriad = jest.fn().mockResolvedValue(defaultRuleVersionsTriad); -jest.mock( - '../../../../detection_engine/prebuilt_rules/logic/rule_versions/fetch_rule_versions_triad', - () => ({ - fetchRuleVersionsTriad: () => mockFetchRuleVersionsTriad(), - }) -); - -const defaultParams = { - soClient: savedObjectsClientMock.create(), - rulesClient: rulesClientMock.create(), -}; - -describe('retrievePrebuiltRulesMap', () => { - beforeEach(() => { - jest.clearAllMocks(); - }); - - describe('when prebuilt rule is installed', () => { - it('should return isInstalled flag', async () => { - const prebuiltRulesMap = await retrievePrebuiltRulesMap(defaultParams); - expect(prebuiltRulesMap.size).toBe(2); - expect(prebuiltRulesMap.get('rule one')).toEqual( - expect.objectContaining({ installedRuleId: undefined }) - ); - expect(prebuiltRulesMap.get('rule two')).toEqual( - expect.objectContaining({ installedRuleId: rule2.id }) - ); - }); - }); -}); - -describe('filterPrebuiltRules', () => { - let prebuiltRulesMap: PrebuiltRulesMapByName; - - beforeEach(async () => { - prebuiltRulesMap = await retrievePrebuiltRulesMap(defaultParams); - jest.clearAllMocks(); - }); - - describe('when splunk rule contains empty mitreAttackIds', () => { - it('should return empty rules map', async () => { - const filteredPrebuiltRules = filterPrebuiltRules(prebuiltRulesMap, []); - expect(filteredPrebuiltRules.size).toBe(0); - }); - }); - - describe('when splunk rule does not match mitreAttackIds', () => { - it('should return empty rules map', async () => { - const filteredPrebuiltRules = filterPrebuiltRules(prebuiltRulesMap, [`${mitreAttackIds}_2`]); - expect(filteredPrebuiltRules.size).toBe(0); - }); - }); - - describe('when splunk rule contains matching mitreAttackIds', () => { - it('should return the filtered rules map', async () => { - const filteredPrebuiltRules = filterPrebuiltRules(prebuiltRulesMap, [mitreAttackIds]); - expect(filteredPrebuiltRules.size).toBe(1); - expect(filteredPrebuiltRules.get('rule one')).toEqual( - expect.objectContaining({ rule: rule1 }) - ); - }); - }); -}); diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/prebuilt_rules.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/prebuilt_rules.ts deleted file mode 100644 index ade6632aaa5b5..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/task/util/prebuilt_rules.ts +++ /dev/null @@ -1,77 +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. - */ - -import type { RulesClient } from '@kbn/alerting-plugin/server'; -import type { SavedObjectsClientContract } from '@kbn/core-saved-objects-api-server'; -import type { PrebuiltRuleAsset } from '../../../../detection_engine/prebuilt_rules'; -import { fetchRuleVersionsTriad } from '../../../../detection_engine/prebuilt_rules/logic/rule_versions/fetch_rule_versions_triad'; -import { createPrebuiltRuleObjectsClient } from '../../../../detection_engine/prebuilt_rules/logic/rule_objects/prebuilt_rule_objects_client'; -import { createPrebuiltRuleAssetsClient } from '../../../../detection_engine/prebuilt_rules/logic/rule_assets/prebuilt_rule_assets_client'; - -export interface PrebuiltRuleMapped { - rule: PrebuiltRuleAsset; - installedRuleId?: string; -} - -export type PrebuiltRulesMapByName = Map; - -interface RetrievePrebuiltRulesParams { - soClient: SavedObjectsClientContract; - rulesClient: RulesClient; -} - -export const retrievePrebuiltRulesMap = async ({ - soClient, - rulesClient, -}: RetrievePrebuiltRulesParams): Promise => { - const ruleAssetsClient = createPrebuiltRuleAssetsClient(soClient); - const ruleObjectsClient = createPrebuiltRuleObjectsClient(rulesClient); - - const prebuiltRulesMap = await fetchRuleVersionsTriad({ - ruleAssetsClient, - ruleObjectsClient, - }); - const prebuiltRulesByName: PrebuiltRulesMapByName = new Map(); - prebuiltRulesMap.forEach((ruleVersions) => { - const rule = ruleVersions.target || ruleVersions.current; - if (rule) { - prebuiltRulesByName.set(rule.name, { - rule, - installedRuleId: ruleVersions.current?.id, - }); - } - }); - return prebuiltRulesByName; -}; - -export const filterPrebuiltRules = ( - prebuiltRulesByName: PrebuiltRulesMapByName, - mitreAttackIds: string[] -) => { - const filteredPrebuiltRulesByName = new Map(); - if (mitreAttackIds?.length) { - // If this rule has MITRE ATT&CK IDs, remove unrelated prebuilt rules - prebuiltRulesByName.forEach(({ rule }, ruleName) => { - const mitreAttackThreat = rule.threat?.filter( - ({ framework }) => framework === 'MITRE ATT&CK' - ); - if (!mitreAttackThreat) { - // If this rule has no MITRE ATT&CK reference we skip it - return; - } - - const sameTechnique = mitreAttackThreat.find((threat) => - threat.technique?.some(({ id }) => mitreAttackIds?.includes(id)) - ); - - if (sameTechnique) { - filteredPrebuiltRulesByName.set(ruleName, prebuiltRulesByName.get(ruleName)); - } - }); - } - return filteredPrebuiltRulesByName; -}; diff --git a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/types.ts b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/types.ts index f8a0f0b3b25a7..f13a407ee2500 100644 --- a/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/types.ts +++ b/x-pack/plugins/security_solution/server/lib/siem_migrations/rules/types.ts @@ -22,3 +22,12 @@ export interface Integration { data_streams: Array<{ dataset: string; title: string; index_pattern: string }>; elser_embedding: string; } + +export interface RuleMigrationPrebuiltRule { + rule_id: string; + installedRuleId?: string; + name: string; + description: string; + elser_embedding: string; + mitre_attack_ids?: string[]; +} diff --git a/x-pack/plugins/security_solution/server/request_context_factory.ts b/x-pack/plugins/security_solution/server/request_context_factory.ts index c2b3782d405d0..a6b5e1b3e650a 100644 --- a/x-pack/plugins/security_solution/server/request_context_factory.ts +++ b/x-pack/plugins/security_solution/server/request_context_factory.ts @@ -237,6 +237,7 @@ export class RequestContextFactory implements IRequestContextFactory { auditLogger: getAuditLogger(), kibanaVersion: options.kibanaVersion, config: config.entityAnalytics.entityStore, + experimentalFeatures: config.experimentalFeatures, telemetry: core.analytics, }); }), diff --git a/x-pack/plugins/serverless_search/common/i18n_string.ts b/x-pack/plugins/serverless_search/common/i18n_string.ts index d77998bc8cc53..a6597ca915b60 100644 --- a/x-pack/plugins/serverless_search/common/i18n_string.ts +++ b/x-pack/plugins/serverless_search/common/i18n_string.ts @@ -51,6 +51,14 @@ export const DISABLED_LABEL: string = i18n.translate('xpack.serverlessSearch.dis defaultMessage: 'Disabled', }); +export const BETA_LABEL: string = i18n.translate('xpack.serverlessSearch.beta', { + defaultMessage: 'Beta', +}); + +export const TECH_PREVIEW_LABEL: string = i18n.translate('xpack.serverlessSearch.techPreview', { + defaultMessage: 'Tech preview', +}); + export const INVALID_JSON_ERROR: string = i18n.translate( 'xpack.serverlessSearch.invalidJsonError', { diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connection_details_panel.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connection_details_panel.tsx index 1a25b1d3c3dfa..4dc3d9db5b955 100644 --- a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connection_details_panel.tsx +++ b/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connection_details_panel.tsx @@ -53,7 +53,11 @@ elasticsearch: />
- + {codeBlock} diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/edit_service_type.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors/edit_service_type.tsx index af7e15fa372ec..ab50acbbfed2f 100644 --- a/x-pack/plugins/serverless_search/public/application/components/connectors/edit_service_type.tsx +++ b/x-pack/plugins/serverless_search/public/application/components/connectors/edit_service_type.tsx @@ -6,10 +6,30 @@ */ import { i18n } from '@kbn/i18n'; -import React from 'react'; -import { EuiFlexItem, EuiFlexGroup, EuiIcon, EuiFormRow, EuiSuperSelect } from '@elastic/eui'; +import React, { useMemo, useCallback } from 'react'; +import { + EuiFlexItem, + EuiFlexGroup, + EuiIcon, + EuiFormRow, + EuiComboBox, + EuiBadge, + EuiComboBoxOptionOption, + EuiText, + useEuiTheme, + EuiTextTruncate, + EuiBadgeGroup, +} from '@elastic/eui'; import { useMutation, useQueryClient } from '@tanstack/react-query'; -import { Connector } from '@kbn/search-connectors'; +import { Connector as BaseConnector } from '@kbn/search-connectors'; +import { css } from '@emotion/react'; +import { useAssetBasePath } from '../../hooks/use_asset_base_path'; + +import { BETA_LABEL, TECH_PREVIEW_LABEL } from '../../../../common/i18n_string'; + +interface Connector extends BaseConnector { + iconPath?: string; +} import { useKibanaServices } from '../../hooks/use_kibana'; import { useConnectorTypes } from '../../hooks/api/use_connector_types'; import { useConnector } from '../../hooks/api/use_connector'; @@ -18,6 +38,13 @@ interface EditServiceTypeProps { connector: Connector; isDisabled?: boolean; } +interface ConnectorDataSource { + _icon: React.ReactNode[]; + _badges: React.ReactNode; + serviceType: string; +} + +type ExpandedComboBoxOption = EuiComboBoxOptionOption; interface GeneratedConnectorNameResult { connectorName: string; @@ -29,30 +56,18 @@ export const EditServiceType: React.FC = ({ connector, isD const connectorTypes = useConnectorTypes(); const queryClient = useQueryClient(); const { queryKey } = useConnector(connector.id); + const assetBasePath = useAssetBasePath(); - const options = - connectorTypes.map((connectorType) => ({ - inputDisplay: ( - - - - - {connectorType.name} - - ), - value: connectorType.serviceType, - })) || []; + const allConnectors = useMemo( + () => connectorTypes.sort((a, b) => a.name.localeCompare(b.name)), + [connectorTypes] + ); const { isLoading, mutate } = useMutation({ mutationFn: async (inputServiceType: string) => { + if (inputServiceType === null || inputServiceType === '') { + return { serviceType: inputServiceType, name: connector.name }; + } const body = { service_type: inputServiceType }; await http.post(`/internal/serverless_search/connectors/${connector.id}/service_type`, { body: JSON.stringify(body), @@ -99,6 +114,104 @@ export const EditServiceType: React.FC = ({ connector, isD }, }); + const getInitialOptions = (): ExpandedComboBoxOption[] => { + return allConnectors.map((conn, key) => { + const _icon: React.ReactNode[] = []; + let _ariaLabelAppend = ''; + if (conn.isTechPreview) { + _icon.push( + + {i18n.translate( + 'xpack.serverlessSearch.connectors.chooseConnectorSelectable.thechPreviewBadgeLabel', + { defaultMessage: 'Tech preview' } + )} + + ); + _ariaLabelAppend += ` ${TECH_PREVIEW_LABEL}`; + } + if (conn.isBeta) { + _icon.push( + + {BETA_LABEL} + + ); + _ariaLabelAppend += ` ${BETA_LABEL}`; + } + return { + key: key.toString(), + label: conn.name, + value: { + _icon, + _badges: , + serviceType: conn.serviceType, + }, + 'aria-label': conn.name + _ariaLabelAppend, + }; + }); + }; + + const initialOptions = getInitialOptions(); + const { euiTheme } = useEuiTheme(); + + const renderOption = ( + option: ExpandedComboBoxOption, + searchValue: string, + contentClassName: string + ) => { + const { + value: { _icon, _badges, serviceType } = { _icon: [], _badges: null, serviceType: '' }, + key, + label, + } = option; + return ( + + {_badges} + + + + + + + {_icon} + + + ); + }; + + const onSelectedOptionChange = useCallback( + (selectedItem: Array>) => { + if (selectedItem.length === 0) { + return; + } + const keySelected = Number(selectedItem[0].key); + mutate(allConnectors[keySelected].serviceType); + }, + [mutate, allConnectors] + ); + const selectedOptions = useMemo(() => { + const selectedOption = initialOptions.find( + (option) => option.value?.serviceType === connector.service_type + ); + return selectedOption ? [selectedOption] : []; + }, [initialOptions, connector.service_type]); + return ( = ({ connector, isD data-test-subj="serverlessSearchEditConnectorType" fullWidth > - + aria-label={i18n.translate( + 'xpack.serverlessSearch.connectors.chooseConnectorSelectable.euiComboBox.accessibleScreenReaderLabelLabel', + { defaultMessage: 'Select a data source for your connector to use.' } + )} + isDisabled={Boolean(connector.service_type) || isDisabled} isLoading={isLoading} - onChange={(event) => mutate(event)} - options={options} - valueOfSelected={connector.service_type || undefined} + data-test-subj="serverlessSearchEditConnectorTypeChoices" + prepend={ + conn.serviceType === connector.service_type) + ?.iconPath ?? '' + : `${assetBasePath}/connectors.svg` + } + size="l" + /> + } + singleSelection={{ asPlainText: true }} fullWidth + placeholder={i18n.translate( + 'xpack.serverlessSearch.connectors.chooseConnectorSelectable.placeholder.text', + { defaultMessage: 'Choose a data source' } + )} + options={initialOptions} + selectedOptions={selectedOptions} + onChange={onSelectedOptionChange} + renderOption={renderOption} + rowHeight={(euiTheme.base / 2) * 5} /> ); diff --git a/x-pack/plugins/serverless_search/public/navigation_tree.ts b/x-pack/plugins/serverless_search/public/navigation_tree.ts index 524888d0d33e6..ae1d856e8f529 100644 --- a/x-pack/plugins/serverless_search/public/navigation_tree.ts +++ b/x-pack/plugins/serverless_search/public/navigation_tree.ts @@ -72,7 +72,7 @@ export const navigationTree = ({ isAppRegistered }: ApplicationStart): Navigatio title: i18n.translate('xpack.serverlessSearch.nav.devTools', { defaultMessage: 'Dev Tools', }), - link: 'dev_tools', + link: 'dev_tools:console', getIsActive: ({ pathNameSerialized, prepend }) => { return pathNameSerialized.startsWith(prepend('/app/dev_tools')); }, diff --git a/x-pack/plugins/spaces/public/management/edit_space/edit_space_content_tab.test.tsx b/x-pack/plugins/spaces/public/management/edit_space/edit_space_content_tab.test.tsx index 6f668b79756c8..5946706874c4a 100644 --- a/x-pack/plugins/spaces/public/management/edit_space/edit_space_content_tab.test.tsx +++ b/x-pack/plugins/spaces/public/management/edit_space/edit_space_content_tab.test.tsx @@ -16,6 +16,7 @@ import { overlayServiceMock, themeServiceMock, } from '@kbn/core/public/mocks'; +import { userProfileServiceMock } from '@kbn/core-user-profile-browser-mocks'; import { __IntlProvider as IntlProvider } from '@kbn/i18n-react'; import { EditSpaceContentTab } from './edit_space_content_tab'; @@ -37,6 +38,7 @@ const http = httpServiceMock.createStartContract(); const notifications = notificationServiceMock.createStartContract(); const overlays = overlayServiceMock.createStartContract(); const theme = themeServiceMock.createStartContract(); +const userProfile = userProfileServiceMock.createStart(); const i18n = i18nServiceMock.createStartContract(); const logger = loggingSystemMock.createLogger(); @@ -62,6 +64,7 @@ const TestComponent: React.FC = ({ children }) => { getPrivilegesAPIClient={getPrivilegeAPIClient} getSecurityLicense={getSecurityLicenseMock} theme={theme} + userProfile={userProfile} i18n={i18n} logger={logger} > diff --git a/x-pack/plugins/spaces/public/management/edit_space/edit_space_general_tab.test.tsx b/x-pack/plugins/spaces/public/management/edit_space/edit_space_general_tab.test.tsx index 2344b92832db6..353c64b835c0e 100644 --- a/x-pack/plugins/spaces/public/management/edit_space/edit_space_general_tab.test.tsx +++ b/x-pack/plugins/spaces/public/management/edit_space/edit_space_general_tab.test.tsx @@ -19,6 +19,7 @@ import { themeServiceMock, } from '@kbn/core/public/mocks'; import { DEFAULT_APP_CATEGORIES } from '@kbn/core-application-common'; +import { userProfileServiceMock } from '@kbn/core-user-profile-browser-mocks'; import { KibanaFeature } from '@kbn/features-plugin/common'; import { __IntlProvider as IntlProvider } from '@kbn/i18n-react'; @@ -43,6 +44,7 @@ const reloadWindow = jest.fn(); const http = httpServiceMock.createStartContract(); const notifications = notificationServiceMock.createStartContract(); const overlays = overlayServiceMock.createStartContract(); +const userProfile = userProfileServiceMock.createStart(); const theme = themeServiceMock.createStartContract(); const i18n = i18nServiceMock.createStartContract(); const logger = loggingSystemMock.createLogger(); @@ -83,6 +85,7 @@ describe('EditSpaceSettings', () => { getIsRoleManagementEnabled={() => Promise.resolve(() => undefined)} getPrivilegesAPIClient={getPrivilegeAPIClient} getSecurityLicense={getSecurityLicenseMock} + userProfile={userProfile} theme={theme} i18n={i18n} logger={logger} diff --git a/x-pack/plugins/spaces/public/management/edit_space/edit_space_roles_tab.test.tsx b/x-pack/plugins/spaces/public/management/edit_space/edit_space_roles_tab.test.tsx index 542af2222c3f1..02a754e9d93f0 100644 --- a/x-pack/plugins/spaces/public/management/edit_space/edit_space_roles_tab.test.tsx +++ b/x-pack/plugins/spaces/public/management/edit_space/edit_space_roles_tab.test.tsx @@ -16,6 +16,7 @@ import { overlayServiceMock, themeServiceMock, } from '@kbn/core/public/mocks'; +import { userProfileServiceMock } from '@kbn/core-user-profile-browser-mocks'; import { __IntlProvider as IntlProvider } from '@kbn/i18n-react'; import { EditSpaceAssignedRolesTab } from './edit_space_roles_tab'; @@ -34,6 +35,7 @@ const getPrivilegeAPIClient = getPrivilegeAPIClientMock; const http = httpServiceMock.createStartContract(); const notifications = notificationServiceMock.createStartContract(); const overlays = overlayServiceMock.createStartContract(); +const userProfile = userProfileServiceMock.createStart(); const theme = themeServiceMock.createStartContract(); const i18n = i18nServiceMock.createStartContract(); const logger = loggingSystemMock.createLogger(); @@ -77,6 +79,7 @@ describe('EditSpaceAssignedRolesTab', () => { getIsRoleManagementEnabled={getIsRoleManagementEnabled} getPrivilegesAPIClient={getPrivilegeAPIClient} getSecurityLicense={getSecurityLicenseMock} + userProfile={userProfile} theme={theme} i18n={i18n} logger={logger} diff --git a/x-pack/plugins/spaces/public/management/edit_space/edit_space_roles_tab.tsx b/x-pack/plugins/spaces/public/management/edit_space/edit_space_roles_tab.tsx index 18e11110d7564..34ebbf1989bbc 100644 --- a/x-pack/plugins/spaces/public/management/edit_space/edit_space_roles_tab.tsx +++ b/x-pack/plugins/spaces/public/management/edit_space/edit_space_roles_tab.tsx @@ -33,6 +33,7 @@ export const EditSpaceAssignedRolesTab: FC = ({ space, features, isReadOn const { getUrlForApp, overlays, + userProfile, theme, i18n: i18nStart, logger, @@ -99,7 +100,7 @@ export const EditSpaceAssignedRolesTab: FC = ({ space, features, isReadOn }} /> , - { theme, i18n: i18nStart } + { theme, i18n: i18nStart, userProfile } ), { size: 'm', @@ -117,6 +118,7 @@ export const EditSpaceAssignedRolesTab: FC = ({ space, features, isReadOn features, invokeClient, getUrlForApp, + userProfile, theme, i18nStart, notifications.toasts, diff --git a/x-pack/plugins/spaces/public/management/edit_space/provider/edit_space_provider.test.tsx b/x-pack/plugins/spaces/public/management/edit_space/provider/edit_space_provider.test.tsx index 4da9806b0dee0..df2135e256970 100644 --- a/x-pack/plugins/spaces/public/management/edit_space/provider/edit_space_provider.test.tsx +++ b/x-pack/plugins/spaces/public/management/edit_space/provider/edit_space_provider.test.tsx @@ -18,6 +18,7 @@ import { themeServiceMock, } from '@kbn/core/public/mocks'; import type { ApplicationStart } from '@kbn/core-application-browser'; +import { userProfileServiceMock } from '@kbn/core-user-profile-browser-mocks'; import { __IntlProvider as IntlProvider } from '@kbn/i18n-react'; import { @@ -33,6 +34,7 @@ import { getSecurityLicenseMock } from '../../security_license.mock'; const http = httpServiceMock.createStartContract(); const notifications = notificationServiceMock.createStartContract(); const overlays = overlayServiceMock.createStartContract(); +const userProfile = userProfileServiceMock.createStart(); const theme = themeServiceMock.createStartContract(); const i18n = i18nServiceMock.createStartContract(); const logger = loggingSystemMock.createLogger(); @@ -55,6 +57,7 @@ const SUTProvider = ({ logger, i18n, http, + userProfile, theme, overlays, notifications, diff --git a/x-pack/plugins/spaces/public/management/edit_space/provider/edit_space_provider.tsx b/x-pack/plugins/spaces/public/management/edit_space/provider/edit_space_provider.tsx index 7eafb4ae7e391..8de774797c974 100644 --- a/x-pack/plugins/spaces/public/management/edit_space/provider/edit_space_provider.tsx +++ b/x-pack/plugins/spaces/public/management/edit_space/provider/edit_space_provider.tsx @@ -35,7 +35,10 @@ import { import type { SpacesManager } from '../../../spaces_manager'; export interface EditSpaceProviderRootProps - extends Pick { + extends Pick< + CoreStart, + 'userProfile' | 'theme' | 'i18n' | 'overlays' | 'http' | 'notifications' + > { logger: Logger; capabilities: ApplicationStart['capabilities']; getUrlForApp: ApplicationStart['getUrlForApp']; diff --git a/x-pack/plugins/spaces/public/management/edit_space/roles/component/space_assign_role_privilege_form.test.tsx b/x-pack/plugins/spaces/public/management/edit_space/roles/component/space_assign_role_privilege_form.test.tsx index 5b1e263e20f16..ea24864bb092c 100644 --- a/x-pack/plugins/spaces/public/management/edit_space/roles/component/space_assign_role_privilege_form.test.tsx +++ b/x-pack/plugins/spaces/public/management/edit_space/roles/component/space_assign_role_privilege_form.test.tsx @@ -19,6 +19,7 @@ import { overlayServiceMock, themeServiceMock, } from '@kbn/core/public/mocks'; +import { userProfileServiceMock } from '@kbn/core-user-profile-browser-mocks'; import { __IntlProvider as IntlProvider } from '@kbn/i18n-react'; import type { Role, SecurityLicense } from '@kbn/security-plugin-types-common'; import { @@ -43,6 +44,7 @@ const privilegeAPIClient = createPrivilegeAPIClientMock(); const http = httpServiceMock.createStartContract(); const notifications = notificationServiceMock.createStartContract(); const overlays = overlayServiceMock.createStartContract(); +const userProfile = userProfileServiceMock.createStart(); const theme = themeServiceMock.createStartContract(); const i18n = i18nServiceMock.createStartContract(); const logger = loggingSystemMock.createLogger(); @@ -89,6 +91,7 @@ const renderPrivilegeRolesForm = ({ logger, i18n, http, + userProfile, theme, overlays, notifications, diff --git a/x-pack/plugins/spaces/public/management/spaces_management_app.test.tsx b/x-pack/plugins/spaces/public/management/spaces_management_app.test.tsx index 67973542aae54..d721ff79600c3 100644 --- a/x-pack/plugins/spaces/public/management/spaces_management_app.test.tsx +++ b/x-pack/plugins/spaces/public/management/spaces_management_app.test.tsx @@ -192,7 +192,7 @@ describe('spacesManagementApp', () => { css="You have tried to stringify object returned from \`css\` function. It isn't supposed to be used directly (e.g. as value of the \`className\` prop), but rather handed to emotion so it can handle it (e.g. as value of \`css\` prop)." data-test-subj="kbnRedirectAppLink" > - Spaces Edit Page: {"capabilities":{"catalogue":{},"management":{},"navLinks":{}},"serverBasePath":"","http":{"basePath":{"basePath":"","serverBasePath":"","assetsHrefBase":""},"anonymousPaths":{},"externalUrl":{},"staticAssets":{}},"overlays":{"banners":{}},"notifications":{"toasts":{}},"theme":{"theme$":{}},"i18n":{},"logger":{"context":[]},"spacesManager":{"onActiveSpaceChange$":{}},"spaceId":"some-space","history":{"action":"PUSH","length":1,"location":{"pathname":"/edit/some-space","search":"","hash":""}},"allowFeatureVisibility":true,"allowSolutionVisibility":true} + Spaces Edit Page: {"capabilities":{"catalogue":{},"management":{},"navLinks":{}},"serverBasePath":"","http":{"basePath":{"basePath":"","serverBasePath":"","assetsHrefBase":""},"anonymousPaths":{},"externalUrl":{},"staticAssets":{}},"overlays":{"banners":{}},"notifications":{"toasts":{}},"userProfile":{},"theme":{"theme$":{}},"i18n":{},"logger":{"context":[]},"spacesManager":{"onActiveSpaceChange$":{}},"spaceId":"some-space","history":{"action":"PUSH","length":1,"location":{"pathname":"/edit/some-space","search":"","hash":""}},"allowFeatureVisibility":true,"allowSolutionVisibility":true}
`); diff --git a/x-pack/plugins/spaces/public/management/spaces_management_app.tsx b/x-pack/plugins/spaces/public/management/spaces_management_app.tsx index 13546ef3e77f0..3e72ce63caeb9 100644 --- a/x-pack/plugins/spaces/public/management/spaces_management_app.tsx +++ b/x-pack/plugins/spaces/public/management/spaces_management_app.tsx @@ -82,7 +82,7 @@ export const spacesManagementApp = Object.freeze({ text: title, href: `/`, }; - const { notifications, application, chrome, http, overlays, theme } = coreStart; + const { notifications, application, chrome, http, overlays } = coreStart; chrome.docTitle.change(title); @@ -160,7 +160,8 @@ export const spacesManagementApp = Object.freeze({ http={http} overlays={overlays} notifications={notifications} - theme={theme} + userProfile={coreStart.userProfile} + theme={coreStart.theme} i18n={coreStart.i18n} logger={logger} spacesManager={spacesManager} diff --git a/x-pack/plugins/spaces/public/space_selector/space_selector.tsx b/x-pack/plugins/spaces/public/space_selector/space_selector.tsx index d334ee9efab35..8808aabd490aa 100644 --- a/x-pack/plugins/spaces/public/space_selector/space_selector.tsx +++ b/x-pack/plugins/spaces/public/space_selector/space_selector.tsx @@ -249,7 +249,7 @@ export class SpaceSelector extends Component { } export const renderSpaceSelectorApp = ( - services: Pick, + services: Pick, { element }: Pick, props: Props ) => { diff --git a/x-pack/plugins/spaces/tsconfig.json b/x-pack/plugins/spaces/tsconfig.json index 771f1b2e6139b..83c93cd898f10 100644 --- a/x-pack/plugins/spaces/tsconfig.json +++ b/x-pack/plugins/spaces/tsconfig.json @@ -54,7 +54,8 @@ "@kbn/core-application-browser-mocks", "@kbn/ui-theme", "@kbn/core-chrome-browser", - "@kbn/core-lifecycle-server" + "@kbn/core-lifecycle-server", + "@kbn/core-user-profile-browser-mocks", ], "exclude": [ "target/**/*", diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.test.ts b/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.test.ts index 8d1302ebcec01..b45a3df2216c9 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.test.ts +++ b/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.test.ts @@ -890,282 +890,6 @@ describe('es_query executor', () => { expect(mockSetLimitReached).toHaveBeenCalledTimes(1); expect(mockSetLimitReached).toHaveBeenCalledWith(false); }); - - it('should log messages for hits with out-of-range dates for search source', async () => { - const epoch = Date.now(); - const oneYear = 1000 * 60 * 60 * 24 * 365; - const dateEarly = new Date(epoch - oneYear).toISOString(); - const dateStart = new Date(epoch - 1000).toISOString(); - const dateMiddle = new Date(epoch - 500).toISOString(); - const dateEnd = new Date(epoch).toISOString(); - const dateLate = new Date(epoch + oneYear).toISOString(); - - function getTimeRange() { - return { dateStart, dateEnd }; - } - - mockFetchSearchSourceQuery.mockResolvedValueOnce({ - parsedResults: { - results: [ - { - group: 'all documents', - count: 3, - hits: [ - { _source: { '@timestamp': dateEarly, value: 1 } }, - { _source: { '@timestamp': dateMiddle, value: 2 } }, - { _source: { '@timestamp': dateLate, value: 3 } }, - ], - }, - ], - }, - truncated: false, - query: 'the query would go here', - }); - - const executorOptions: ExecutorOptions = { - ...defaultExecutorOptions, - getTimeRange, - params: { - ...defaultProps, - searchType: 'searchSource', - timeField: '@timestamp', - }, - }; - await executor(coreMock, executorOptions); - - const allLogCalls = loggerMock.collect(logger); - const messages: string[] = []; - for (const parms of allLogCalls.error) { - const message = parms.shift(); - messages.push(`${message}`); - } - - expect(messages).toEqual([ - `For rule 'test-rule-id', the hit with date '${dateEarly}' from field '@timestamp' is outside the query time range. Query: <\"the query would go here\">. Document: <{\"_source\":{\"@timestamp\":\"${dateEarly}\",\"value\":1}}>`, - `For rule 'test-rule-id', the hit with date '${dateLate}' from field '@timestamp' is outside the query time range. Query: <\"the query would go here\">. Document: <{\"_source\":{\"@timestamp\":\"${dateLate}\",\"value\":3}}>`, - ]); - expect(allLogCalls).toMatchInlineSnapshot(` - Object { - "debug": Array [], - "error": Array [ - Array [ - Object { - "tags": Array [ - "query-result-out-of-time-range", - ], - }, - ], - Array [ - Object { - "tags": Array [ - "query-result-out-of-time-range", - ], - }, - ], - ], - "fatal": Array [], - "info": Array [], - "log": Array [], - "trace": Array [], - "warn": Array [], - } - `); - }); - - it('should log messages for bad start / end dates for search source', async () => { - function getTimeRange() { - return { dateStart: 'x', dateEnd: 'y' }; - } - - mockFetchSearchSourceQuery.mockResolvedValueOnce({ - parsedResults: { - results: [ - { - group: 'all documents', - count: 1, - hits: [{ _source: { '@timestamp': new Date().toISOString() } }], - }, - ], - }, - truncated: false, - query: 'the query would go here', - }); - - const executorOptions: ExecutorOptions = { - ...defaultExecutorOptions, - getTimeRange, - params: { - ...defaultProps, - searchType: 'searchSource', - timeField: '@timestamp', - }, - }; - await executor(coreMock, executorOptions); - - const allLogCalls = loggerMock.collect(logger); - const messages: string[] = []; - for (const parms of allLogCalls.error) { - const message = parms.shift(); - messages.push(`${message}`); - } - - expect(messages).toEqual([ - `For rule 'test-rule-id', hits were returned with invalid time range start date 'x' from field '@timestamp' using query <"the query would go here">`, - `For rule 'test-rule-id', hits were returned with invalid time range end date 'y' from field '@timestamp' using query <"the query would go here">`, - ]); - expect(allLogCalls.error).toMatchInlineSnapshot(` - Array [ - Array [ - Object { - "tags": Array [ - "query-result-out-of-time-range", - ], - }, - ], - Array [ - Object { - "tags": Array [ - "query-result-out-of-time-range", - ], - }, - ], - ] - `); - }); - - it('should log messages for hits with out-of-range dates for query dsl', async () => { - const epoch = Date.now(); - const oneYear = 1000 * 60 * 60 * 24 * 365; - const dateEarly = new Date(epoch - oneYear).toISOString(); - const dateStart = new Date(epoch - 1000).toISOString(); - const dateMiddle = new Date(epoch - 500).toISOString(); - const dateEnd = new Date(epoch).toISOString(); - const dateLate = new Date(epoch + oneYear).toISOString(); - - function getTimeRange() { - return { dateStart, dateEnd }; - } - - mockFetchEsQuery.mockResolvedValueOnce({ - parsedResults: { - results: [ - { - group: 'all documents', - count: 3, - hits: [ - { _source: { '@timestamp': dateEarly, value: 1 } }, - { _source: { '@timestamp': dateMiddle, value: 2 } }, - { _source: { '@timestamp': dateLate, value: 3 } }, - ], - }, - ], - }, - truncated: false, - query: 'the query would go here', - }); - - const executorOptions: ExecutorOptions = { - ...defaultExecutorOptions, - getTimeRange, - params: { - ...defaultProps, - searchType: 'esQuery', - timeField: '@timestamp', - }, - }; - await executor(coreMock, executorOptions); - - const allLogCalls = loggerMock.collect(logger); - const messages: string[] = []; - for (const parms of allLogCalls.error) { - const message = parms.shift(); - messages.push(`${message}`); - } - - expect(messages).toEqual([ - `For rule 'test-rule-id', the hit with date '${dateEarly}' from field '@timestamp' is outside the query time range. Query: <\"the query would go here\">. Document: <{\"_source\":{\"@timestamp\":\"${dateEarly}\",\"value\":1}}>`, - `For rule 'test-rule-id', the hit with date '${dateLate}' from field '@timestamp' is outside the query time range. Query: <\"the query would go here\">. Document: <{\"_source\":{\"@timestamp\":\"${dateLate}\",\"value\":3}}>`, - ]); - expect(allLogCalls.error).toMatchInlineSnapshot(` - Array [ - Array [ - Object { - "tags": Array [ - "query-result-out-of-time-range", - ], - }, - ], - Array [ - Object { - "tags": Array [ - "query-result-out-of-time-range", - ], - }, - ], - ] - `); - }); - - it('should log messages for bad start / end dates for query dsl', async () => { - function getTimeRange() { - return { dateStart: 'x', dateEnd: 'y' }; - } - - mockFetchEsQuery.mockResolvedValueOnce({ - parsedResults: { - results: [ - { - group: 'all documents', - count: 1, - hits: [{ _source: { '@timestamp': new Date().toISOString() } }], - }, - ], - }, - truncated: false, - query: 'the query would go here', - }); - - const executorOptions: ExecutorOptions = { - ...defaultExecutorOptions, - getTimeRange, - params: { - ...defaultProps, - searchType: 'esQuery', - timeField: '@timestamp', - }, - }; - await executor(coreMock, executorOptions); - - const allLogCalls = loggerMock.collect(logger); - const messages: string[] = []; - for (const parms of allLogCalls.error) { - const message = parms.shift(); - messages.push(`${message}`); - } - - expect(messages).toEqual([ - `For rule 'test-rule-id', hits were returned with invalid time range start date 'x' from field '@timestamp' using query <"the query would go here">`, - `For rule 'test-rule-id', hits were returned with invalid time range end date 'y' from field '@timestamp' using query <"the query would go here">`, - ]); - expect(allLogCalls.error).toMatchInlineSnapshot(` - Array [ - Array [ - Object { - "tags": Array [ - "query-result-out-of-time-range", - ], - }, - ], - Array [ - Object { - "tags": Array [ - "query-result-out-of-time-range", - ], - }, - ], - ] - `); - }); }); describe('tryToParseAsDate', () => { diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.ts b/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.ts index 0ada7928aeda3..43d40c866ee99 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.ts +++ b/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.ts @@ -7,7 +7,7 @@ import { sha256 } from 'js-sha256'; import { i18n } from '@kbn/i18n'; -import { CoreSetup, Logger } from '@kbn/core/server'; +import { CoreSetup } from '@kbn/core/server'; import { getEcsGroups } from '@kbn/observability-alerting-rule-utils'; import { isGroupAggregation, UngroupedGroupId } from '@kbn/triggers-actions-ui-plugin/common'; import { @@ -18,8 +18,6 @@ import { } from '@kbn/rule-data-utils'; import { AlertsClientError } from '@kbn/alerting-plugin/server'; -import { get } from 'lodash'; -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import { ComparatorFns } from '../../../common'; import { @@ -77,7 +75,7 @@ export async function executor(core: CoreSetup, options: ExecutorOptions>, - timeField: string | undefined, - dateStart: string, - dateEnd: string, - query: unknown -) { - if (!timeField) return; - - const epochStart = new Date(dateStart).getTime(); - const epochEnd = new Date(dateEnd).getTime(); - const messageMeta = { tags: ['query-result-out-of-time-range'] }; - - const messagePrefix = `For rule '${ruleId}'`; - const usingQuery = `using query <${JSON.stringify(query)}>`; - const hitsWereReturned = 'hits were returned with invalid time range'; - - let errors = 0; - if (isNaN(epochStart)) { - errors++; - logger.error( - `${messagePrefix}, ${hitsWereReturned} start date '${dateStart}' from field '${timeField}' ${usingQuery}`, - messageMeta - ); - } - - if (isNaN(epochEnd)) { - errors++; - logger.error( - `${messagePrefix}, ${hitsWereReturned} end date '${dateEnd}' from field '${timeField}' ${usingQuery}`, - messageMeta - ); - } - - if (errors > 0) return; - - const outsideTimeRange = 'outside the query time range'; - - for (const hit of hits) { - const dateVal = get(hit, [`_source`, timeField]); - const epochDate = getEpochDateFromString(dateVal); - - if (epochDate) { - if (epochDate < epochStart || epochDate > epochEnd) { - const message = `the hit with date '${dateVal}' from field '${timeField}' is ${outsideTimeRange}`; - const queryString = `Query: <${JSON.stringify(query)}>`; - const document = `Document: <${JSON.stringify(hit)}>`; - logger.error(`${messagePrefix}, ${message}. ${queryString}. ${document}`, messageMeta); - } - } - } -} - -function getEpochDateFromString(dateString: string): number | null { - let date: Date; - try { - date = new Date(dateString); - } catch (e) { - return null; - } - - const time = date.getTime(); - if (!isNaN(time)) return time; - - // if not a valid date string, try it as a stringified number - const dateNum = parseInt(dateString, 10); - if (isNaN(dateNum)) return null; - - const timeFromNumber = new Date(dateNum).getTime(); - if (isNaN(timeFromNumber)) return null; - - return timeFromNumber; -} - export function getValidTimefieldSort( sortValues: Array = [] ): undefined | string { diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts b/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts index 1e6c9a498c0ad..b42076952b87a 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts +++ b/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_es_query.ts @@ -156,7 +156,6 @@ export async function fetchEsQuery({ sourceFieldsParams: params.sourceFields, }), link, - query: sortedQuery, index: params.index, }; } diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts b/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts index f017ee0f63aed..44f5a66f68c22 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts +++ b/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_esql_query.ts @@ -70,7 +70,6 @@ export async function fetchEsqlQuery({ return { link, - query, numMatches: Number(response.values.length), parsedResults: parseAggregationResults({ isCountAgg: true, diff --git a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts b/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts index 564e5cfeb58c6..7bc119dae7ed4 100644 --- a/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts +++ b/x-pack/plugins/stack_alerts/server/rule_types/es_query/lib/fetch_search_source_query.ts @@ -121,7 +121,6 @@ export async function fetchSearchSourceQuery({ termField: params.termField, }), index: [index.name], - query: searchRequestBody, }; } diff --git a/x-pack/plugins/streams/server/lib/streams/stream_crud.ts b/x-pack/plugins/streams/server/lib/streams/stream_crud.ts index 452b0f40cb38e..c158280bec161 100644 --- a/x-pack/plugins/streams/server/lib/streams/stream_crud.ts +++ b/x-pack/plugins/streams/server/lib/streams/stream_crud.ts @@ -7,6 +7,7 @@ import { IScopedClusterClient } from '@kbn/core-elasticsearch-server'; import { Logger } from '@kbn/logging'; +import { IndicesDataStream } from '@elastic/elasticsearch/lib/api/types'; import { STREAMS_INDEX } from '../../../common/constants'; import { FieldDefinition, StreamDefinition } from '../../../common/types'; import { generateLayer } from './component_templates/generate_layer'; @@ -173,60 +174,67 @@ export async function readDataStreamAsStream({ scopedClusterClient, skipAccessCheck, }: ReadStreamParams) { - const response = await scopedClusterClient.asInternalUser.indices.getDataStream({ name: id }); - if (response.data_streams.length === 1) { - const definition: StreamDefinition = { - id, - managed: false, - children: [], - fields: [], - processing: [], - }; - if (!skipAccessCheck) { - const hasAccess = await checkReadAccess({ id, scopedClusterClient }); - if (!hasAccess) { - throw new DefinitionNotFound(`Stream definition for ${id} not found.`); - } + let dataStream: IndicesDataStream; + try { + const response = await scopedClusterClient.asInternalUser.indices.getDataStream({ name: id }); + dataStream = response.data_streams[0]; + } catch (e) { + if (e.meta?.statusCode === 404) { + throw new DefinitionNotFound(`Stream definition for ${id} not found.`); } - // retrieve linked index template, component template and ingest pipeline - const templateName = response.data_streams[0].template; - const componentTemplates: string[] = []; - const template = await scopedClusterClient.asInternalUser.indices.getIndexTemplate({ - name: templateName, - }); - if (template.index_templates.length) { - template.index_templates[0].index_template.composed_of.forEach((componentTemplateName) => { - componentTemplates.push(componentTemplateName); - }); + throw e; + } + + const definition: StreamDefinition = { + id, + managed: false, + children: [], + fields: [], + processing: [], + }; + if (!skipAccessCheck) { + const hasAccess = await checkReadAccess({ id, scopedClusterClient }); + if (!hasAccess) { + throw new DefinitionNotFound(`Stream definition for ${id} not found.`); } - const writeIndexName = response.data_streams[0].indices.at(-1)?.index_name!; - const currentIndex = await scopedClusterClient.asInternalUser.indices.get({ - index: writeIndexName, + } + // retrieve linked index template, component template and ingest pipeline + const templateName = dataStream.template; + const componentTemplates: string[] = []; + const template = await scopedClusterClient.asInternalUser.indices.getIndexTemplate({ + name: templateName, + }); + if (template.index_templates.length) { + template.index_templates[0].index_template.composed_of.forEach((componentTemplateName) => { + componentTemplates.push(componentTemplateName); }); - const ingestPipelineId = currentIndex[writeIndexName].settings?.index?.default_pipeline!; + } + const writeIndexName = dataStream.indices.at(-1)?.index_name!; + const currentIndex = await scopedClusterClient.asInternalUser.indices.get({ + index: writeIndexName, + }); + const ingestPipelineId = currentIndex[writeIndexName].settings?.index?.default_pipeline!; - definition.unmanaged_elasticsearch_assets = [ - { - type: 'ingest_pipeline', - id: ingestPipelineId, - }, - ...componentTemplates.map((componentTemplateName) => ({ - type: 'component_template' as const, - id: componentTemplateName, - })), - { - type: 'index_template', - id: templateName, - }, - { - type: 'data_stream', - id, - }, - ]; + definition.unmanaged_elasticsearch_assets = [ + { + type: 'ingest_pipeline', + id: ingestPipelineId, + }, + ...componentTemplates.map((componentTemplateName) => ({ + type: 'component_template' as const, + id: componentTemplateName, + })), + { + type: 'index_template', + id: templateName, + }, + { + type: 'data_stream', + id, + }, + ]; - return { definition }; - } - throw new DefinitionNotFound(`Stream definition for ${id} not found.`); + return { definition }; } interface ReadAncestorsParams extends BaseParams { diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json index d5b0514b64918..06c19e82e6532 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json @@ -1,3 +1,104 @@ { - "properties": {} + "properties": { + "ml": { + "properties": { + "alertRules": { + "properties": { + "xpack.ml.anomaly_detection_alert": { + "properties": { + "count_by_result_type": { + "properties": { + "record": { + "type": "long", + "_meta": { + "description": "total number of alerting rules using record result type" + } + }, + "influencer": { + "type": "long", + "_meta": { + "description": "total number of alerting rules using influencer result type" + } + }, + "bucket": { + "type": "long", + "_meta": { + "description": "total number of alerting rules using bucket result type" + } + } + } + } + } + }, + "xpack.ml.anomaly_detection_jobs_health": { + "properties": { + "count_by_check_type": { + "properties": { + "datafeed": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the not started datafeed health check" + } + }, + "mml": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the model memory limit health check" + } + }, + "delayedData": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the delayed data health check" + } + }, + "errorMessages": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the error messages health check" + } + } + } + } + } + } + } + } + } + }, + "transform": { + "properties": { + "alertRules": { + "properties": { + "transform_health": { + "properties": { + "count_by_check_type": { + "properties": { + "notStarted": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the not started health check" + } + }, + "errorMessages": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the error message health check" + } + }, + "healthCheck": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the health check with the stats API" + } + } + } + } + } + } + } + } + } + } + } } diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index b086844792217..eb9150f8482e2 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -14875,72 +14875,6 @@ } } }, - "ml": { - "properties": { - "alertRules": { - "properties": { - "xpack.ml.anomaly_detection_alert": { - "properties": { - "count_by_result_type": { - "properties": { - "record": { - "type": "long", - "_meta": { - "description": "total number of alerting rules using record result type" - } - }, - "influencer": { - "type": "long", - "_meta": { - "description": "total number of alerting rules using influencer result type" - } - }, - "bucket": { - "type": "long", - "_meta": { - "description": "total number of alerting rules using bucket result type" - } - } - } - } - } - }, - "xpack.ml.anomaly_detection_jobs_health": { - "properties": { - "count_by_check_type": { - "properties": { - "datafeed": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the not started datafeed health check" - } - }, - "mml": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the model memory limit health check" - } - }, - "delayedData": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the delayed data health check" - } - }, - "errorMessages": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the error messages health check" - } - } - } - } - } - } - } - } - } - }, "monitoring": { "properties": { "hasMonitoringData": { @@ -20145,40 +20079,6 @@ } } }, - "transform": { - "properties": { - "alertRules": { - "properties": { - "transform_health": { - "properties": { - "count_by_check_type": { - "properties": { - "notStarted": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the not started health check" - } - }, - "errorMessages": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the error message health check" - } - }, - "healthCheck": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the health check with the stats API" - } - } - } - } - } - } - } - } - } - }, "upgrade-assistant-telemetry": { "properties": { "features": { diff --git a/x-pack/plugins/transform/jest.config.js b/x-pack/plugins/transform/jest.config.js deleted file mode 100644 index 2732cd66e2c94..0000000000000 --- a/x-pack/plugins/transform/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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/transform'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/transform', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/transform/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index 397c73a512c10..81298783701e2 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -18243,9 +18243,6 @@ "xpack.enterpriseSearch.indexOverview.indexErrors.modelNotDeployedError": "Le modèle {modelId} pour le point de terminaison d'inférence {inferenceId} dans le champ {fieldName} n'a pas été démarré", "xpack.enterpriseSearch.indexOverview.indexErrors.showErrorsLabel": "Afficher l'erreur en intégralité", "xpack.enterpriseSearch.indexOverview.indexErrors.title": "L'index comporte des erreurs", - "xpack.enterpriseSearch.inferenceEndpoints.description": "Gérez vos points de terminaison d'inférence pour la recherche sémantique et les cas d'utilisation de l'IA.", - "xpack.enterpriseSearch.inferenceEndpoints.navTitle": "Pertinence", - "xpack.enterpriseSearch.inferenceEndpoints.productName": "Points de terminaison d'inférence", "xpack.enterpriseSearch.inferencePipelineCard.action.delete": "Supprimer un pipeline", "xpack.enterpriseSearch.inferencePipelineCard.action.delete.disabledDescription": "Ce pipeline d'inférence ne peut pas être supprimé car il est utilisé dans plusieurs pipelines [{indexReferences}]. Pour le supprimer, vous devez le détacher des autres pipelines pour ne garder qu'un seul pipeline d'ingestion.", "xpack.enterpriseSearch.inferencePipelineCard.action.detach": "Détacher le pipeline", @@ -18341,7 +18338,6 @@ "xpack.enterpriseSearch.navigation.contentConnectorsLinkLabel": "Connecteurs", "xpack.enterpriseSearch.navigation.contentIndicesLinkLabel": "Index", "xpack.enterpriseSearch.navigation.contentWebcrawlersLinkLabel": "Robots d'indexation", - "xpack.enterpriseSearch.navigation.relevanceInferenceEndpointsLinkLabel": "Points de terminaison d'inférence", "xpack.enterpriseSearch.notFound.action1": "Retour à votre tableau de bord", "xpack.enterpriseSearch.notFound.action2": "Contacter le support technique", "xpack.enterpriseSearch.notFound.description": "Impossible de trouver la page que vous recherchez.", @@ -18386,7 +18382,6 @@ "xpack.enterpriseSearch.productSelector.overview.title": "Ingérer votre contenu", "xpack.enterpriseSearch.productSelectorCalloutTitle": "Mettez à niveau pour obtenir des fonctionnalités de niveau entreprise pour votre équipe", "xpack.enterpriseSearch.readOnlyMode.warning": "Enterprise Search est en mode de lecture seule. Vous ne pourrez pas effectuer de changements tels que création, modification ou suppression.", - "xpack.enterpriseSearch.relevance.inferenceEndpoints.breadcrumb": "Points de terminaison d'inférence", "xpack.enterpriseSearch.required": "Obligatoire", "xpack.enterpriseSearch.researchConfiguration.euiText.checkRequirementsLabel": "Vérifier les exigences", "xpack.enterpriseSearch.researchConfiguration.p.referToTheDocumentationLabel": "Consultez la documentation de ce connecteur pour en apprendre plus sur les prérequis de connexion à {serviceType} ainsi que les prérequis de configuration.", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 37f24051c6001..ca80aaa127e32 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -18103,8 +18103,6 @@ "xpack.enterpriseSearch.indexOverview.indexErrors.modelNotDeployedError": "フィールド{fieldName}で推論エンドポイント{inferenceId}のモデル{modelId}は開始されていません。", "xpack.enterpriseSearch.indexOverview.indexErrors.showErrorsLabel": "完全なエラーを表示", "xpack.enterpriseSearch.indexOverview.indexErrors.title": "インデックスにはエラーがあります", - "xpack.enterpriseSearch.inferenceEndpoints.description": "セマンティック検索やAIのユースケースに対応する推論エンドポイントを管理します。", - "xpack.enterpriseSearch.inferenceEndpoints.productName": "推論エンドポイント", "xpack.enterpriseSearch.inferencePipelineCard.action.delete": "パイプラインを削除", "xpack.enterpriseSearch.inferencePipelineCard.action.delete.disabledDescription": "この推論パイプラインは削除できません。複数のパイプライン[{indexReferences}]で使用されています。削除する前に、1つのインジェストパイプライン以外のすべてからこのパイプラインをデタッチする必要があります。", "xpack.enterpriseSearch.inferencePipelineCard.action.detach": "パイプラインのデタッチ", @@ -18199,7 +18197,6 @@ "xpack.enterpriseSearch.navigation.contentConnectorsLinkLabel": "コネクター", "xpack.enterpriseSearch.navigation.contentIndicesLinkLabel": "インデックス", "xpack.enterpriseSearch.navigation.contentWebcrawlersLinkLabel": "Webクローラー", - "xpack.enterpriseSearch.navigation.relevanceInferenceEndpointsLinkLabel": "推論エンドポイント", "xpack.enterpriseSearch.notFound.action1": "ダッシュボードに戻す", "xpack.enterpriseSearch.notFound.action2": "サポートに問い合わせる", "xpack.enterpriseSearch.notFound.description": "お探しのページは見つかりませんでした。", @@ -18244,7 +18241,6 @@ "xpack.enterpriseSearch.productSelector.overview.title": "データをインジェスト", "xpack.enterpriseSearch.productSelectorCalloutTitle": "チームのためのエンタープライズレベルの機能を実現できるようにアップグレード", "xpack.enterpriseSearch.readOnlyMode.warning": "エンタープライズ サーチは読み取り専用モードです。作成、編集、削除などの変更を実行できません。", - "xpack.enterpriseSearch.relevance.inferenceEndpoints.breadcrumb": "推論エンドポイント", "xpack.enterpriseSearch.required": "必須", "xpack.enterpriseSearch.researchConfiguration.euiText.checkRequirementsLabel": "要件を確認", "xpack.enterpriseSearch.researchConfiguration.p.referToTheDocumentationLabel": "{serviceType}に接続するための前提条件と構成要件については、このコネクターのドキュメントを参照してください。", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 67f0cee7591ff..31eb102ba6780 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -17800,9 +17800,6 @@ "xpack.enterpriseSearch.indexOverview.indexErrors.modelNotDeployedError": "字段 {fieldName} 中用于推理终端 {inferenceId} 的模型 {modelId} 尚未启动", "xpack.enterpriseSearch.indexOverview.indexErrors.showErrorsLabel": "显示完整错误", "xpack.enterpriseSearch.indexOverview.indexErrors.title": "索引包含错误", - "xpack.enterpriseSearch.inferenceEndpoints.description": "管理您用于语义搜索和 AI 用例的推理终端。", - "xpack.enterpriseSearch.inferenceEndpoints.navTitle": "相关性", - "xpack.enterpriseSearch.inferenceEndpoints.productName": "推理终端", "xpack.enterpriseSearch.inferencePipelineCard.action.delete": "删除管道", "xpack.enterpriseSearch.inferencePipelineCard.action.delete.disabledDescription": "无法删除此推理管道,因为它已用在多个管道中 [{indexReferences}]。您必须将此管道从所有管道(一个采集管道除外)分离,然后才能将其删除。", "xpack.enterpriseSearch.inferencePipelineCard.action.detach": "分离管道", @@ -17897,7 +17894,6 @@ "xpack.enterpriseSearch.navigation.contentConnectorsLinkLabel": "连接器", "xpack.enterpriseSearch.navigation.contentIndicesLinkLabel": "索引", "xpack.enterpriseSearch.navigation.contentWebcrawlersLinkLabel": "网络爬虫", - "xpack.enterpriseSearch.navigation.relevanceInferenceEndpointsLinkLabel": "推理终端", "xpack.enterpriseSearch.notFound.action1": "返回到您的仪表板", "xpack.enterpriseSearch.notFound.action2": "联系支持人员", "xpack.enterpriseSearch.notFound.description": "找不到您要查找的页面。", @@ -17942,7 +17938,6 @@ "xpack.enterpriseSearch.productSelector.overview.title": "采集您的内容", "xpack.enterpriseSearch.productSelectorCalloutTitle": "进行升级以便为您的团队获取企业级功能", "xpack.enterpriseSearch.readOnlyMode.warning": "企业搜索处于只读模式。您将无法执行更改,例如创建、编辑或删除。", - "xpack.enterpriseSearch.relevance.inferenceEndpoints.breadcrumb": "推理终端", "xpack.enterpriseSearch.required": "必需", "xpack.enterpriseSearch.researchConfiguration.euiText.checkRequirementsLabel": "检查要求", "xpack.enterpriseSearch.researchConfiguration.p.referToTheDocumentationLabel": "请参阅此连接器的文档了解连接到 {serviceType} 的先决条件和配置要求。", diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts b/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts index b3d95828a3449..e160ac37a9e34 100644 --- a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts +++ b/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts @@ -26,6 +26,7 @@ import { esIndicesStateCheck } from '../es_indices_state_check'; import { versionService } from '../version'; import { ReindexService, reindexServiceFactory } from './reindex_service'; +import { error } from './error'; const asApiResponse = (body: T): TransportResult => ({ @@ -111,7 +112,7 @@ describe('reindexService', () => { }, { names: ['.tasks'], - privileges: ['read', 'delete'], + privileges: ['read'], }, ], }, @@ -141,7 +142,7 @@ describe('reindexService', () => { }, { names: ['.tasks'], - privileges: ['read', 'delete'], + privileges: ['read'], }, ], }, @@ -611,11 +612,11 @@ describe('reindexService', () => { }); }); - it('fails if docs created is less than count in source index', async () => { + it('does not throw if task doc deletion returns a bad result', async () => { clusterClient.asCurrentUser.tasks.get.mockResponseOnce({ completed: true, // @ts-expect-error not full interface - task: { status: { created: 95, total: 95 } }, + task: { status: { created: 100, total: 100 } }, }); clusterClient.asCurrentUser.count.mockResponseOnce( @@ -625,11 +626,51 @@ describe('reindexService', () => { } ); + clusterClient.asCurrentUser.delete.mockResponseOnce({ + // @ts-expect-error not known result + result: '!?', + }); + const updatedOp = await service.processNextStep(reindexOp); - expect(updatedOp.attributes.lastCompletedStep).toEqual(ReindexStep.reindexStarted); - expect(updatedOp.attributes.status).toEqual(ReindexStatus.failed); - expect(updatedOp.attributes.errorMessage).not.toBeNull(); - expect(log.error).toHaveBeenCalledWith(expect.any(String)); + expect(updatedOp.attributes.lastCompletedStep).toEqual(ReindexStep.reindexCompleted); + expect(updatedOp.attributes.reindexTaskPercComplete).toEqual(1); + expect(clusterClient.asCurrentUser.delete).toHaveBeenCalledWith({ + index: '.tasks', + id: 'xyz', + }); + expect(log.warn).toHaveBeenCalledTimes(1); + expect(log.warn).toHaveBeenCalledWith( + error.reindexTaskCannotBeDeleted( + `Could not delete reindexing task xyz, got response "!?"` + ) + ); + }); + + it('does not throw if task doc deletion throws', async () => { + clusterClient.asCurrentUser.tasks.get.mockResponseOnce({ + completed: true, + // @ts-expect-error not full interface + task: { status: { created: 100, total: 100 } }, + }); + + clusterClient.asCurrentUser.count.mockResponseOnce( + // @ts-expect-error not full interface + { + count: 100, + } + ); + + clusterClient.asCurrentUser.delete.mockRejectedValue(new Error('FAILED!')); + + const updatedOp = await service.processNextStep(reindexOp); + expect(updatedOp.attributes.lastCompletedStep).toEqual(ReindexStep.reindexCompleted); + expect(updatedOp.attributes.reindexTaskPercComplete).toEqual(1); + expect(clusterClient.asCurrentUser.delete).toHaveBeenCalledWith({ + index: '.tasks', + id: 'xyz', + }); + expect(log.warn).toHaveBeenCalledTimes(1); + expect(log.warn).toHaveBeenCalledWith(new Error('FAILED!')); }); }); diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts b/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts index aac7b49c609f5..ce1f19f6babb5 100644 --- a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts +++ b/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts @@ -308,14 +308,21 @@ export const reindexServiceFactory = ( }); } - // Delete the task from ES .tasks index - const deleteTaskResp = await esClient.delete({ - index: '.tasks', - id: taskId, - }); - - if (deleteTaskResp.result !== 'deleted') { - throw error.reindexTaskCannotBeDeleted(`Could not delete reindexing task ${taskId}`); + try { + // Delete the task from ES .tasks index + const deleteTaskResp = await esClient.delete({ + index: '.tasks', + id: taskId, + }); + if (deleteTaskResp.result !== 'deleted') { + log.warn( + error.reindexTaskCannotBeDeleted( + `Could not delete reindexing task ${taskId}, got response "${deleteTaskResp.result}"` + ) + ); + } + } catch (e) { + log.warn(e); } return reindexOp; @@ -396,24 +403,21 @@ export const reindexServiceFactory = ( names.push(sourceName); } - // Otherwise, query for required privileges for this index. - const body = { - cluster: ['manage'], - index: [ - { - names, - allow_restricted_indices: true, - privileges: ['all'], - }, - { - names: ['.tasks'], - privileges: ['read', 'delete'], - }, - ], - } as any; - const resp = await esClient.security.hasPrivileges({ - body, + body: { + cluster: ['manage'], + index: [ + { + names, + allow_restricted_indices: true, + privileges: ['all'], + }, + { + names: ['.tasks'], + privileges: ['read'], + }, + ], + }, }); return resp.has_all_requested; diff --git a/x-pack/test/api_integration/apis/security/privileges.ts b/x-pack/test/api_integration/apis/security/privileges.ts index c59fe61e7e1d1..47ac08fd06716 100644 --- a/x-pack/test/api_integration/apis/security/privileges.ts +++ b/x-pack/test/api_integration/apis/security/privileges.ts @@ -62,7 +62,18 @@ export default function ({ getService }: FtrProviderContext) { slo: ['all', 'read', 'minimal_all', 'minimal_read'], searchPlayground: ['all', 'read', 'minimal_all', 'minimal_read'], searchInferenceEndpoints: ['all', 'read', 'minimal_all', 'minimal_read'], - fleetv2: ['all', 'read', 'minimal_all', 'minimal_read'], + fleetv2: [ + 'all', + 'read', + 'minimal_all', + 'minimal_read', + 'agents_all', + 'agents_read', + 'agent_policies_all', + 'agent_policies_read', + 'settings_all', + 'settings_read', + ], fleet: ['all', 'read', 'minimal_all', 'minimal_read'], actions: ['all', 'read', 'minimal_all', 'minimal_read'], stackAlerts: ['all', 'read', 'minimal_all', 'minimal_read'], diff --git a/x-pack/test/api_integration/apis/security/privileges_basic.ts b/x-pack/test/api_integration/apis/security/privileges_basic.ts index 37db0e71030af..cc313fe5cfe66 100644 --- a/x-pack/test/api_integration/apis/security/privileges_basic.ts +++ b/x-pack/test/api_integration/apis/security/privileges_basic.ts @@ -149,7 +149,18 @@ export default function ({ getService }: FtrProviderContext) { slo: ['all', 'read', 'minimal_all', 'minimal_read'], searchPlayground: ['all', 'read', 'minimal_all', 'minimal_read'], searchInferenceEndpoints: ['all', 'read', 'minimal_all', 'minimal_read'], - fleetv2: ['all', 'read', 'minimal_all', 'minimal_read'], + fleetv2: [ + 'agent_policies_all', + 'agent_policies_read', + 'agents_all', + 'agents_read', + 'all', + 'minimal_all', + 'minimal_read', + 'read', + 'settings_all', + 'settings_read', + ], fleet: ['all', 'read', 'minimal_all', 'minimal_read'], actions: ['all', 'read', 'minimal_all', 'minimal_read'], stackAlerts: ['all', 'read', 'minimal_all', 'minimal_read'], diff --git a/x-pack/test/api_integration/apis/streams/flush_config.ts b/x-pack/test/api_integration/apis/streams/flush_config.ts new file mode 100644 index 0000000000000..f3fa79e92d457 --- /dev/null +++ b/x-pack/test/api_integration/apis/streams/flush_config.ts @@ -0,0 +1,161 @@ +/* + * 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 expect from '@kbn/expect'; +import { SearchTotalHits } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { deleteStream, enableStreams, indexDocument } from './helpers/requests'; +import { FtrProviderContext } from '../../ftr_provider_context'; +import { waitForDocumentInIndex } from '../../../alerting_api_integration/observability/helpers/alerting_wait_for_helpers'; +import { cleanUpRootStream } from './helpers/cleanup'; + +const streams = [ + { + processing: [], + fields: [ + { + name: '@timestamp', + type: 'date', + }, + { + name: 'message', + type: 'match_only_text', + }, + { + name: 'host.name', + type: 'keyword', + }, + { + name: 'log.level', + type: 'keyword', + }, + ], + children: [ + { + id: 'logs.test', + condition: { + and: [ + { + field: 'numberfield', + operator: 'gt', + value: 15, + }, + ], + }, + }, + { + id: 'logs.test2', + condition: { + and: [ + { + field: 'field2', + operator: 'eq', + value: 'abc', + }, + ], + }, + }, + ], + id: 'logs', + }, + { + id: 'logs.test', + processing: [], + fields: [], + children: [], + }, + { + id: 'logs.test2', + processing: [ + { + config: { + type: 'grok', + field: 'message', + patterns: ['%{NUMBER:numberfield}'], + }, + }, + ], + fields: [ + { + name: 'numberfield', + type: 'long', + }, + ], + children: [], + }, +]; + +export default function ({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + const esClient = getService('es'); + const retryService = getService('retry'); + const logger = getService('log'); + + // An anticipated use case is that a user will want to flush a tree of streams from a config file + describe('Flush from config file', () => { + after(async () => { + await deleteStream(supertest, 'logs.nginx'); + await cleanUpRootStream(esClient); + }); + + // Note: Each step is dependent on the previous + it('Enable streams', async () => { + await enableStreams(supertest); + }); + + it('PUTs all streams one by one without errors', async () => { + for (const { id: streamId, ...stream } of streams) { + const response = await supertest + .put(`/api/streams/${streamId}`) + .set('kbn-xsrf', 'xxx') + .send(stream) + .expect(200); + + expect(response.body).to.have.property('acknowledged', true); + } + }); + + it('send data and it is handled properly', async () => { + // send data that stays in logs + const doc = { + '@timestamp': '2024-01-01T00:00:00.000Z', + message: 'test', + 'log.level': 'info', + }; + const response = await indexDocument(esClient, 'logs', doc); + expect(response.result).to.eql('created'); + await waitForDocumentInIndex({ esClient, indexName: 'logs', retryService, logger }); + + // send data that lands in logs.test + const doc2 = { + '@timestamp': '2024-01-01T00:00:00.000Z', + message: 'test', + numberfield: 20, + }; + const response2 = await indexDocument(esClient, 'logs', doc2); + expect(response2.result).to.eql('created'); + await waitForDocumentInIndex({ esClient, indexName: 'logs.test', retryService, logger }); + + // send data that lands in logs.test2 + const doc3 = { + '@timestamp': '2024-01-01T00:00:00.000Z', + message: '123', + field2: 'abc', + }; + const response3 = await indexDocument(esClient, 'logs', doc3); + expect(response3.result).to.eql('created'); + await waitForDocumentInIndex({ esClient, indexName: 'logs.test2', retryService, logger }); + }); + + it('makes data searchable as expected', async () => { + const query = { + match: { numberfield: 123 }, + }; + const response = await esClient.search({ index: 'logs.test2', query }); + expect((response.hits.total as SearchTotalHits).value).to.eql(1); + }); + }); +} diff --git a/x-pack/test/api_integration/apis/streams/index.ts b/x-pack/test/api_integration/apis/streams/index.ts index e51d63ac2ae9b..4ef3fce385248 100644 --- a/x-pack/test/api_integration/apis/streams/index.ts +++ b/x-pack/test/api_integration/apis/streams/index.ts @@ -11,5 +11,6 @@ export default function ({ loadTestFile }: FtrProviderContext) { describe('Streams Endpoints', () => { loadTestFile(require.resolve('./full_flow')); loadTestFile(require.resolve('./enrichment')); + loadTestFile(require.resolve('./flush_config')); }); } diff --git a/x-pack/test/functional_gen_ai/inference/tests/index.ts b/x-pack/test/functional_gen_ai/inference/tests/index.ts index 65d93647511a1..36cf2bbaffa14 100644 --- a/x-pack/test/functional_gen_ai/inference/tests/index.ts +++ b/x-pack/test/functional_gen_ai/inference/tests/index.ts @@ -11,8 +11,7 @@ import { chatCompleteSuite } from './chat_complete'; // eslint-disable-next-line import/no-default-export export default function (providerContext: FtrProviderContext) { - // Failing: See https://github.com/elastic/kibana/issues/203205 - describe.skip('Inference plugin - API integration tests', async () => { + describe('Inference plugin - API integration tests', async () => { getAvailableConnectors().forEach((connector) => { describe(`Connector ${connector.id}`, () => { chatCompleteSuite(connector, providerContext); diff --git a/x-pack/test/observability_ai_assistant_api_integration/common/create_llm_proxy.ts b/x-pack/test/observability_ai_assistant_api_integration/common/create_llm_proxy.ts index 7337fb8f6e5b2..e18bf7e46c3fd 100644 --- a/x-pack/test/observability_ai_assistant_api_integration/common/create_llm_proxy.ts +++ b/x-pack/test/observability_ai_assistant_api_integration/common/create_llm_proxy.ts @@ -35,9 +35,17 @@ export interface LlmResponseSimulator { | string | { content?: string; - function_call?: { name: string; arguments: string }; + tool_calls?: Array<{ + id: string; + index: string; + function?: { + name: string; + arguments: string; + }; + }>; } ) => Promise; + tokenCount: (msg: { completion: number; prompt: number; total: number }) => Promise; error: (error: any) => Promise; complete: () => Promise; rawWrite: (chunk: string) => Promise; @@ -158,6 +166,17 @@ export class LlmProxy { Connection: 'keep-alive', }); }), + tokenCount: (msg) => { + const chunk = { + object: 'chat.completion.chunk', + usage: { + completion_tokens: msg.completion, + prompt_tokens: msg.prompt, + total_tokens: msg.total, + }, + }; + return write(`data: ${JSON.stringify(chunk)}\n\n`); + }, next: (msg) => { const chunk = createOpenAiChunk(msg); return write(`data: ${JSON.stringify(chunk)}\n\n`); @@ -201,6 +220,7 @@ export class LlmProxy { for (const chunk of parsedChunks) { await simulator.next(chunk); } + await simulator.tokenCount({ completion: 1, prompt: 1, total: 1 }); await simulator.complete(); }, } as any; diff --git a/x-pack/test/observability_ai_assistant_api_integration/common/create_openai_chunk.ts b/x-pack/test/observability_ai_assistant_api_integration/common/create_openai_chunk.ts index 3d7c64537ee5f..a10fa11a7ed5f 100644 --- a/x-pack/test/observability_ai_assistant_api_integration/common/create_openai_chunk.ts +++ b/x-pack/test/observability_ai_assistant_api_integration/common/create_openai_chunk.ts @@ -5,12 +5,12 @@ * 2.0. */ -import { CreateChatCompletionResponseChunk } from '@kbn/observability-ai-assistant-plugin/server/service/client/adapters/process_openai_stream'; import { v4 } from 'uuid'; +import type OpenAI from 'openai'; export function createOpenAiChunk( msg: string | { content?: string; function_call?: { name: string; arguments?: string } } -): CreateChatCompletionResponseChunk { +): OpenAI.ChatCompletionChunk { msg = typeof msg === 'string' ? { content: msg } : msg; return { diff --git a/x-pack/test/observability_ai_assistant_api_integration/tests/chat/chat.spec.ts b/x-pack/test/observability_ai_assistant_api_integration/tests/chat/chat.spec.ts index cedd4c286dc1a..b1865f944f6a1 100644 --- a/x-pack/test/observability_ai_assistant_api_integration/tests/chat/chat.spec.ts +++ b/x-pack/test/observability_ai_assistant_api_integration/tests/chat/chat.spec.ts @@ -101,9 +101,11 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); for (let i = 0; i < NUM_RESPONSES; i++) { - await simulator.next(`Part: i\n`); + await simulator.next(`Part: ${i}\n`); } + await simulator.tokenCount({ completion: 20, prompt: 33, total: 53 }); + await simulator.complete(); await new Promise((innerResolve) => passThrough.on('end', () => innerResolve())); @@ -135,7 +137,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { ]); }); - it('returns a useful error if the request fails', async () => { + it.skip('returns a useful error if the request fails', async () => { const interceptor = proxy.intercept('conversation', () => true); const passThrough = new PassThrough(); diff --git a/x-pack/test/observability_ai_assistant_api_integration/tests/complete/complete.spec.ts b/x-pack/test/observability_ai_assistant_api_integration/tests/complete/complete.spec.ts index 86e357e2e7760..ad4808ed8f03b 100644 --- a/x-pack/test/observability_ai_assistant_api_integration/tests/complete/complete.spec.ts +++ b/x-pack/test/observability_ai_assistant_api_integration/tests/complete/complete.spec.ts @@ -98,6 +98,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { await titleSimulator.status(200); await titleSimulator.next('My generated title'); + await titleSimulator.tokenCount({ completion: 5, prompt: 10, total: 15 }); await titleSimulator.complete(); await conversationSimulator.status(200); @@ -153,6 +154,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { await simulator.rawWrite(`data: ${chunk.substring(0, 10)}`); await simulator.rawWrite(`${chunk.substring(10)}\n\n`); + await simulator.tokenCount({ completion: 20, prompt: 33, total: 53 }); await simulator.complete(); await new Promise((resolve) => passThrough.on('end', () => resolve())); @@ -163,6 +165,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { StreamingChatResponseEventType.MessageAdd, StreamingChatResponseEventType.MessageAdd, StreamingChatResponseEventType.ChatCompletionChunk, + StreamingChatResponseEventType.ChatCompletionMessage, StreamingChatResponseEventType.MessageAdd, ]); @@ -230,6 +233,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { events = await getEvents({}, async (conversationSimulator) => { await conversationSimulator.next('Hello'); await conversationSimulator.next(' again'); + await conversationSimulator.tokenCount({ completion: 0, prompt: 0, total: 0 }); await conversationSimulator.complete(); }); }); @@ -248,6 +252,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, }); expect(omit(events[2], 'id', 'message.@timestamp')).to.eql({ + type: StreamingChatResponseEventType.ChatCompletionMessage, + message: { + content: 'Hello again', + }, + }); + expect(omit(events[3], 'id', 'message.@timestamp')).to.eql({ type: StreamingChatResponseEventType.MessageAdd, message: { message: { @@ -264,7 +274,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { expect( omit( - events[3], + events[4], 'conversation.id', 'conversation.last_updated', 'conversation.token_count' @@ -276,7 +286,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, }); - const tokenCount = (events[3] as ConversationCreateEvent).conversation.token_count!; + const tokenCount = (events[4] as ConversationCreateEvent).conversation.token_count!; expect(tokenCount.completion).to.be.greaterThan(0); expect(tokenCount.prompt).to.be.greaterThan(0); @@ -330,8 +340,18 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, async (conversationSimulator) => { await conversationSimulator.next({ - function_call: { name: 'my_action', arguments: JSON.stringify({ foo: 'bar' }) }, + tool_calls: [ + { + id: 'fake-id', + index: 'fake-index', + function: { + name: 'my_action', + arguments: JSON.stringify({ foo: 'bar' }), + }, + }, + ], }); + await conversationSimulator.tokenCount({ completion: 0, prompt: 0, total: 0 }); await conversationSimulator.complete(); } ); diff --git a/x-pack/test/observability_ai_assistant_api_integration/tests/public_complete/public_complete.spec.ts b/x-pack/test/observability_ai_assistant_api_integration/tests/public_complete/public_complete.spec.ts index bb8984256f27c..a46266f1b4d06 100644 --- a/x-pack/test/observability_ai_assistant_api_integration/tests/public_complete/public_complete.spec.ts +++ b/x-pack/test/observability_ai_assistant_api_integration/tests/public_complete/public_complete.spec.ts @@ -95,6 +95,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { await titleSimulator.status(200); await titleSimulator.next('My generated title'); + await titleSimulator.tokenCount({ completion: 0, prompt: 0, total: 0 }); await titleSimulator.complete(); await conversationSimulator.status(200); @@ -112,7 +113,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { conversationSimulatorCallback: ConversationSimulatorCallback ) { const responseBody = await getResponseBody(options, conversationSimulatorCallback); - return responseBody .split('\n') .map((line) => line.trim()) @@ -165,8 +165,18 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, async (conversationSimulator) => { await conversationSimulator.next({ - function_call: { name: 'my_action', arguments: JSON.stringify({ foo: 'bar' }) }, + tool_calls: [ + { + id: 'fake-id', + index: 'fake-index', + function: { + name: 'my_action', + arguments: JSON.stringify({ foo: 'bar' }), + }, + }, + ], }); + await conversationSimulator.tokenCount({ completion: 0, prompt: 0, total: 0 }); await conversationSimulator.complete(); } ); @@ -208,19 +218,43 @@ export default function ApiTest({ getService }: FtrProviderContext) { instruction_type: 'user_instruction', }, ], + actions: [ + { + name: 'my_action', + description: 'My action', + parameters: { + type: 'object', + properties: { + foo: { + type: 'string', + }, + }, + }, + }, + ], }, async (conversationSimulator) => { body = conversationSimulator.body; await conversationSimulator.next({ - function_call: { name: 'my_action', arguments: JSON.stringify({ foo: 'bar' }) }, + tool_calls: [ + { + id: 'fake-id', + index: 'fake-index', + function: { + name: 'my_action', + arguments: JSON.stringify({ foo: 'bar' }), + }, + }, + ], }); + await conversationSimulator.tokenCount({ completion: 0, prompt: 0, total: 0 }); await conversationSimulator.complete(); } ); }); - it('includes the instruction in the system message', async () => { + it.skip('includes the instruction in the system message', async () => { expect(body.messages[0].content).to.contain('This is a random instruction'); }); }); @@ -231,6 +265,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { responseBody = await getOpenAIResponse(async (conversationSimulator) => { await conversationSimulator.next('Hello'); + await conversationSimulator.tokenCount({ completion: 5, prompt: 10, total: 15 }); await conversationSimulator.complete(); }); }); diff --git a/x-pack/test/observability_ai_assistant_functional/tests/conversations/index.spec.ts b/x-pack/test/observability_ai_assistant_functional/tests/conversations/index.spec.ts index 6d509a77b42f7..d3208e5f1ff56 100644 --- a/x-pack/test/observability_ai_assistant_functional/tests/conversations/index.spec.ts +++ b/x-pack/test/observability_ai_assistant_functional/tests/conversations/index.spec.ts @@ -274,10 +274,14 @@ export default function ApiTest({ getService, getPageObjects }: FtrProviderConte await titleSimulator.next('My title'); + await titleSimulator.tokenCount({ completion: 1, prompt: 1, total: 2 }); + await titleSimulator.complete(); await conversationSimulator.next('My response'); + await conversationSimulator.tokenCount({ completion: 1, prompt: 1, total: 2 }); + await conversationSimulator.complete(); await header.waitUntilLoadingHasFinished(); @@ -344,6 +348,8 @@ export default function ApiTest({ getService, getPageObjects }: FtrProviderConte await conversationSimulator.next('My second response'); + await conversationSimulator.tokenCount({ completion: 1, prompt: 1, total: 2 }); + await conversationSimulator.complete(); await header.waitUntilLoadingHasFinished(); @@ -450,6 +456,9 @@ export default function ApiTest({ getService, getPageObjects }: FtrProviderConte await conversationSimulator.next( 'Service Level Indicators (SLIs) are quantifiable defined metrics that measure the performance and availability of a service or distributed system.' ); + + await conversationSimulator.tokenCount({ completion: 1, prompt: 1, total: 2 }); + await conversationSimulator.complete(); await header.waitUntilLoadingHasFinished(); diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/common/observability_ai_assistant_api_client.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/common/observability_ai_assistant_api_client.ts index bd54243ab93f6..3ac941501ae7c 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/common/observability_ai_assistant_api_client.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/common/observability_ai_assistant_api_client.ts @@ -15,37 +15,47 @@ import supertest from 'supertest'; import { Subtract } from 'utility-types'; import { format } from 'url'; import { Config } from '@kbn/test'; +import { SupertestWithRoleScope } from '@kbn/test-suites-xpack/api_integration/deployment_agnostic/services/role_scoped_supertest'; import { InheritedFtrProviderContext } from '../../../../services'; import type { InternalRequestHeader, RoleCredentials } from '../../../../../shared/services'; export function getObservabilityAIAssistantApiClient({ svlSharedConfig, + supertestUserWithCookieCredentials, }: { svlSharedConfig: Config; + supertestUserWithCookieCredentials?: SupertestWithRoleScope; }) { - const kibanaServer = svlSharedConfig.get('servers.kibana'); - const cAuthorities = svlSharedConfig.get('servers.kibana.certificateAuthorities'); - - const url = format({ - ...kibanaServer, - auth: false, // don't use auth in serverless - }); - - return createObservabilityAIAssistantApiClient(supertest.agent(url, { ca: cAuthorities })); + if (supertestUserWithCookieCredentials) { + return createObservabilityAIAssistantApiClient(supertestUserWithCookieCredentials); + } else { + const kibanaServer = svlSharedConfig.get('servers.kibana'); + const cAuthorities = svlSharedConfig.get('servers.kibana.certificateAuthorities'); + + const url = format({ + ...kibanaServer, + auth: false, // don't use auth in serverless + }); + return createObservabilityAIAssistantApiClient(supertest.agent(url, { ca: cAuthorities })); + } } -type ObservabilityAIAssistantApiClientKey = 'slsUser'; +type ObservabilityAIAssistantApiClientKey = 'slsAdmin' | 'slsEditor' | 'slsUser'; + export type ObservabilityAIAssistantApiClient = Record< ObservabilityAIAssistantApiClientKey, Awaited> >; -export function createObservabilityAIAssistantApiClient(st: supertest.Agent) { + +export function createObservabilityAIAssistantApiClient( + st: SupertestWithRoleScope | supertest.Agent +) { return ( options: { type?: 'form-data'; endpoint: TEndpoint; - roleAuthc: RoleCredentials; - internalReqHeader: InternalRequestHeader; + roleAuthc?: RoleCredentials; + internalReqHeader?: InternalRequestHeader; } & ObservabilityAIAssistantAPIClientRequestParamsOf & { params?: { query?: { _inspect?: boolean } }; } @@ -57,7 +67,8 @@ export function createObservabilityAIAssistantApiClient(st: supertest.Agent) { const { method, pathname, version } = formatRequest(endpoint, params.path); const url = format({ pathname, query: params?.query }); - const headers: Record = { ...internalReqHeader, ...roleAuthc.apiKeyHeader }; + const headers: Record = + roleAuthc && internalReqHeader ? { ...internalReqHeader, ...roleAuthc.apiKeyHeader } : {}; if (version) { headers['Elastic-Api-Version'] = version; @@ -182,10 +193,34 @@ export async function getObservabilityAIAssistantApiClientService({ getService, }: InheritedFtrProviderContext): Promise { const svlSharedConfig = getService('config'); - // defaults to elastic_admin user when used without auth + const roleScopedSupertest = getService('roleScopedSupertest'); + + const supertestAdminWithCookieCredentials: SupertestWithRoleScope = + await roleScopedSupertest.getSupertestWithRoleScope('admin', { + useCookieHeader: true, + withInternalHeaders: true, + }); + + const supertestEditorWithCookieCredentials: SupertestWithRoleScope = + await roleScopedSupertest.getSupertestWithRoleScope('editor', { + useCookieHeader: true, + withInternalHeaders: true, + }); + return { + // defaults to elastic_admin user when used without auth slsUser: await getObservabilityAIAssistantApiClient({ svlSharedConfig, }), + // cookie auth for internal apis + slsAdmin: await getObservabilityAIAssistantApiClient({ + svlSharedConfig, + supertestUserWithCookieCredentials: supertestAdminWithCookieCredentials, + }), + // cookie auth for internal apis + slsEditor: await getObservabilityAIAssistantApiClient({ + svlSharedConfig, + supertestUserWithCookieCredentials: supertestEditorWithCookieCredentials, + }), }; } diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/chat/chat.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/chat/chat.spec.ts index 582f544c7dbfa..2a25a309e8174 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/chat/chat.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/chat/chat.spec.ts @@ -12,6 +12,7 @@ import { LlmProxy, createLlmProxy, } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/common/create_llm_proxy'; +import { SupertestWithRoleScope } from '@kbn/test-suites-xpack/api_integration/deployment_agnostic/services/role_scoped_supertest'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { createProxyActionConnector, deleteActionConnector } from '../../common/action_connectors'; import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; @@ -21,6 +22,9 @@ export default function ApiTest({ getService }: FtrProviderContext) { const svlUserManager = getService('svlUserManager'); const svlCommonApi = getService('svlCommonApi'); const log = getService('log'); + const roleScopedSupertest = getService('roleScopedSupertest'); + + let supertestEditorWithCookieCredentials: SupertestWithRoleScope; const CHAT_API_URL = `/internal/observability_ai_assistant/chat`; @@ -52,6 +56,15 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('editor'); internalReqHeader = svlCommonApi.getInternalRequestHeader(); + + supertestEditorWithCookieCredentials = await roleScopedSupertest.getSupertestWithRoleScope( + 'editor', + { + useCookieHeader: true, + withInternalHeaders: true, + } + ); + proxy = await createLlmProxy(log); connectorId = await createProxyActionConnector({ supertest: supertestWithoutAuth, @@ -75,10 +88,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it("returns a 4xx if the connector doesn't exist", async () => { - await supertestWithoutAuth + await supertestEditorWithCookieCredentials .post(CHAT_API_URL) - .set(roleAuthc.apiKeyHeader) - .set(internalReqHeader) .send({ name: 'my_api_call', messages, @@ -104,10 +115,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { const receivedChunks: Array> = []; const passThrough = new PassThrough(); - supertestWithoutAuth + supertestEditorWithCookieCredentials .post(CHAT_API_URL) - .set(roleAuthc.apiKeyHeader) - .set(internalReqHeader) .on('error', reject) .send({ name: 'my_api_call', @@ -125,9 +134,11 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); for (let i = 0; i < NUM_RESPONSES; i++) { - await simulator.next(`Part: i\n`); + await simulator.next(`Part: ${i}\n`); } + await simulator.tokenCount({ completion: 20, prompt: 33, total: 53 }); + await simulator.complete(); await new Promise((innerResolve) => passThrough.on('end', () => innerResolve())); @@ -159,7 +170,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { ]); }); - it('returns a useful error if the request fails', async () => { + it.skip('returns a useful error if the request fails', async () => { const interceptor = proxy.intercept('conversation', () => true); const passThrough = new PassThrough(); diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/complete.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/complete.spec.ts index cd6ebf4923ab6..5081d6b12879b 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/complete.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/complete.spec.ts @@ -25,6 +25,7 @@ import { LlmResponseSimulator, } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/common/create_llm_proxy'; import { createOpenAiChunk } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/common/create_openai_chunk'; +import { SupertestWithRoleScope } from '@kbn/test-suites-xpack/api_integration/deployment_agnostic/services/role_scoped_supertest'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { decodeEvents, @@ -39,6 +40,9 @@ export default function ApiTest({ getService }: FtrProviderContext) { const log = getService('log'); const svlUserManager = getService('svlUserManager'); const svlCommonApi = getService('svlCommonApi'); + const roleScopedSupertest = getService('roleScopedSupertest'); + + let supertestEditorWithCookieCredentials: SupertestWithRoleScope; const observabilityAIAssistantAPIClient = getService('observabilityAIAssistantAPIClient'); @@ -63,7 +67,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, ]; - describe('/internal/observability_ai_assistant/chat/complete', function () { + // Failing: See https://github.com/elastic/kibana/issues/203407 + describe.skip('/internal/observability_ai_assistant/chat/complete', function () { // TODO: https://github.com/elastic/kibana/issues/192751 this.tags(['skipMKI']); let proxy: LlmProxy; @@ -82,10 +87,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { (body) => !isFunctionTitleRequest(body) ); const responsePromise = new Promise((resolve, reject) => { - supertestWithoutAuth + supertestEditorWithCookieCredentials .post(COMPLETE_API_URL) - .set(roleAuthc.apiKeyHeader) - .set(internalReqHeader) .send({ messages, connectorId, @@ -134,6 +137,14 @@ export default function ApiTest({ getService }: FtrProviderContext) { roleAuthc, internalReqHeader, }); + + supertestEditorWithCookieCredentials = await roleScopedSupertest.getSupertestWithRoleScope( + 'editor', + { + useCookieHeader: true, + withInternalHeaders: true, + } + ); }); after(async () => { @@ -155,10 +166,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { const passThrough = new PassThrough(); - supertestWithoutAuth + supertestEditorWithCookieCredentials .post(COMPLETE_API_URL) - .set(roleAuthc.apiKeyHeader) - .set(internalReqHeader) .send({ messages, connectorId, @@ -179,6 +188,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { await simulator.rawWrite(`data: ${chunk.substring(0, 10)}`); await simulator.rawWrite(`${chunk.substring(10)}\n\n`); + await simulator.tokenCount({ completion: 20, prompt: 33, total: 53 }); await simulator.complete(); await new Promise((resolve) => passThrough.on('end', () => resolve())); @@ -193,6 +203,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { StreamingChatResponseEventType.MessageAdd, StreamingChatResponseEventType.MessageAdd, StreamingChatResponseEventType.ChatCompletionChunk, + StreamingChatResponseEventType.ChatCompletionMessage, StreamingChatResponseEventType.MessageAdd, ]); @@ -252,6 +263,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, }); }); + describe('when creating a new conversation', () => { let events: StreamingChatResponseEvent[]; @@ -259,6 +271,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { events = await getEvents({}, async (conversationSimulator) => { await conversationSimulator.next('Hello'); await conversationSimulator.next(' again'); + await conversationSimulator.tokenCount({ completion: 1, prompt: 1, total: 2 }); await conversationSimulator.complete(); }); }); @@ -270,13 +283,21 @@ export default function ApiTest({ getService }: FtrProviderContext) { content: 'Hello', }, }); + expect(omit(events[1], 'id')).to.eql({ type: StreamingChatResponseEventType.ChatCompletionChunk, message: { content: ' again', }, }); + expect(omit(events[2], 'id', 'message.@timestamp')).to.eql({ + type: StreamingChatResponseEventType.ChatCompletionMessage, + message: { + content: 'Hello again', + }, + }); + expect(omit(events[3], 'id', 'message.@timestamp')).to.eql({ type: StreamingChatResponseEventType.MessageAdd, message: { message: { @@ -293,7 +314,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { expect( omit( - events[3], + events[4], 'conversation.id', 'conversation.last_updated', 'conversation.token_count' @@ -305,7 +326,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, }); - const tokenCount = (events[3] as ConversationCreateEvent).conversation.token_count!; + const tokenCount = (events[4] as ConversationCreateEvent).conversation.token_count!; expect(tokenCount.completion).to.be.greaterThan(0); expect(tokenCount.prompt).to.be.greaterThan(0); @@ -320,10 +341,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { )[0]?.conversation.id; await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/conversation/{conversationId}', - roleAuthc, - internalReqHeader, params: { path: { conversationId: createdConversationId, @@ -361,8 +380,18 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, async (conversationSimulator) => { await conversationSimulator.next({ - function_call: { name: 'my_action', arguments: JSON.stringify({ foo: 'bar' }) }, + tool_calls: [ + { + id: 'fake-id', + index: 'fake-index', + function: { + name: 'my_action', + arguments: JSON.stringify({ foo: 'bar' }), + }, + }, + ], }); + await conversationSimulator.tokenCount({ completion: 1, prompt: 1, total: 1 }); await conversationSimulator.complete(); } ); @@ -398,10 +427,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { ).to.eql(0); const conversations = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/conversations', - roleAuthc, - internalReqHeader, }) .expect(200); @@ -430,10 +457,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { .completeAfterIntercept(); const createResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/chat/complete', - roleAuthc, - internalReqHeader, params: { body: { messages, @@ -451,10 +476,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { conversationCreatedEvent = getConversationCreatedEvent(createResponse.body); const conversationId = conversationCreatedEvent.conversation.id; - const fullConversation = await observabilityAIAssistantAPIClient.slsUser({ + const fullConversation = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId, @@ -467,10 +490,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { .completeAfterIntercept(); const updatedResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/chat/complete', - internalReqHeader, - roleAuthc, params: { body: { messages: [ @@ -500,10 +521,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { after(async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: conversationCreatedEvent.conversation.id, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/elasticsearch.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/elasticsearch.spec.ts index 4ba276333cc55..c0eca93351b49 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/elasticsearch.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/elasticsearch.spec.ts @@ -63,8 +63,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { const responseBody = await invokeChatCompleteWithFunctionRequest({ connectorId, observabilityAIAssistantAPIClient, - internalReqHeader, - roleAuthc, functionCall: { name: ELASTICSEARCH_FUNCTION_NAME, trigger: MessageRole.User, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/helpers.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/helpers.ts index 758046de72f2b..4203a2312ce5d 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/helpers.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/helpers.ts @@ -13,7 +13,6 @@ import { } from '@kbn/observability-ai-assistant-plugin/common'; import type { AssistantScope } from '@kbn/ai-assistant-common'; import { Readable } from 'stream'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../../shared/services'; import { ObservabilityAIAssistantApiClient } from '../../../common/observability_ai_assistant_api_client'; function decodeEvents(body: Readable | string) { @@ -34,22 +33,16 @@ export async function invokeChatCompleteWithFunctionRequest({ connectorId, observabilityAIAssistantAPIClient, functionCall, - roleAuthc, - internalReqHeader, scopes, }: { connectorId: string; observabilityAIAssistantAPIClient: ObservabilityAIAssistantApiClient; functionCall: Message['message']['function_call']; scopes?: AssistantScope[]; - roleAuthc: RoleCredentials; - internalReqHeader: InternalRequestHeader; }) { const { body } = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/chat/complete', - internalReqHeader, - roleAuthc, params: { body: { messages: [ diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/summarize.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/summarize.spec.ts index 6be39a36c62a5..f949268aa730a 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/summarize.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/summarize.spec.ts @@ -53,8 +53,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { await invokeChatCompleteWithFunctionRequest({ connectorId, observabilityAIAssistantAPIClient, - internalReqHeader, - roleAuthc, functionCall: { name: 'summarize', trigger: MessageRole.User, @@ -77,10 +75,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('persists entry in knowledge base', async () => { - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', - internalReqHeader, - roleAuthc, params: { query: { query: '', diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/connectors/connectors.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/connectors/connectors.spec.ts index 9305c0d1e14e9..2096abe74e2e8 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/connectors/connectors.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/connectors/connectors.spec.ts @@ -24,6 +24,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { describe('List connectors', () => { let roleAuthc: RoleCredentials; let internalReqHeader: InternalRequestHeader; + before(async () => { roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('editor'); internalReqHeader = svlCommonApi.getInternalRequestHeader(); @@ -45,19 +46,15 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('Returns a 2xx for enterprise license', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/connectors', - roleAuthc, - internalReqHeader, }) .expect(200); }); it('returns an empty list of connectors', async () => { - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/connectors', - roleAuthc, - internalReqHeader, }); expect(res.body.length).to.be(0); @@ -72,10 +69,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { roleAuthc, }); - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/connectors', - internalReqHeader, - roleAuthc, }); expect(res.body.length).to.be(1); diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/conversations.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/conversations.spec.ts index b4426744e4082..7033e0660f5c6 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/conversations.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/conversations.spec.ts @@ -14,12 +14,9 @@ import { } from '@kbn/observability-ai-assistant-plugin/common/types'; import type { FtrProviderContext } from '../../common/ftr_provider_context'; import type { SupertestReturnType } from '../../common/observability_ai_assistant_api_client'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; export default function ApiTest({ getService }: FtrProviderContext) { const observabilityAIAssistantAPIClient = getService('observabilityAIAssistantAPIClient'); - const svlUserManager = getService('svlUserManager'); - const svlCommonApi = getService('svlCommonApi'); const conversationCreate: ConversationCreateRequest = { '@timestamp': new Date().toISOString(), @@ -48,22 +45,11 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); describe('Conversations', () => { - let roleAuthc: RoleCredentials; - let internalReqHeader: InternalRequestHeader; - before(async () => { - roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('editor'); - internalReqHeader = svlCommonApi.getInternalRequestHeader(); - }); - after(async () => { - await svlUserManager.invalidateM2mApiKeyWithRoleScope(roleAuthc); - }); describe('without conversations', () => { it('returns no conversations when listing', async () => { const response = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/conversations', - internalReqHeader, - roleAuthc, }) .expect(200); @@ -72,10 +58,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns a 404 for updating conversations', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: 'non-existing-conversation-id', @@ -90,10 +74,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns a 404 for retrieving a conversation', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: 'my-conversation-id', @@ -108,12 +90,11 @@ export default function ApiTest({ getService }: FtrProviderContext) { let createResponse: Awaited< SupertestReturnType<'POST /internal/observability_ai_assistant/conversation'> >; + before(async () => { createResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/conversation', - roleAuthc, - internalReqHeader, params: { body: { conversation: conversationCreate, @@ -125,10 +106,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { after(async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: createResponse.body.conversation.id, @@ -138,10 +117,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { .expect(200); await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: createResponse.body.conversation.id, @@ -150,6 +127,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }) .expect(404); }); + it('returns the conversation', function () { // delete user from response to avoid comparing it as it will be different in MKI delete createResponse.body.user; @@ -170,10 +148,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns a 404 for updating a non-existing conversation', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/conversation/{conversationId}', - roleAuthc, - internalReqHeader, params: { path: { conversationId: 'non-existing-conversation-id', @@ -188,10 +164,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns a 404 for retrieving a non-existing conversation', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - roleAuthc, - internalReqHeader, params: { path: { conversationId: 'non-existing-conversation-id', @@ -203,10 +177,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns the conversation that was created', async () => { const response = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: createResponse.body.conversation.id, @@ -222,10 +194,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns the created conversation when listing', async () => { const response = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/conversations', - roleAuthc, - internalReqHeader, }) .expect(200); // delete user from response to avoid comparing it as it will be different in MKI @@ -243,10 +213,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { updateResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: createResponse.body.conversation.id, @@ -269,10 +237,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns the updated conversation after get', async () => { const updateAfterCreateResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: createResponse.body.conversation.id, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/helpers.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/helpers.ts index 7e72b4ed57bf9..cc35bb1a71298 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/helpers.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/helpers.ts @@ -14,7 +14,6 @@ import { StreamingChatResponseEventType, } from '@kbn/observability-ai-assistant-plugin/common/conversation_complete'; import { ObservabilityAIAssistantApiClient } from '../../common/observability_ai_assistant_api_client'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; export function decodeEvents(body: Readable | string) { return String(body) @@ -56,20 +55,14 @@ export function getConversationUpdatedEvent(body: Readable | string) { export async function deleteAllConversations({ observabilityAIAssistantAPIClient, - internalReqHeader, - roleAuthc, log, }: { observabilityAIAssistantAPIClient: ObservabilityAIAssistantApiClient; - internalReqHeader: InternalRequestHeader; - roleAuthc: RoleCredentials; log: ToolingLog; }) { const findConversationsResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/conversations', - internalReqHeader, - roleAuthc, params: { body: { query: '', @@ -87,10 +80,8 @@ export async function deleteAllConversations({ conversations.map(async (conversation) => { try { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: conversation.conversation.id, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base.spec.ts index 8f3569c9fc959..9dc0fba6a5685 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base.spec.ts @@ -13,59 +13,51 @@ import { deleteKnowledgeBaseModel, } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/tests/knowledge_base/helpers'; import { FtrProviderContext } from '../../common/ftr_provider_context'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; export default function ApiTest({ getService }: FtrProviderContext) { const ml = getService('ml'); const es = getService('es'); - const svlUserManager = getService('svlUserManager'); - const svlCommonApi = getService('svlCommonApi'); const observabilityAIAssistantAPIClient = getService('observabilityAIAssistantAPIClient'); // TODO: https://github.com/elastic/kibana/issues/192886 describe.skip('Knowledge base', function () { this.tags(['skipMKI']); - let roleAuthc: RoleCredentials; - let internalReqHeader: InternalRequestHeader; + before(async () => { - roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('editor'); - internalReqHeader = svlCommonApi.getInternalRequestHeader(); await createKnowledgeBaseModel(ml); }); after(async () => { await deleteKnowledgeBaseModel(ml); await deleteInferenceEndpoint({ es }); - await svlUserManager.invalidateM2mApiKeyWithRoleScope(roleAuthc); }); it('returns 200 on knowledge base setup', async () => { const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/setup', - roleAuthc, - internalReqHeader, }) .expect(200); expect(res.body).to.eql({}); }); + describe('when managing a single entry', () => { const knowledgeBaseEntry = { id: 'my-doc-id-1', title: 'My title', text: 'My content', }; + it('returns 200 on create', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/entries/save', params: { body: knowledgeBaseEntry }, - roleAuthc, - internalReqHeader, }) .expect(200); - const res = await observabilityAIAssistantAPIClient.slsUser({ + + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -74,8 +66,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }); const entry = res.body.entries[0]; expect(entry.id).to.equal(knowledgeBaseEntry.id); @@ -84,7 +74,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns 200 on get entries and entry exists', async () => { const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -93,8 +83,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); const entry = res.body.entries[0]; @@ -105,18 +93,16 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns 200 on delete', async () => { const entryId = 'my-doc-id-1'; await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/kb/entries/{entryId}', params: { path: { entryId }, }, - roleAuthc, - internalReqHeader, }) .expect(200); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -125,8 +111,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); expect(res.body.entries.filter((entry) => entry.id.startsWith('my-doc-id')).length).to.eql( @@ -137,24 +121,25 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns 500 on delete not found', async () => { const entryId = 'my-doc-id-1'; await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/kb/entries/{entryId}', params: { path: { entryId }, }, - roleAuthc, - internalReqHeader, }) .expect(500); }); }); + describe('when managing multiple entries', () => { before(async () => { await clearKnowledgeBase(es); }); + afterEach(async () => { await clearKnowledgeBase(es); }); + const knowledgeBaseEntries = [ { id: 'my_doc_a', @@ -172,18 +157,17 @@ export default function ApiTest({ getService }: FtrProviderContext) { text: 'My content c', }, ]; + it('returns 200 on create', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/entries/import', params: { body: { entries: knowledgeBaseEntries } }, - roleAuthc, - internalReqHeader, }) .expect(200); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -192,8 +176,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); expect(res.body.entries.filter((entry) => entry.id.startsWith('my_doc')).length).to.eql(3); @@ -201,16 +183,14 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('allows sorting', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/entries/import', params: { body: { entries: knowledgeBaseEntries } }, - roleAuthc, - internalReqHeader, }) .expect(200); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -219,8 +199,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'desc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); @@ -231,7 +209,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { // asc const resAsc = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -240,8 +218,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); @@ -250,18 +226,17 @@ export default function ApiTest({ getService }: FtrProviderContext) { expect(entriesAsc[1].id).to.eql('my_doc_b'); expect(entriesAsc[2].id).to.eql('my_doc_c'); }); + it('allows searching', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/entries/import', params: { body: { entries: knowledgeBaseEntries } }, - roleAuthc, - internalReqHeader, }) .expect(200); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -270,8 +245,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_setup.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_setup.spec.ts index eeef06464c9d6..88edb533ecb36 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_setup.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_setup.spec.ts @@ -14,44 +14,30 @@ import { } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/tests/knowledge_base/helpers'; import { FtrProviderContext } from '../../common/ftr_provider_context'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; export default function ApiTest({ getService }: FtrProviderContext) { const ml = getService('ml'); const es = getService('es'); - const svlUserManager = getService('svlUserManager'); - const svlCommonApi = getService('svlCommonApi'); const observabilityAIAssistantAPIClient = getService('observabilityAIAssistantAPIClient'); describe('/internal/observability_ai_assistant/kb/setup', function () { this.tags(['skipMKI']); - let roleAuthc: RoleCredentials; - let internalReqHeader: InternalRequestHeader; before(async () => { await deleteKnowledgeBaseModel(ml).catch(() => {}); await deleteInferenceEndpoint({ es }).catch(() => {}); - - roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('admin'); - internalReqHeader = svlCommonApi.getInternalRequestHeader(); - }); - - after(async () => { - await svlUserManager.invalidateM2mApiKeyWithRoleScope(roleAuthc); }); it('returns empty object when successful', async () => { await createKnowledgeBaseModel(ml); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsAdmin({ endpoint: 'POST /internal/observability_ai_assistant/kb/setup', params: { query: { model_id: TINY_ELSER.id, }, }, - roleAuthc, - internalReqHeader, }) .expect(200); @@ -64,15 +50,13 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns bad request if model cannot be installed', async () => { const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsAdmin({ endpoint: 'POST /internal/observability_ai_assistant/kb/setup', params: { query: { model_id: TINY_ELSER.id, }, }, - roleAuthc, - internalReqHeader, }) .expect(500); diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_status.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_status.spec.ts index a7a7b55cf4e02..207badc1b855a 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_status.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_status.spec.ts @@ -14,34 +14,25 @@ import { } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/tests/knowledge_base/helpers'; import { AI_ASSISTANT_KB_INFERENCE_ID } from '@kbn/observability-ai-assistant-plugin/server/service/inference_endpoint'; import { FtrProviderContext } from '../../common/ftr_provider_context'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; export default function ApiTest({ getService }: FtrProviderContext) { const ml = getService('ml'); const es = getService('es'); - const svlUserManager = getService('svlUserManager'); - const svlCommonApi = getService('svlCommonApi'); const observabilityAIAssistantAPIClient = getService('observabilityAIAssistantAPIClient'); describe('/internal/observability_ai_assistant/kb/status', function () { this.tags(['skipMKI']); - let roleAuthc: RoleCredentials; - let internalReqHeader: InternalRequestHeader; before(async () => { - roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('admin'); - internalReqHeader = svlCommonApi.getInternalRequestHeader(); await createKnowledgeBaseModel(ml); await observabilityAIAssistantAPIClient - .slsUser({ + .slsAdmin({ endpoint: 'POST /internal/observability_ai_assistant/kb/setup', params: { query: { model_id: TINY_ELSER.id, }, }, - roleAuthc, - internalReqHeader, }) .expect(200); }); @@ -49,15 +40,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { after(async () => { await deleteKnowledgeBaseModel(ml); await deleteInferenceEndpoint({ es, name: AI_ASSISTANT_KB_INFERENCE_ID }).catch((err) => {}); - await svlUserManager.invalidateM2mApiKeyWithRoleScope(roleAuthc); }); it('returns correct status after knowledge base is setup', async () => { const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/status', - roleAuthc, - internalReqHeader, }) .expect(200); @@ -70,10 +58,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { await deleteInferenceEndpoint({ es, name: AI_ASSISTANT_KB_INFERENCE_ID }); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/status', - roleAuthc, - internalReqHeader, }) .expect(200); diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_user_instructions.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_user_instructions.spec.ts index fc9864ac8768c..0557d43830bc0 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_user_instructions.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_user_instructions.spec.ts @@ -34,26 +34,19 @@ export default function ApiTest({ getService }: FtrProviderContext) { const svlUserManager = getService('svlUserManager'); const svlCommonApi = getService('svlCommonApi'); - // TODO: https://github.com/elastic/kibana/issues/192711 cannot create custom users in serverless - // trying using built in users by using cookie auth - // TODO: https://github.com/elastic/kibana/issues/192757 describe.skip('Knowledge base user instructions', function () { this.tags(['skipMKI']); let editorRoleAuthc: RoleCredentials; - let johnRoleAuthc: RoleCredentials; let internalReqHeader: InternalRequestHeader; + before(async () => { - // Create API keys for 'editor' role, simulating different users - johnRoleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('admin'); editorRoleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('editor'); internalReqHeader = svlCommonApi.getInternalRequestHeader(); await createKnowledgeBaseModel(ml); await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/setup', - roleAuthc: editorRoleAuthc, - internalReqHeader, }) .expect(200); }); @@ -63,7 +56,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { await deleteInferenceEndpoint({ es }); await clearKnowledgeBase(es); await clearConversations(es); - await svlUserManager.invalidateM2mApiKeyWithRoleScope(johnRoleAuthc); await svlUserManager.invalidateM2mApiKeyWithRoleScope(editorRoleAuthc); }); @@ -72,37 +64,34 @@ export default function ApiTest({ getService }: FtrProviderContext) { await clearKnowledgeBase(es); const promises = [ - { roleAuthc: editorRoleAuthc, username: 'editor', isPublic: true }, - { roleAuthc: editorRoleAuthc, username: 'editor', isPublic: false }, - { roleAuthc: johnRoleAuthc, username: 'john', isPublic: true }, - { roleAuthc: johnRoleAuthc, username: 'john', isPublic: false }, - ].map(async ({ roleAuthc, username, isPublic }) => { + { username: 'editor', isPublic: true }, + { username: 'editor', isPublic: false }, + { username: 'john', isPublic: true }, + { username: 'john', isPublic: false }, + ].map(async ({ username, isPublic }) => { const visibility = isPublic ? 'Public' : 'Private'; - await observabilityAIAssistantAPIClient - .slsUser({ - endpoint: 'PUT /internal/observability_ai_assistant/kb/user_instructions', - params: { - body: { - id: `${visibility.toLowerCase()}-doc-from-${username}`, - text: `${visibility} user instruction from "${username}"`, - public: isPublic, - }, + const user = username === 'editor' ? 'slsEditor' : 'slsAdmin'; + + await observabilityAIAssistantAPIClient[user]({ + endpoint: 'PUT /internal/observability_ai_assistant/kb/user_instructions', + params: { + body: { + id: `${visibility.toLowerCase()}-doc-from-${username}`, + text: `${visibility} user instruction from "${username}"`, + public: isPublic, }, - roleAuthc, - internalReqHeader, - }) - .expect(200); + }, + }).expect(200); }); await Promise.all(promises); }); it('"editor" can retrieve their own private instructions and the public instruction', async () => { - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/user_instructions', - roleAuthc: editorRoleAuthc, - internalReqHeader, }); + const instructions = res.body.userInstructions; const sortByDocId = (data: any) => sortBy(data, 'doc_id'); @@ -128,11 +117,10 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('"john" can retrieve their own private instructions and the public instruction', async () => { - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsAdmin({ endpoint: 'GET /internal/observability_ai_assistant/kb/user_instructions', - roleAuthc: johnRoleAuthc, - internalReqHeader, }); + const instructions = res.body.userInstructions; const sortByDocId = (data: any) => sortBy(data, 'doc_id'); @@ -163,7 +151,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { await clearKnowledgeBase(es); await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/kb/user_instructions', params: { body: { @@ -172,13 +160,11 @@ export default function ApiTest({ getService }: FtrProviderContext) { public: true, }, }, - roleAuthc: editorRoleAuthc, - internalReqHeader, }) .expect(200); await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/kb/user_instructions', params: { body: { @@ -187,18 +173,15 @@ export default function ApiTest({ getService }: FtrProviderContext) { public: false, }, }, - roleAuthc: editorRoleAuthc, - internalReqHeader, }) .expect(200); }); it('updates the user instruction', async () => { - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/user_instructions', - roleAuthc: editorRoleAuthc, - internalReqHeader, }); + const instructions = res.body.userInstructions; expect(instructions).to.eql([ @@ -218,10 +201,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { const userInstructionText = 'Be polite and use language that is easy to understand. Never disagree with the user.'; - async function getConversationForUser(roleAuthc: RoleCredentials) { + async function getConversationForUser(username: string) { + const user = username === 'editor' ? 'slsEditor' : 'slsAdmin'; + // the user instruction is always created by "editor" user await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/kb/user_instructions', params: { body: { @@ -230,8 +215,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { public: false, }, }, - roleAuthc: editorRoleAuthc, - internalReqHeader, }) .expect(200); @@ -259,36 +242,30 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, ]; - const createResponse = await observabilityAIAssistantAPIClient - .slsUser({ - endpoint: 'POST /internal/observability_ai_assistant/chat/complete', - params: { - body: { - messages, - connectorId, - persist: true, - screenContexts: [], - scopes: ['observability'], - }, + const createResponse = await observabilityAIAssistantAPIClient[user]({ + endpoint: 'POST /internal/observability_ai_assistant/chat/complete', + params: { + body: { + messages, + connectorId, + persist: true, + screenContexts: [], + scopes: ['observability'], }, - roleAuthc, - internalReqHeader, - }) - .expect(200); + }, + }).expect(200); await proxy.waitForAllInterceptorsSettled(); const conversationCreatedEvent = getConversationCreatedEvent(createResponse.body); const conversationId = conversationCreatedEvent.conversation.id; - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient[user]({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', params: { path: { conversationId, }, }, - roleAuthc, - internalReqHeader, }); // wait for all interceptors to be settled @@ -321,7 +298,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('adds the instruction to the system prompt', async () => { - const conversation = await getConversationForUser(editorRoleAuthc); + const conversation = await getConversationForUser('editor'); const systemMessage = conversation.messages.find( (message) => message.message.role === MessageRole.System )!; @@ -329,7 +306,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('does not add the instruction to the context', async () => { - const conversation = await getConversationForUser(editorRoleAuthc); + const conversation = await getConversationForUser('editor'); const contextMessage = conversation.messages.find( (message) => message.message.name === CONTEXT_FUNCTION_NAME ); @@ -343,7 +320,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('does not add the instruction conversation for other users', async () => { - const conversation = await getConversationForUser(johnRoleAuthc); + const conversation = await getConversationForUser('john'); const systemMessage = conversation.messages.find( (message) => message.message.role === MessageRole.System )!; diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/public_complete/public_complete.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/public_complete/public_complete.spec.ts index 4f61634d8d6e6..3f4a31e92de91 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/public_complete/public_complete.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/public_complete/public_complete.spec.ts @@ -48,7 +48,9 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, }, ]; - describe('/api/observability_ai_assistant/chat/complete', function () { + + // Failing: See https://github.com/elastic/kibana/issues/203408 + describe.skip('/api/observability_ai_assistant/chat/complete', function () { // TODO: https://github.com/elastic/kibana/issues/192751 this.tags(['skipMKI']); @@ -108,6 +110,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { await titleSimulator.complete(); await conversationSimulator.status(200); + if (conversationSimulatorCallback) { await conversationSimulatorCallback(conversationSimulator); } @@ -158,8 +161,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { after(async () => { await deleteAllConversations({ observabilityAIAssistantAPIClient, - internalReqHeader, - roleAuthc, log, }); await deleteActionConnector({ supertest, connectorId, log, roleAuthc, internalReqHeader }); @@ -190,7 +191,16 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, async (conversationSimulator) => { await conversationSimulator.next({ - function_call: { name: 'my_action', arguments: JSON.stringify({ foo: 'bar' }) }, + tool_calls: [ + { + id: 'fake-id', + index: 'fake-index', + function: { + name: 'my_action', + arguments: JSON.stringify({ foo: 'bar' }), + }, + }, + ], }); await conversationSimulator.complete(); } @@ -238,14 +248,23 @@ export default function ApiTest({ getService }: FtrProviderContext) { body = conversationSimulator.body; await conversationSimulator.next({ - function_call: { name: 'my_action', arguments: JSON.stringify({ foo: 'bar' }) }, + tool_calls: [ + { + id: 'fake-id', + index: 'fake-index', + function: { + name: 'my_action', + arguments: JSON.stringify({ foo: 'bar' }), + }, + }, + ], }); await conversationSimulator.complete(); } ); }); - it('includes the instruction in the system message', async () => { + it.skip('includes the instruction in the system message', async () => { expect(body.messages[0].content).to.contain('This is a random instruction'); }); }); diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/platform_security/authorization.ts b/x-pack/test_serverless/api_integration/test_suites/observability/platform_security/authorization.ts index 91812dbecb027..04f0110527c79 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/platform_security/authorization.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/platform_security/authorization.ts @@ -8263,10 +8263,448 @@ export default function ({ getService }: FtrProviderContext) { ], }, "fleetv2": Object { + "agent_policies_all": Array [ + "login:", + "api:fleet-agent-policies-read", + "api:fleet-agent-policies-all", + "saved_object:ingest-outputs/bulk_get", + "saved_object:ingest-outputs/get", + "saved_object:ingest-outputs/find", + "saved_object:ingest-outputs/open_point_in_time", + "saved_object:ingest-outputs/close_point_in_time", + "saved_object:ingest-outputs/create", + "saved_object:ingest-outputs/bulk_create", + "saved_object:ingest-outputs/update", + "saved_object:ingest-outputs/bulk_update", + "saved_object:ingest-outputs/delete", + "saved_object:ingest-outputs/bulk_delete", + "saved_object:ingest-outputs/share_to_space", + "saved_object:ingest-agent-policies/bulk_get", + "saved_object:ingest-agent-policies/get", + "saved_object:ingest-agent-policies/find", + "saved_object:ingest-agent-policies/open_point_in_time", + "saved_object:ingest-agent-policies/close_point_in_time", + "saved_object:ingest-agent-policies/create", + "saved_object:ingest-agent-policies/bulk_create", + "saved_object:ingest-agent-policies/update", + "saved_object:ingest-agent-policies/bulk_update", + "saved_object:ingest-agent-policies/delete", + "saved_object:ingest-agent-policies/bulk_delete", + "saved_object:ingest-agent-policies/share_to_space", + "saved_object:fleet-agent-policies/bulk_get", + "saved_object:fleet-agent-policies/get", + "saved_object:fleet-agent-policies/find", + "saved_object:fleet-agent-policies/open_point_in_time", + "saved_object:fleet-agent-policies/close_point_in_time", + "saved_object:fleet-agent-policies/create", + "saved_object:fleet-agent-policies/bulk_create", + "saved_object:fleet-agent-policies/update", + "saved_object:fleet-agent-policies/bulk_update", + "saved_object:fleet-agent-policies/delete", + "saved_object:fleet-agent-policies/bulk_delete", + "saved_object:fleet-agent-policies/share_to_space", + "saved_object:ingest-package-policies/bulk_get", + "saved_object:ingest-package-policies/get", + "saved_object:ingest-package-policies/find", + "saved_object:ingest-package-policies/open_point_in_time", + "saved_object:ingest-package-policies/close_point_in_time", + "saved_object:ingest-package-policies/create", + "saved_object:ingest-package-policies/bulk_create", + "saved_object:ingest-package-policies/update", + "saved_object:ingest-package-policies/bulk_update", + "saved_object:ingest-package-policies/delete", + "saved_object:ingest-package-policies/bulk_delete", + "saved_object:ingest-package-policies/share_to_space", + "saved_object:fleet-package-policies/bulk_get", + "saved_object:fleet-package-policies/get", + "saved_object:fleet-package-policies/find", + "saved_object:fleet-package-policies/open_point_in_time", + "saved_object:fleet-package-policies/close_point_in_time", + "saved_object:fleet-package-policies/create", + "saved_object:fleet-package-policies/bulk_create", + "saved_object:fleet-package-policies/update", + "saved_object:fleet-package-policies/bulk_update", + "saved_object:fleet-package-policies/delete", + "saved_object:fleet-package-policies/bulk_delete", + "saved_object:fleet-package-policies/share_to_space", + "saved_object:epm-packages/bulk_get", + "saved_object:epm-packages/get", + "saved_object:epm-packages/find", + "saved_object:epm-packages/open_point_in_time", + "saved_object:epm-packages/close_point_in_time", + "saved_object:epm-packages/create", + "saved_object:epm-packages/bulk_create", + "saved_object:epm-packages/update", + "saved_object:epm-packages/bulk_update", + "saved_object:epm-packages/delete", + "saved_object:epm-packages/bulk_delete", + "saved_object:epm-packages/share_to_space", + "saved_object:epm-packages-assets/bulk_get", + "saved_object:epm-packages-assets/get", + "saved_object:epm-packages-assets/find", + "saved_object:epm-packages-assets/open_point_in_time", + "saved_object:epm-packages-assets/close_point_in_time", + "saved_object:epm-packages-assets/create", + "saved_object:epm-packages-assets/bulk_create", + "saved_object:epm-packages-assets/update", + "saved_object:epm-packages-assets/bulk_update", + "saved_object:epm-packages-assets/delete", + "saved_object:epm-packages-assets/bulk_delete", + "saved_object:epm-packages-assets/share_to_space", + "saved_object:fleet-preconfiguration-deletion-record/bulk_get", + "saved_object:fleet-preconfiguration-deletion-record/get", + "saved_object:fleet-preconfiguration-deletion-record/find", + "saved_object:fleet-preconfiguration-deletion-record/open_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/close_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/create", + "saved_object:fleet-preconfiguration-deletion-record/bulk_create", + "saved_object:fleet-preconfiguration-deletion-record/update", + "saved_object:fleet-preconfiguration-deletion-record/bulk_update", + "saved_object:fleet-preconfiguration-deletion-record/delete", + "saved_object:fleet-preconfiguration-deletion-record/bulk_delete", + "saved_object:fleet-preconfiguration-deletion-record/share_to_space", + "saved_object:ingest-download-sources/bulk_get", + "saved_object:ingest-download-sources/get", + "saved_object:ingest-download-sources/find", + "saved_object:ingest-download-sources/open_point_in_time", + "saved_object:ingest-download-sources/close_point_in_time", + "saved_object:ingest-download-sources/create", + "saved_object:ingest-download-sources/bulk_create", + "saved_object:ingest-download-sources/update", + "saved_object:ingest-download-sources/bulk_update", + "saved_object:ingest-download-sources/delete", + "saved_object:ingest-download-sources/bulk_delete", + "saved_object:ingest-download-sources/share_to_space", + "saved_object:fleet-fleet-server-host/bulk_get", + "saved_object:fleet-fleet-server-host/get", + "saved_object:fleet-fleet-server-host/find", + "saved_object:fleet-fleet-server-host/open_point_in_time", + "saved_object:fleet-fleet-server-host/close_point_in_time", + "saved_object:fleet-fleet-server-host/create", + "saved_object:fleet-fleet-server-host/bulk_create", + "saved_object:fleet-fleet-server-host/update", + "saved_object:fleet-fleet-server-host/bulk_update", + "saved_object:fleet-fleet-server-host/delete", + "saved_object:fleet-fleet-server-host/bulk_delete", + "saved_object:fleet-fleet-server-host/share_to_space", + "saved_object:fleet-proxy/bulk_get", + "saved_object:fleet-proxy/get", + "saved_object:fleet-proxy/find", + "saved_object:fleet-proxy/open_point_in_time", + "saved_object:fleet-proxy/close_point_in_time", + "saved_object:fleet-proxy/create", + "saved_object:fleet-proxy/bulk_create", + "saved_object:fleet-proxy/update", + "saved_object:fleet-proxy/bulk_update", + "saved_object:fleet-proxy/delete", + "saved_object:fleet-proxy/bulk_delete", + "saved_object:fleet-proxy/share_to_space", + "saved_object:fleet-space-settings/bulk_get", + "saved_object:fleet-space-settings/get", + "saved_object:fleet-space-settings/find", + "saved_object:fleet-space-settings/open_point_in_time", + "saved_object:fleet-space-settings/close_point_in_time", + "saved_object:fleet-space-settings/create", + "saved_object:fleet-space-settings/bulk_create", + "saved_object:fleet-space-settings/update", + "saved_object:fleet-space-settings/bulk_update", + "saved_object:fleet-space-settings/delete", + "saved_object:fleet-space-settings/bulk_delete", + "saved_object:fleet-space-settings/share_to_space", + "ui:fleetv2/agent_policies_read", + "ui:fleetv2/agent_policies_all", + ], + "agent_policies_read": Array [ + "login:", + "api:fleet-agent-policies-read", + "saved_object:ingest-outputs/bulk_get", + "saved_object:ingest-outputs/get", + "saved_object:ingest-outputs/find", + "saved_object:ingest-outputs/open_point_in_time", + "saved_object:ingest-outputs/close_point_in_time", + "saved_object:ingest-agent-policies/bulk_get", + "saved_object:ingest-agent-policies/get", + "saved_object:ingest-agent-policies/find", + "saved_object:ingest-agent-policies/open_point_in_time", + "saved_object:ingest-agent-policies/close_point_in_time", + "saved_object:fleet-agent-policies/bulk_get", + "saved_object:fleet-agent-policies/get", + "saved_object:fleet-agent-policies/find", + "saved_object:fleet-agent-policies/open_point_in_time", + "saved_object:fleet-agent-policies/close_point_in_time", + "saved_object:ingest-package-policies/bulk_get", + "saved_object:ingest-package-policies/get", + "saved_object:ingest-package-policies/find", + "saved_object:ingest-package-policies/open_point_in_time", + "saved_object:ingest-package-policies/close_point_in_time", + "saved_object:fleet-package-policies/bulk_get", + "saved_object:fleet-package-policies/get", + "saved_object:fleet-package-policies/find", + "saved_object:fleet-package-policies/open_point_in_time", + "saved_object:fleet-package-policies/close_point_in_time", + "saved_object:epm-packages/bulk_get", + "saved_object:epm-packages/get", + "saved_object:epm-packages/find", + "saved_object:epm-packages/open_point_in_time", + "saved_object:epm-packages/close_point_in_time", + "saved_object:epm-packages-assets/bulk_get", + "saved_object:epm-packages-assets/get", + "saved_object:epm-packages-assets/find", + "saved_object:epm-packages-assets/open_point_in_time", + "saved_object:epm-packages-assets/close_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/bulk_get", + "saved_object:fleet-preconfiguration-deletion-record/get", + "saved_object:fleet-preconfiguration-deletion-record/find", + "saved_object:fleet-preconfiguration-deletion-record/open_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/close_point_in_time", + "saved_object:ingest-download-sources/bulk_get", + "saved_object:ingest-download-sources/get", + "saved_object:ingest-download-sources/find", + "saved_object:ingest-download-sources/open_point_in_time", + "saved_object:ingest-download-sources/close_point_in_time", + "saved_object:fleet-fleet-server-host/bulk_get", + "saved_object:fleet-fleet-server-host/get", + "saved_object:fleet-fleet-server-host/find", + "saved_object:fleet-fleet-server-host/open_point_in_time", + "saved_object:fleet-fleet-server-host/close_point_in_time", + "saved_object:fleet-proxy/bulk_get", + "saved_object:fleet-proxy/get", + "saved_object:fleet-proxy/find", + "saved_object:fleet-proxy/open_point_in_time", + "saved_object:fleet-proxy/close_point_in_time", + "saved_object:fleet-space-settings/bulk_get", + "saved_object:fleet-space-settings/get", + "saved_object:fleet-space-settings/find", + "saved_object:fleet-space-settings/open_point_in_time", + "saved_object:fleet-space-settings/close_point_in_time", + "ui:fleetv2/agent_policies_read", + ], + "agents_all": Array [ + "login:", + "api:fleet-agents-read", + "api:fleet-agents-all", + "saved_object:ingest-outputs/bulk_get", + "saved_object:ingest-outputs/get", + "saved_object:ingest-outputs/find", + "saved_object:ingest-outputs/open_point_in_time", + "saved_object:ingest-outputs/close_point_in_time", + "saved_object:ingest-outputs/create", + "saved_object:ingest-outputs/bulk_create", + "saved_object:ingest-outputs/update", + "saved_object:ingest-outputs/bulk_update", + "saved_object:ingest-outputs/delete", + "saved_object:ingest-outputs/bulk_delete", + "saved_object:ingest-outputs/share_to_space", + "saved_object:ingest-agent-policies/bulk_get", + "saved_object:ingest-agent-policies/get", + "saved_object:ingest-agent-policies/find", + "saved_object:ingest-agent-policies/open_point_in_time", + "saved_object:ingest-agent-policies/close_point_in_time", + "saved_object:ingest-agent-policies/create", + "saved_object:ingest-agent-policies/bulk_create", + "saved_object:ingest-agent-policies/update", + "saved_object:ingest-agent-policies/bulk_update", + "saved_object:ingest-agent-policies/delete", + "saved_object:ingest-agent-policies/bulk_delete", + "saved_object:ingest-agent-policies/share_to_space", + "saved_object:fleet-agent-policies/bulk_get", + "saved_object:fleet-agent-policies/get", + "saved_object:fleet-agent-policies/find", + "saved_object:fleet-agent-policies/open_point_in_time", + "saved_object:fleet-agent-policies/close_point_in_time", + "saved_object:fleet-agent-policies/create", + "saved_object:fleet-agent-policies/bulk_create", + "saved_object:fleet-agent-policies/update", + "saved_object:fleet-agent-policies/bulk_update", + "saved_object:fleet-agent-policies/delete", + "saved_object:fleet-agent-policies/bulk_delete", + "saved_object:fleet-agent-policies/share_to_space", + "saved_object:ingest-package-policies/bulk_get", + "saved_object:ingest-package-policies/get", + "saved_object:ingest-package-policies/find", + "saved_object:ingest-package-policies/open_point_in_time", + "saved_object:ingest-package-policies/close_point_in_time", + "saved_object:ingest-package-policies/create", + "saved_object:ingest-package-policies/bulk_create", + "saved_object:ingest-package-policies/update", + "saved_object:ingest-package-policies/bulk_update", + "saved_object:ingest-package-policies/delete", + "saved_object:ingest-package-policies/bulk_delete", + "saved_object:ingest-package-policies/share_to_space", + "saved_object:fleet-package-policies/bulk_get", + "saved_object:fleet-package-policies/get", + "saved_object:fleet-package-policies/find", + "saved_object:fleet-package-policies/open_point_in_time", + "saved_object:fleet-package-policies/close_point_in_time", + "saved_object:fleet-package-policies/create", + "saved_object:fleet-package-policies/bulk_create", + "saved_object:fleet-package-policies/update", + "saved_object:fleet-package-policies/bulk_update", + "saved_object:fleet-package-policies/delete", + "saved_object:fleet-package-policies/bulk_delete", + "saved_object:fleet-package-policies/share_to_space", + "saved_object:epm-packages/bulk_get", + "saved_object:epm-packages/get", + "saved_object:epm-packages/find", + "saved_object:epm-packages/open_point_in_time", + "saved_object:epm-packages/close_point_in_time", + "saved_object:epm-packages/create", + "saved_object:epm-packages/bulk_create", + "saved_object:epm-packages/update", + "saved_object:epm-packages/bulk_update", + "saved_object:epm-packages/delete", + "saved_object:epm-packages/bulk_delete", + "saved_object:epm-packages/share_to_space", + "saved_object:epm-packages-assets/bulk_get", + "saved_object:epm-packages-assets/get", + "saved_object:epm-packages-assets/find", + "saved_object:epm-packages-assets/open_point_in_time", + "saved_object:epm-packages-assets/close_point_in_time", + "saved_object:epm-packages-assets/create", + "saved_object:epm-packages-assets/bulk_create", + "saved_object:epm-packages-assets/update", + "saved_object:epm-packages-assets/bulk_update", + "saved_object:epm-packages-assets/delete", + "saved_object:epm-packages-assets/bulk_delete", + "saved_object:epm-packages-assets/share_to_space", + "saved_object:fleet-preconfiguration-deletion-record/bulk_get", + "saved_object:fleet-preconfiguration-deletion-record/get", + "saved_object:fleet-preconfiguration-deletion-record/find", + "saved_object:fleet-preconfiguration-deletion-record/open_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/close_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/create", + "saved_object:fleet-preconfiguration-deletion-record/bulk_create", + "saved_object:fleet-preconfiguration-deletion-record/update", + "saved_object:fleet-preconfiguration-deletion-record/bulk_update", + "saved_object:fleet-preconfiguration-deletion-record/delete", + "saved_object:fleet-preconfiguration-deletion-record/bulk_delete", + "saved_object:fleet-preconfiguration-deletion-record/share_to_space", + "saved_object:ingest-download-sources/bulk_get", + "saved_object:ingest-download-sources/get", + "saved_object:ingest-download-sources/find", + "saved_object:ingest-download-sources/open_point_in_time", + "saved_object:ingest-download-sources/close_point_in_time", + "saved_object:ingest-download-sources/create", + "saved_object:ingest-download-sources/bulk_create", + "saved_object:ingest-download-sources/update", + "saved_object:ingest-download-sources/bulk_update", + "saved_object:ingest-download-sources/delete", + "saved_object:ingest-download-sources/bulk_delete", + "saved_object:ingest-download-sources/share_to_space", + "saved_object:fleet-fleet-server-host/bulk_get", + "saved_object:fleet-fleet-server-host/get", + "saved_object:fleet-fleet-server-host/find", + "saved_object:fleet-fleet-server-host/open_point_in_time", + "saved_object:fleet-fleet-server-host/close_point_in_time", + "saved_object:fleet-fleet-server-host/create", + "saved_object:fleet-fleet-server-host/bulk_create", + "saved_object:fleet-fleet-server-host/update", + "saved_object:fleet-fleet-server-host/bulk_update", + "saved_object:fleet-fleet-server-host/delete", + "saved_object:fleet-fleet-server-host/bulk_delete", + "saved_object:fleet-fleet-server-host/share_to_space", + "saved_object:fleet-proxy/bulk_get", + "saved_object:fleet-proxy/get", + "saved_object:fleet-proxy/find", + "saved_object:fleet-proxy/open_point_in_time", + "saved_object:fleet-proxy/close_point_in_time", + "saved_object:fleet-proxy/create", + "saved_object:fleet-proxy/bulk_create", + "saved_object:fleet-proxy/update", + "saved_object:fleet-proxy/bulk_update", + "saved_object:fleet-proxy/delete", + "saved_object:fleet-proxy/bulk_delete", + "saved_object:fleet-proxy/share_to_space", + "saved_object:fleet-space-settings/bulk_get", + "saved_object:fleet-space-settings/get", + "saved_object:fleet-space-settings/find", + "saved_object:fleet-space-settings/open_point_in_time", + "saved_object:fleet-space-settings/close_point_in_time", + "saved_object:fleet-space-settings/create", + "saved_object:fleet-space-settings/bulk_create", + "saved_object:fleet-space-settings/update", + "saved_object:fleet-space-settings/bulk_update", + "saved_object:fleet-space-settings/delete", + "saved_object:fleet-space-settings/bulk_delete", + "saved_object:fleet-space-settings/share_to_space", + "ui:fleetv2/agents_read", + "ui:fleetv2/agents_all", + ], + "agents_read": Array [ + "login:", + "api:fleet-agents-read", + "saved_object:ingest-outputs/bulk_get", + "saved_object:ingest-outputs/get", + "saved_object:ingest-outputs/find", + "saved_object:ingest-outputs/open_point_in_time", + "saved_object:ingest-outputs/close_point_in_time", + "saved_object:ingest-agent-policies/bulk_get", + "saved_object:ingest-agent-policies/get", + "saved_object:ingest-agent-policies/find", + "saved_object:ingest-agent-policies/open_point_in_time", + "saved_object:ingest-agent-policies/close_point_in_time", + "saved_object:fleet-agent-policies/bulk_get", + "saved_object:fleet-agent-policies/get", + "saved_object:fleet-agent-policies/find", + "saved_object:fleet-agent-policies/open_point_in_time", + "saved_object:fleet-agent-policies/close_point_in_time", + "saved_object:ingest-package-policies/bulk_get", + "saved_object:ingest-package-policies/get", + "saved_object:ingest-package-policies/find", + "saved_object:ingest-package-policies/open_point_in_time", + "saved_object:ingest-package-policies/close_point_in_time", + "saved_object:fleet-package-policies/bulk_get", + "saved_object:fleet-package-policies/get", + "saved_object:fleet-package-policies/find", + "saved_object:fleet-package-policies/open_point_in_time", + "saved_object:fleet-package-policies/close_point_in_time", + "saved_object:epm-packages/bulk_get", + "saved_object:epm-packages/get", + "saved_object:epm-packages/find", + "saved_object:epm-packages/open_point_in_time", + "saved_object:epm-packages/close_point_in_time", + "saved_object:epm-packages-assets/bulk_get", + "saved_object:epm-packages-assets/get", + "saved_object:epm-packages-assets/find", + "saved_object:epm-packages-assets/open_point_in_time", + "saved_object:epm-packages-assets/close_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/bulk_get", + "saved_object:fleet-preconfiguration-deletion-record/get", + "saved_object:fleet-preconfiguration-deletion-record/find", + "saved_object:fleet-preconfiguration-deletion-record/open_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/close_point_in_time", + "saved_object:ingest-download-sources/bulk_get", + "saved_object:ingest-download-sources/get", + "saved_object:ingest-download-sources/find", + "saved_object:ingest-download-sources/open_point_in_time", + "saved_object:ingest-download-sources/close_point_in_time", + "saved_object:fleet-fleet-server-host/bulk_get", + "saved_object:fleet-fleet-server-host/get", + "saved_object:fleet-fleet-server-host/find", + "saved_object:fleet-fleet-server-host/open_point_in_time", + "saved_object:fleet-fleet-server-host/close_point_in_time", + "saved_object:fleet-proxy/bulk_get", + "saved_object:fleet-proxy/get", + "saved_object:fleet-proxy/find", + "saved_object:fleet-proxy/open_point_in_time", + "saved_object:fleet-proxy/close_point_in_time", + "saved_object:fleet-space-settings/bulk_get", + "saved_object:fleet-space-settings/get", + "saved_object:fleet-space-settings/find", + "saved_object:fleet-space-settings/open_point_in_time", + "saved_object:fleet-space-settings/close_point_in_time", + "ui:fleetv2/agents_read", + ], "all": Array [ "login:", "api:fleet-read", "api:fleet-all", + "api:fleet-agents-read", + "api:fleet-agents-all", + "api:fleet-agent-policies-read", + "api:fleet-agent-policies-all", + "api:fleet-settings-read", + "api:fleet-settings-all", "app:fleet", "ui:catalogue/fleet", "ui:navLinks/fleet", @@ -8443,6 +8881,12 @@ export default function ({ getService }: FtrProviderContext) { "saved_object:url/close_point_in_time", "ui:fleetv2/read", "ui:fleetv2/all", + "ui:fleetv2/agents_read", + "ui:fleetv2/agents_all", + "ui:fleetv2/agent_policies_read", + "ui:fleetv2/agent_policies_all", + "ui:fleetv2/settings_read", + "ui:fleetv2/settings_all", "api:infra", "api:rac", "app:infra", @@ -9452,6 +9896,9 @@ export default function ({ getService }: FtrProviderContext) { "read": Array [ "login:", "api:fleet-read", + "api:fleet-agents-read", + "api:fleet-agent-policies-read", + "api:fleet-settings-read", "app:fleet", "ui:catalogue/fleet", "ui:navLinks/fleet", @@ -9536,6 +9983,9 @@ export default function ({ getService }: FtrProviderContext) { "saved_object:url/open_point_in_time", "saved_object:url/close_point_in_time", "ui:fleetv2/read", + "ui:fleetv2/agents_read", + "ui:fleetv2/agent_policies_read", + "ui:fleetv2/settings_read", "api:infra", "api:rac", "app:infra", @@ -9665,6 +10115,222 @@ export default function ({ getService }: FtrProviderContext) { "alerting:xpack.ml.anomaly_detection_alert/alerts/alert/getAuthorizedAlertsIndices", "alerting:xpack.ml.anomaly_detection_alert/alerts/alert/getAlertSummary", ], + "settings_all": Array [ + "login:", + "api:fleet-settings-read", + "api:fleet-settings-all", + "saved_object:ingest-outputs/bulk_get", + "saved_object:ingest-outputs/get", + "saved_object:ingest-outputs/find", + "saved_object:ingest-outputs/open_point_in_time", + "saved_object:ingest-outputs/close_point_in_time", + "saved_object:ingest-outputs/create", + "saved_object:ingest-outputs/bulk_create", + "saved_object:ingest-outputs/update", + "saved_object:ingest-outputs/bulk_update", + "saved_object:ingest-outputs/delete", + "saved_object:ingest-outputs/bulk_delete", + "saved_object:ingest-outputs/share_to_space", + "saved_object:ingest-agent-policies/bulk_get", + "saved_object:ingest-agent-policies/get", + "saved_object:ingest-agent-policies/find", + "saved_object:ingest-agent-policies/open_point_in_time", + "saved_object:ingest-agent-policies/close_point_in_time", + "saved_object:ingest-agent-policies/create", + "saved_object:ingest-agent-policies/bulk_create", + "saved_object:ingest-agent-policies/update", + "saved_object:ingest-agent-policies/bulk_update", + "saved_object:ingest-agent-policies/delete", + "saved_object:ingest-agent-policies/bulk_delete", + "saved_object:ingest-agent-policies/share_to_space", + "saved_object:fleet-agent-policies/bulk_get", + "saved_object:fleet-agent-policies/get", + "saved_object:fleet-agent-policies/find", + "saved_object:fleet-agent-policies/open_point_in_time", + "saved_object:fleet-agent-policies/close_point_in_time", + "saved_object:fleet-agent-policies/create", + "saved_object:fleet-agent-policies/bulk_create", + "saved_object:fleet-agent-policies/update", + "saved_object:fleet-agent-policies/bulk_update", + "saved_object:fleet-agent-policies/delete", + "saved_object:fleet-agent-policies/bulk_delete", + "saved_object:fleet-agent-policies/share_to_space", + "saved_object:ingest-package-policies/bulk_get", + "saved_object:ingest-package-policies/get", + "saved_object:ingest-package-policies/find", + "saved_object:ingest-package-policies/open_point_in_time", + "saved_object:ingest-package-policies/close_point_in_time", + "saved_object:ingest-package-policies/create", + "saved_object:ingest-package-policies/bulk_create", + "saved_object:ingest-package-policies/update", + "saved_object:ingest-package-policies/bulk_update", + "saved_object:ingest-package-policies/delete", + "saved_object:ingest-package-policies/bulk_delete", + "saved_object:ingest-package-policies/share_to_space", + "saved_object:fleet-package-policies/bulk_get", + "saved_object:fleet-package-policies/get", + "saved_object:fleet-package-policies/find", + "saved_object:fleet-package-policies/open_point_in_time", + "saved_object:fleet-package-policies/close_point_in_time", + "saved_object:fleet-package-policies/create", + "saved_object:fleet-package-policies/bulk_create", + "saved_object:fleet-package-policies/update", + "saved_object:fleet-package-policies/bulk_update", + "saved_object:fleet-package-policies/delete", + "saved_object:fleet-package-policies/bulk_delete", + "saved_object:fleet-package-policies/share_to_space", + "saved_object:epm-packages/bulk_get", + "saved_object:epm-packages/get", + "saved_object:epm-packages/find", + "saved_object:epm-packages/open_point_in_time", + "saved_object:epm-packages/close_point_in_time", + "saved_object:epm-packages/create", + "saved_object:epm-packages/bulk_create", + "saved_object:epm-packages/update", + "saved_object:epm-packages/bulk_update", + "saved_object:epm-packages/delete", + "saved_object:epm-packages/bulk_delete", + "saved_object:epm-packages/share_to_space", + "saved_object:epm-packages-assets/bulk_get", + "saved_object:epm-packages-assets/get", + "saved_object:epm-packages-assets/find", + "saved_object:epm-packages-assets/open_point_in_time", + "saved_object:epm-packages-assets/close_point_in_time", + "saved_object:epm-packages-assets/create", + "saved_object:epm-packages-assets/bulk_create", + "saved_object:epm-packages-assets/update", + "saved_object:epm-packages-assets/bulk_update", + "saved_object:epm-packages-assets/delete", + "saved_object:epm-packages-assets/bulk_delete", + "saved_object:epm-packages-assets/share_to_space", + "saved_object:fleet-preconfiguration-deletion-record/bulk_get", + "saved_object:fleet-preconfiguration-deletion-record/get", + "saved_object:fleet-preconfiguration-deletion-record/find", + "saved_object:fleet-preconfiguration-deletion-record/open_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/close_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/create", + "saved_object:fleet-preconfiguration-deletion-record/bulk_create", + "saved_object:fleet-preconfiguration-deletion-record/update", + "saved_object:fleet-preconfiguration-deletion-record/bulk_update", + "saved_object:fleet-preconfiguration-deletion-record/delete", + "saved_object:fleet-preconfiguration-deletion-record/bulk_delete", + "saved_object:fleet-preconfiguration-deletion-record/share_to_space", + "saved_object:ingest-download-sources/bulk_get", + "saved_object:ingest-download-sources/get", + "saved_object:ingest-download-sources/find", + "saved_object:ingest-download-sources/open_point_in_time", + "saved_object:ingest-download-sources/close_point_in_time", + "saved_object:ingest-download-sources/create", + "saved_object:ingest-download-sources/bulk_create", + "saved_object:ingest-download-sources/update", + "saved_object:ingest-download-sources/bulk_update", + "saved_object:ingest-download-sources/delete", + "saved_object:ingest-download-sources/bulk_delete", + "saved_object:ingest-download-sources/share_to_space", + "saved_object:fleet-fleet-server-host/bulk_get", + "saved_object:fleet-fleet-server-host/get", + "saved_object:fleet-fleet-server-host/find", + "saved_object:fleet-fleet-server-host/open_point_in_time", + "saved_object:fleet-fleet-server-host/close_point_in_time", + "saved_object:fleet-fleet-server-host/create", + "saved_object:fleet-fleet-server-host/bulk_create", + "saved_object:fleet-fleet-server-host/update", + "saved_object:fleet-fleet-server-host/bulk_update", + "saved_object:fleet-fleet-server-host/delete", + "saved_object:fleet-fleet-server-host/bulk_delete", + "saved_object:fleet-fleet-server-host/share_to_space", + "saved_object:fleet-proxy/bulk_get", + "saved_object:fleet-proxy/get", + "saved_object:fleet-proxy/find", + "saved_object:fleet-proxy/open_point_in_time", + "saved_object:fleet-proxy/close_point_in_time", + "saved_object:fleet-proxy/create", + "saved_object:fleet-proxy/bulk_create", + "saved_object:fleet-proxy/update", + "saved_object:fleet-proxy/bulk_update", + "saved_object:fleet-proxy/delete", + "saved_object:fleet-proxy/bulk_delete", + "saved_object:fleet-proxy/share_to_space", + "saved_object:fleet-space-settings/bulk_get", + "saved_object:fleet-space-settings/get", + "saved_object:fleet-space-settings/find", + "saved_object:fleet-space-settings/open_point_in_time", + "saved_object:fleet-space-settings/close_point_in_time", + "saved_object:fleet-space-settings/create", + "saved_object:fleet-space-settings/bulk_create", + "saved_object:fleet-space-settings/update", + "saved_object:fleet-space-settings/bulk_update", + "saved_object:fleet-space-settings/delete", + "saved_object:fleet-space-settings/bulk_delete", + "saved_object:fleet-space-settings/share_to_space", + "ui:fleetv2/settings_read", + "ui:fleetv2/settings_all", + ], + "settings_read": Array [ + "login:", + "api:fleet-settings-read", + "saved_object:ingest-outputs/bulk_get", + "saved_object:ingest-outputs/get", + "saved_object:ingest-outputs/find", + "saved_object:ingest-outputs/open_point_in_time", + "saved_object:ingest-outputs/close_point_in_time", + "saved_object:ingest-agent-policies/bulk_get", + "saved_object:ingest-agent-policies/get", + "saved_object:ingest-agent-policies/find", + "saved_object:ingest-agent-policies/open_point_in_time", + "saved_object:ingest-agent-policies/close_point_in_time", + "saved_object:fleet-agent-policies/bulk_get", + "saved_object:fleet-agent-policies/get", + "saved_object:fleet-agent-policies/find", + "saved_object:fleet-agent-policies/open_point_in_time", + "saved_object:fleet-agent-policies/close_point_in_time", + "saved_object:ingest-package-policies/bulk_get", + "saved_object:ingest-package-policies/get", + "saved_object:ingest-package-policies/find", + "saved_object:ingest-package-policies/open_point_in_time", + "saved_object:ingest-package-policies/close_point_in_time", + "saved_object:fleet-package-policies/bulk_get", + "saved_object:fleet-package-policies/get", + "saved_object:fleet-package-policies/find", + "saved_object:fleet-package-policies/open_point_in_time", + "saved_object:fleet-package-policies/close_point_in_time", + "saved_object:epm-packages/bulk_get", + "saved_object:epm-packages/get", + "saved_object:epm-packages/find", + "saved_object:epm-packages/open_point_in_time", + "saved_object:epm-packages/close_point_in_time", + "saved_object:epm-packages-assets/bulk_get", + "saved_object:epm-packages-assets/get", + "saved_object:epm-packages-assets/find", + "saved_object:epm-packages-assets/open_point_in_time", + "saved_object:epm-packages-assets/close_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/bulk_get", + "saved_object:fleet-preconfiguration-deletion-record/get", + "saved_object:fleet-preconfiguration-deletion-record/find", + "saved_object:fleet-preconfiguration-deletion-record/open_point_in_time", + "saved_object:fleet-preconfiguration-deletion-record/close_point_in_time", + "saved_object:ingest-download-sources/bulk_get", + "saved_object:ingest-download-sources/get", + "saved_object:ingest-download-sources/find", + "saved_object:ingest-download-sources/open_point_in_time", + "saved_object:ingest-download-sources/close_point_in_time", + "saved_object:fleet-fleet-server-host/bulk_get", + "saved_object:fleet-fleet-server-host/get", + "saved_object:fleet-fleet-server-host/find", + "saved_object:fleet-fleet-server-host/open_point_in_time", + "saved_object:fleet-fleet-server-host/close_point_in_time", + "saved_object:fleet-proxy/bulk_get", + "saved_object:fleet-proxy/get", + "saved_object:fleet-proxy/find", + "saved_object:fleet-proxy/open_point_in_time", + "saved_object:fleet-proxy/close_point_in_time", + "saved_object:fleet-space-settings/bulk_get", + "saved_object:fleet-space-settings/get", + "saved_object:fleet-space-settings/find", + "saved_object:fleet-space-settings/open_point_in_time", + "saved_object:fleet-space-settings/close_point_in_time", + "ui:fleetv2/settings_read", + ], }, "infrastructure": Object { "all": Array [ diff --git a/x-pack/test_serverless/functional/page_objects/svl_search_connectors_page.ts b/x-pack/test_serverless/functional/page_objects/svl_search_connectors_page.ts index 78554ea05beda..2e754337c03fe 100644 --- a/x-pack/test_serverless/functional/page_objects/svl_search_connectors_page.ts +++ b/x-pack/test_serverless/functional/page_objects/svl_search_connectors_page.ts @@ -11,7 +11,18 @@ export function SvlSearchConnectorsPageProvider({ getService }: FtrProviderConte const testSubjects = getService('testSubjects'); const browser = getService('browser'); const retry = getService('retry'); + const es = getService('es'); return { + helpers: { + async deleteAllConnectors() { + const connectors = await es.connector.list(); + for (const connector of connectors.results) { + await es.connector.delete({ + connector_id: connector.id!, + }); + } + }, + }, connectorConfigurationPage: { async createConnector() { await testSubjects.click('serverlessSearchEmptyConnectorsPromptCreateConnectorButton'); @@ -53,15 +64,15 @@ export function SvlSearchConnectorsPageProvider({ getService }: FtrProviderConte await testSubjects.existOrFail('serverlessSearchEditConnectorType'); await testSubjects.existOrFail('serverlessSearchEditConnectorTypeChoices'); await testSubjects.click('serverlessSearchEditConnectorTypeChoices'); - await testSubjects.exists('serverlessSearchConnectorServiceType-zoom'); + await testSubjects.setValue('serverlessSearchEditConnectorTypeChoices', type); + await testSubjects.exists(`serverlessSearchConnectorServiceType-${type}`); await testSubjects.click(`serverlessSearchConnectorServiceType-${type}`); - await testSubjects.existOrFail('serverlessSearchConnectorServiceType-zoom'); }, async expectConnectorIdToMatchUrl(connectorId: string) { expect(await browser.getCurrentUrl()).contain(`/app/connectors/${connectorId}`); }, - async getConnectorId() { - return await testSubjects.getVisibleText('serverlessSearchConnectorConnectorId'); + async getConnectorDetails() { + return await testSubjects.getVisibleText('serverlessSearchConnectorConnectorDetails'); }, }, connectorOverviewPage: { @@ -70,8 +81,11 @@ export function SvlSearchConnectorsPageProvider({ getService }: FtrProviderConte await testSubjects.setValue('serverlessSearchConnectorsTableSelect', option); }, async connectorNameExists(connectorName: string) { - const connectorsList = await this.getConnectorsList(); - return Boolean(connectorsList.find((name) => name === connectorName)); + await retry.tryForTime(10000, async () => { + const connectorsList = await this.getConnectorsList(); + const isFound = Boolean(connectorsList.find((name) => name === connectorName)); + expect(isFound).to.be(true); + }); }, async confirmDeleteConnectorModalComponentsExists() { await testSubjects.existOrFail('serverlessSearchDeleteConnectorModalFieldText'); diff --git a/x-pack/test_serverless/functional/test_suites/search/connectors/connectors_overview.ts b/x-pack/test_serverless/functional/test_suites/search/connectors/connectors_overview.ts index 95b35381a3d1e..95c98254dbb1f 100644 --- a/x-pack/test_serverless/functional/test_suites/search/connectors/connectors_overview.ts +++ b/x-pack/test_serverless/functional/test_suites/search/connectors/connectors_overview.ts @@ -18,26 +18,34 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { ]); const testSubjects = getService('testSubjects'); const browser = getService('browser'); - // FLAKY: https://github.com/elastic/kibana/issues/197019 + + // Failing: See https://github.com/elastic/kibana/issues/203477 describe.skip('connectors', function () { before(async () => { + await pageObjects.svlSearchConnectorsPage.helpers.deleteAllConnectors(); await pageObjects.svlCommonPage.loginWithRole('developer'); - await pageObjects.svlCommonNavigation.sidenav.clickLink({ - deepLinkId: 'serverlessConnectors', - }); }); - it('Connector app is loaded and has no connectors', async () => { - await pageObjects.svlSearchConnectorsPage.connectorOverviewPage.expectConnectorOverviewPageComponentsToExist(); - }); - it('has embedded dev console', async () => { + it('has embedded console', async () => { + await pageObjects.common.navigateToApp('serverlessConnectors'); await testHasEmbeddedConsole(pageObjects); }); - describe('create and configure connector', () => { + + it('Connector app is loaded and has no connectors', async () => { + await pageObjects.common.navigateToApp('serverlessConnectors'); + await pageObjects.svlSearchConnectorsPage.connectorOverviewPage.expectConnectorOverviewPageComponentsToExist(); + }); + + // FLAKY: https://github.com/elastic/kibana/issues/203462 + describe.skip('create and configure connector', () => { it('create connector and confirm connector configuration page is loaded', async () => { await pageObjects.svlSearchConnectorsPage.connectorConfigurationPage.createConnector(); + await pageObjects.svlSearchConnectorsPage.connectorConfigurationPage.editType('zoom'); + const connectorDetails = + await pageObjects.svlSearchConnectorsPage.connectorConfigurationPage.getConnectorDetails(); + const connectorId = connectorDetails.match(/connector_id: (.*)/)?.[1]; await pageObjects.svlSearchConnectorsPage.connectorConfigurationPage.expectConnectorIdToMatchUrl( - await pageObjects.svlSearchConnectorsPage.connectorConfigurationPage.getConnectorId() + connectorId! ); }); it('edit description', async () => { diff --git a/x-pack/test_serverless/functional/test_suites/search/navigation.ts b/x-pack/test_serverless/functional/test_suites/search/navigation.ts index abf4b0e2eef69..3c1922892addc 100644 --- a/x-pack/test_serverless/functional/test_suites/search/navigation.ts +++ b/x-pack/test_serverless/functional/test_suites/search/navigation.ts @@ -71,15 +71,15 @@ export default function ({ getPageObject, getService }: FtrProviderContext) { // check Build // > Dev Tools await solutionNavigation.sidenav.clickLink({ - deepLinkId: 'dev_tools', + deepLinkId: 'dev_tools:console', }); await solutionNavigation.sidenav.expectLinkActive({ - deepLinkId: 'dev_tools', + deepLinkId: 'dev_tools:console', }); await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Build' }); await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ text: 'Dev Tools' }); await solutionNavigation.breadcrumbs.expectBreadcrumbExists({ - deepLinkId: 'dev_tools', + deepLinkId: 'dev_tools:console', }); // > Playground await solutionNavigation.sidenav.clickLink({ diff --git a/x-pack/test_serverless/functional/test_suites/search/search_playground/utils/create_openai_chunk.ts b/x-pack/test_serverless/functional/test_suites/search/search_playground/utils/create_openai_chunk.ts index 3d7c64537ee5f..a10fa11a7ed5f 100644 --- a/x-pack/test_serverless/functional/test_suites/search/search_playground/utils/create_openai_chunk.ts +++ b/x-pack/test_serverless/functional/test_suites/search/search_playground/utils/create_openai_chunk.ts @@ -5,12 +5,12 @@ * 2.0. */ -import { CreateChatCompletionResponseChunk } from '@kbn/observability-ai-assistant-plugin/server/service/client/adapters/process_openai_stream'; import { v4 } from 'uuid'; +import type OpenAI from 'openai'; export function createOpenAiChunk( msg: string | { content?: string; function_call?: { name: string; arguments?: string } } -): CreateChatCompletionResponseChunk { +): OpenAI.ChatCompletionChunk { msg = typeof msg === 'string' ? { content: msg } : msg; return { diff --git a/x-pack/test_serverless/functional/test_suites/security/config.context_awareness.ts b/x-pack/test_serverless/functional/test_suites/security/config.context_awareness.ts index 984ce1c904d80..ab15b8d6beeb9 100644 --- a/x-pack/test_serverless/functional/test_suites/security/config.context_awareness.ts +++ b/x-pack/test_serverless/functional/test_suites/security/config.context_awareness.ts @@ -9,19 +9,15 @@ import { createTestConfig } from '../../config.base'; export default createTestConfig({ serverlessProject: 'security', - testFiles: [require.resolve('../common/discover/context_awareness')], + testFiles: [require.resolve('./ftr/discover/context_awareness')], junit: { - reportName: 'Serverless Security Discover Context Awareness Functional Tests', + reportName: + 'Serverless Security Discover Context Awareness Functional Tests - Security Profiles', }, kbnServerArgs: [ - `--discover.experimental.enabledProfiles=${JSON.stringify([ - 'example-root-profile', - 'example-solution-view-root-profile', - 'example-data-source-profile', - 'example-document-profile', - ])}`, + `--discover.experimental.enabledProfiles=${JSON.stringify(['security-root-profile'])}`, ], // include settings from project controller - // https://github.com/elastic/project-controller/blob/main/internal/project/observability/config/elasticsearch.yml + // https://github.com/elastic/elasticsearch-controller/blob/main/helm/values.yaml esServerArgs: ['xpack.ml.dfa.enabled=false'], }); diff --git a/x-pack/test_serverless/functional/test_suites/security/config.examples.context_awareness.ts b/x-pack/test_serverless/functional/test_suites/security/config.examples.context_awareness.ts new file mode 100644 index 0000000000000..d4476d9a59726 --- /dev/null +++ b/x-pack/test_serverless/functional/test_suites/security/config.examples.context_awareness.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 { createTestConfig } from '../../config.base'; + +export default createTestConfig({ + serverlessProject: 'security', + testFiles: [require.resolve('../common/discover/context_awareness')], + junit: { + reportName: + 'Serverless Security Discover Context Awareness Functional Tests - Example Profiles', + }, + kbnServerArgs: [ + `--discover.experimental.enabledProfiles=${JSON.stringify([ + 'example-root-profile', + 'example-solution-view-root-profile', + 'example-data-source-profile', + 'example-document-profile', + ])}`, + ], + // include settings from project controller + // https://github.com/elastic/project-controller/blob/main/internal/project/observability/config/elasticsearch.yml + esServerArgs: ['xpack.ml.dfa.enabled=false'], +}); diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/constants.ts b/x-pack/test_serverless/functional/test_suites/security/constants.ts similarity index 71% rename from x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/constants.ts rename to x-pack/test_serverless/functional/test_suites/security/constants.ts index a25deca07b7d9..53aea092cf8f6 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/service/client/adapters/simulate_function_calling/constants.ts +++ b/x-pack/test_serverless/functional/test_suites/security/constants.ts @@ -5,5 +5,4 @@ * 2.0. */ -export const TOOL_USE_START = '<|tool_use_start|>'; -export const TOOL_USE_END = '<|tool_use_end|>'; +export const SECURITY_ES_ARCHIVES_DIR = 'x-pack/test/security_solution_cypress/es_archives'; diff --git a/x-pack/test_serverless/functional/test_suites/security/ftr/discover/context_awareness/cell_renderer.ts b/x-pack/test_serverless/functional/test_suites/security/ftr/discover/context_awareness/cell_renderer.ts new file mode 100644 index 0000000000000..19d0020f73cba --- /dev/null +++ b/x-pack/test_serverless/functional/test_suites/security/ftr/discover/context_awareness/cell_renderer.ts @@ -0,0 +1,86 @@ +/* + * 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 kbnRison from '@kbn/rison'; +import expect from '@kbn/expect'; +import path from 'path'; +import { FtrProviderContext } from '../../../../../ftr_provider_context'; +import { SECURITY_ES_ARCHIVES_DIR } from '../../../constants'; + +export default function ({ getService, getPageObjects }: FtrProviderContext) { + const PageObjects = getPageObjects(['common', 'timePicker', 'discover', 'svlCommonPage']); + const testSubjects = getService('testSubjects'); + const dataViews = getService('dataViews'); + const esArchiver = getService('esArchiver'); + const queryBar = getService('queryBar'); + + describe('security root profile', () => { + before(async () => { + await PageObjects.svlCommonPage.loginAsViewer(); + await esArchiver.loadIfNeeded(path.join(SECURITY_ES_ARCHIVES_DIR, 'auditbeat_single')); + }); + + after(async () => { + await esArchiver.unload(path.join(SECURITY_ES_ARCHIVES_DIR, 'auditbeat_single')); + }); + + describe('cell renderers', () => { + describe('host.name', () => { + describe('DataView mode', () => { + it('should open host.name flyout', async () => { + await PageObjects.common.navigateToActualUrl('discover', undefined, { + ensureCurrentUrl: false, + }); + await dataViews.createFromSearchBar({ + name: 'auditbeat-2022', + adHoc: true, + hasTimeField: true, + }); + await queryBar.setQuery('host.name: "siem-kibana"'); + await queryBar.clickQuerySubmitButton(); + await PageObjects.discover.waitUntilSearchingHasFinished(); + await PageObjects.discover.dragFieldToTable('host.name'); + expect((await PageObjects.discover.getColumnHeaders()).join(', ')).to.be( + '@timestamp, host.name' + ); + // security host.name button + const hostName = await testSubjects.findAll('host-details-button', 2500); + expect(hostName).to.have.length(1); + await hostName[0].click(); + await testSubjects.existOrFail('host-panel-header', { timeout: 2500 }); + await testSubjects.existOrFail('asset-criticality-selector', { timeout: 2500 }); + await testSubjects.existOrFail('observedEntity-accordion', { timeout: 2500 }); + }); + }); + + describe('ES|QL mode', () => { + it('should open host.name flyout', async () => { + const state = kbnRison.encode({ + dataSource: { type: 'esql' }, + + query: { esql: 'from auditbeat-2022 | WHERE host.name == "siem-kibana"' }, + }); + + await PageObjects.common.navigateToActualUrl('discover', `?_a=${state}`, { + ensureCurrentUrl: false, + }); + await PageObjects.discover.waitUntilSearchingHasFinished(); + await PageObjects.discover.dragFieldToTable('host.name'); + expect((await PageObjects.discover.getColumnHeaders()).join(', ')).to.be('host.name'); + // security host.name button + const hostName = await testSubjects.findAll('host-details-button', 2500); + expect(hostName).to.have.length(1); + await hostName[0].click(); + await testSubjects.existOrFail('host-panel-header', { timeout: 2500 }); + await testSubjects.existOrFail('asset-criticality-selector', { timeout: 2500 }); + await testSubjects.existOrFail('observedEntity-accordion', { timeout: 2500 }); + }); + }); + }); + }); + }); +} diff --git a/x-pack/test_serverless/functional/test_suites/security/ftr/discover/context_awareness/index.ts b/x-pack/test_serverless/functional/test_suites/security/ftr/discover/context_awareness/index.ts new file mode 100644 index 0000000000000..93f6dff57b582 --- /dev/null +++ b/x-pack/test_serverless/functional/test_suites/security/ftr/discover/context_awareness/index.ts @@ -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 { FtrProviderContext } from '../../../../../ftr_provider_context'; + +export default function ({ getService, getPageObjects, loadTestFile }: FtrProviderContext) { + const esArchiver = getService('esArchiver'); + const kibanaServer = getService('kibanaServer'); + const PageObjects = getPageObjects(['timePicker', 'svlCommonPage']); + const from = '2017-06-10T14:00:00.000Z'; + const to = '2024-06-10T16:30:00.000Z'; + + describe('discover/security/context_awareness', function () { + this.tags(['esGate']); + + before(async () => { + await esArchiver.load('test/functional/fixtures/es_archiver/discover/context_awareness'); + await kibanaServer.importExport.load( + 'test/functional/fixtures/kbn_archiver/discover/context_awareness' + ); + await kibanaServer.uiSettings.update({ + 'timepicker:timeDefaults': `{ "from": "${from}", "to": "${to}"}`, + }); + }); + + after(async () => { + await esArchiver.unload('test/functional/fixtures/es_archiver/discover/context_awareness'); + await kibanaServer.importExport.unload( + 'test/functional/fixtures/kbn_archiver/discover/context_awareness' + ); + await PageObjects.timePicker.resetDefaultAbsoluteRangeViaUiSettings(); + }); + + loadTestFile(require.resolve('./cell_renderer')); + }); +} diff --git a/yarn.lock b/yarn.lock index 54bd760a01637..6b7bd8e56b189 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3856,31 +3856,31 @@ version "0.0.0" uid "" -"@kbn/aiops-change-point-detection@link:x-pack/packages/ml/aiops_change_point_detection": +"@kbn/aiops-change-point-detection@link:x-pack/platform/packages/private/ml/aiops_change_point_detection": version "0.0.0" uid "" -"@kbn/aiops-common@link:x-pack/packages/ml/aiops_common": +"@kbn/aiops-common@link:x-pack/platform/packages/shared/ml/aiops_common": version "0.0.0" uid "" -"@kbn/aiops-components@link:x-pack/packages/ml/aiops_components": +"@kbn/aiops-components@link:x-pack/platform/packages/private/ml/aiops_components": version "0.0.0" uid "" -"@kbn/aiops-log-pattern-analysis@link:x-pack/packages/ml/aiops_log_pattern_analysis": +"@kbn/aiops-log-pattern-analysis@link:x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis": version "0.0.0" uid "" -"@kbn/aiops-log-rate-analysis@link:x-pack/packages/ml/aiops_log_rate_analysis": +"@kbn/aiops-log-rate-analysis@link:x-pack/platform/packages/shared/ml/aiops_log_rate_analysis": version "0.0.0" uid "" -"@kbn/aiops-plugin@link:x-pack/plugins/aiops": +"@kbn/aiops-plugin@link:x-pack/platform/plugins/shared/aiops": version "0.0.0" uid "" -"@kbn/aiops-test-utils@link:x-pack/packages/ml/aiops_test_utils": +"@kbn/aiops-test-utils@link:x-pack/platform/packages/private/ml/aiops_test_utils": version "0.0.0" uid "" @@ -5268,7 +5268,7 @@ version "0.0.0" uid "" -"@kbn/data-visualizer-plugin@link:x-pack/plugins/data_visualizer": +"@kbn/data-visualizer-plugin@link:x-pack/platform/plugins/private/data_visualizer": version "0.0.0" uid "" @@ -5296,7 +5296,7 @@ version "0.0.0" uid "" -"@kbn/deeplinks-ml@link:packages/deeplinks/ml": +"@kbn/deeplinks-ml@link:src/platform/packages/shared/deeplinks/ml": version "0.0.0" uid "" @@ -5328,7 +5328,7 @@ version "0.0.0" uid "" -"@kbn/default-nav-ml@link:packages/default-nav/ml": +"@kbn/default-nav-ml@link:src/platform/packages/private/default-nav/ml": version "0.0.0" uid "" @@ -5944,7 +5944,7 @@ version "0.0.0" uid "" -"@kbn/inference_integration_flyout@link:x-pack/packages/ml/inference_integration_flyout": +"@kbn/inference_integration_flyout@link:x-pack/platform/packages/private/ml/inference_integration_flyout": version "0.0.0" uid "" @@ -6028,7 +6028,7 @@ version "0.0.0" uid "" -"@kbn/json-schemas@link:x-pack/packages/ml/json_schemas": +"@kbn/json-schemas@link:x-pack/platform/packages/private/ml/json_schemas": version "0.0.0" uid "" @@ -6268,135 +6268,135 @@ version "0.0.0" uid "" -"@kbn/ml-agg-utils@link:x-pack/packages/ml/agg_utils": +"@kbn/ml-agg-utils@link:x-pack/platform/packages/private/ml/agg_utils": version "0.0.0" uid "" -"@kbn/ml-anomaly-utils@link:x-pack/packages/ml/anomaly_utils": +"@kbn/ml-anomaly-utils@link:x-pack/platform/packages/shared/ml/anomaly_utils": version "0.0.0" uid "" -"@kbn/ml-cancellable-search@link:x-pack/packages/ml/cancellable_search": +"@kbn/ml-cancellable-search@link:x-pack/platform/packages/private/ml/cancellable_search": version "0.0.0" uid "" -"@kbn/ml-category-validator@link:x-pack/packages/ml/category_validator": +"@kbn/ml-category-validator@link:x-pack/platform/packages/private/ml/category_validator": version "0.0.0" uid "" -"@kbn/ml-chi2test@link:x-pack/packages/ml/chi2test": +"@kbn/ml-chi2test@link:x-pack/platform/packages/shared/ml/chi2test": version "0.0.0" uid "" -"@kbn/ml-creation-wizard-utils@link:x-pack/packages/ml/creation_wizard_utils": +"@kbn/ml-creation-wizard-utils@link:x-pack/platform/packages/private/ml/creation_wizard_utils": version "0.0.0" uid "" -"@kbn/ml-data-frame-analytics-utils@link:x-pack/packages/ml/data_frame_analytics_utils": +"@kbn/ml-data-frame-analytics-utils@link:x-pack/platform/packages/private/ml/data_frame_analytics_utils": version "0.0.0" uid "" -"@kbn/ml-data-grid@link:x-pack/packages/ml/data_grid": +"@kbn/ml-data-grid@link:x-pack/platform/packages/private/ml/data_grid": version "0.0.0" uid "" -"@kbn/ml-data-view-utils@link:x-pack/packages/ml/data_view_utils": +"@kbn/ml-data-view-utils@link:x-pack/platform/packages/private/ml/data_view_utils": version "0.0.0" uid "" -"@kbn/ml-date-picker@link:x-pack/packages/ml/date_picker": +"@kbn/ml-date-picker@link:x-pack/platform/packages/private/ml/date_picker": version "0.0.0" uid "" -"@kbn/ml-date-utils@link:x-pack/packages/ml/date_utils": +"@kbn/ml-date-utils@link:x-pack/platform/packages/private/ml/date_utils": version "0.0.0" uid "" -"@kbn/ml-error-utils@link:x-pack/packages/ml/error_utils": +"@kbn/ml-error-utils@link:x-pack/platform/packages/shared/ml/error_utils": version "0.0.0" uid "" -"@kbn/ml-field-stats-flyout@link:x-pack/packages/ml/field_stats_flyout": +"@kbn/ml-field-stats-flyout@link:x-pack/platform/packages/private/ml/field_stats_flyout": version "0.0.0" uid "" -"@kbn/ml-in-memory-table@link:x-pack/packages/ml/in_memory_table": +"@kbn/ml-in-memory-table@link:x-pack/platform/packages/private/ml/in_memory_table": version "0.0.0" uid "" -"@kbn/ml-is-defined@link:x-pack/packages/ml/is_defined": +"@kbn/ml-is-defined@link:x-pack/platform/packages/private/ml/is_defined": version "0.0.0" uid "" -"@kbn/ml-is-populated-object@link:x-pack/packages/ml/is_populated_object": +"@kbn/ml-is-populated-object@link:x-pack/platform/packages/private/ml/is_populated_object": version "0.0.0" uid "" -"@kbn/ml-kibana-theme@link:x-pack/packages/ml/kibana_theme": +"@kbn/ml-kibana-theme@link:x-pack/platform/packages/private/ml/kibana_theme": version "0.0.0" uid "" -"@kbn/ml-local-storage@link:x-pack/packages/ml/local_storage": +"@kbn/ml-local-storage@link:x-pack/platform/packages/private/ml/local_storage": version "0.0.0" uid "" -"@kbn/ml-nested-property@link:x-pack/packages/ml/nested_property": +"@kbn/ml-nested-property@link:x-pack/platform/packages/private/ml/nested_property": version "0.0.0" uid "" -"@kbn/ml-number-utils@link:x-pack/packages/ml/number_utils": +"@kbn/ml-number-utils@link:x-pack/platform/packages/private/ml/number_utils": version "0.0.0" uid "" -"@kbn/ml-parse-interval@link:x-pack/packages/ml/parse_interval": +"@kbn/ml-parse-interval@link:x-pack/platform/packages/private/ml/parse_interval": version "0.0.0" uid "" -"@kbn/ml-plugin@link:x-pack/plugins/ml": +"@kbn/ml-plugin@link:x-pack/platform/plugins/shared/ml": version "0.0.0" uid "" -"@kbn/ml-query-utils@link:x-pack/packages/ml/query_utils": +"@kbn/ml-query-utils@link:x-pack/platform/packages/private/ml/query_utils": version "0.0.0" uid "" -"@kbn/ml-random-sampler-utils@link:x-pack/packages/ml/random_sampler_utils": +"@kbn/ml-random-sampler-utils@link:x-pack/platform/packages/shared/ml/random_sampler_utils": version "0.0.0" uid "" -"@kbn/ml-response-stream@link:x-pack/packages/ml/response_stream": +"@kbn/ml-response-stream@link:x-pack/platform/packages/shared/ml/response_stream": version "0.0.0" uid "" -"@kbn/ml-route-utils@link:x-pack/packages/ml/route_utils": +"@kbn/ml-route-utils@link:x-pack/platform/packages/private/ml/route_utils": version "0.0.0" uid "" -"@kbn/ml-runtime-field-utils@link:x-pack/packages/ml/runtime_field_utils": +"@kbn/ml-runtime-field-utils@link:x-pack/platform/packages/shared/ml/runtime_field_utils": version "0.0.0" uid "" -"@kbn/ml-string-hash@link:x-pack/packages/ml/string_hash": +"@kbn/ml-string-hash@link:x-pack/platform/packages/private/ml/string_hash": version "0.0.0" uid "" -"@kbn/ml-time-buckets@link:x-pack/packages/ml/time_buckets": +"@kbn/ml-time-buckets@link:x-pack/platform/packages/private/ml/time_buckets": version "0.0.0" uid "" -"@kbn/ml-trained-models-utils@link:x-pack/packages/ml/trained_models_utils": +"@kbn/ml-trained-models-utils@link:x-pack/platform/packages/shared/ml/trained_models_utils": version "0.0.0" uid "" -"@kbn/ml-ui-actions@link:x-pack/packages/ml/ui_actions": +"@kbn/ml-ui-actions@link:x-pack/platform/packages/private/ml/ui_actions": version "0.0.0" uid "" -"@kbn/ml-url-state@link:x-pack/packages/ml/url_state": +"@kbn/ml-url-state@link:x-pack/platform/packages/private/ml/url_state": version "0.0.0" uid "" -"@kbn/ml-validators@link:x-pack/packages/ml/validators": +"@kbn/ml-validators@link:x-pack/platform/packages/private/ml/validators": version "0.0.0" uid "" @@ -6548,7 +6548,7 @@ version "0.0.0" uid "" -"@kbn/osquery-io-ts-types@link:packages/kbn-osquery-io-ts-types": +"@kbn/osquery-io-ts-types@link:src/platform/packages/shared/kbn-osquery-io-ts-types": version "0.0.0" uid "" @@ -6680,6 +6680,10 @@ version "0.0.0" uid "" +"@kbn/react-mute-legacy-root-warning@link:packages/kbn-react-mute-legacy-root-warning": + version "0.0.0" + uid "" + "@kbn/recently-accessed@link:packages/kbn-recently-accessed": version "0.0.0" uid "" @@ -6904,6 +6908,14 @@ version "0.0.0" uid "" +"@kbn/scout-info@link:packages/kbn-scout-info": + version "0.0.0" + uid "" + +"@kbn/scout-reporting@link:packages/kbn-scout-reporting": + version "0.0.0" + uid "" + "@kbn/scout@link:packages/kbn-scout": version "0.0.0" uid "" @@ -7664,7 +7676,7 @@ version "0.0.0" uid "" -"@kbn/transform-plugin@link:x-pack/plugins/transform": +"@kbn/transform-plugin@link:x-pack/platform/plugins/private/transform": version "0.0.0" uid "" @@ -27358,6 +27370,14 @@ re2js@0.4.3: resolved "https://registry.yarnpkg.com/re2js/-/re2js-0.4.3.tgz#1318cd0c12aa6ed3ba56d5e012311ffbfb2aef35" integrity sha512-EuNmh7jurhHEE8Ge/lBo9JuMLb3qf866Xjjfyovw3wPc7+hlqDkZq4LwhrCQMEI+ARWfrKrHozEndzlpNT0WDg== +"react-18@npm:react@~18.2.0", "react@^17.0.0 || ^18.2.0": + name react-18 + version "18.2.0" + resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + react-clientside-effect@^1.2.6: version "1.2.6" resolved "https://registry.yarnpkg.com/react-clientside-effect/-/react-clientside-effect-1.2.6.tgz#29f9b14e944a376b03fb650eed2a754dd128ea3a" @@ -27401,7 +27421,8 @@ react-docgen@^5.0.0: node-dir "^0.1.10" strip-indent "^3.0.0" -"react-dom@^17.0.0 || ^18.2.0": +"react-dom-18@npm:react-dom@~18.2.0", "react-dom@^17.0.0 || ^18.2.0": + name react-dom-18 version "18.2.0" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== @@ -27894,13 +27915,6 @@ react-window@^1.8.10: "@babel/runtime" "^7.0.0" memoize-one ">=3.1.1 <6" -"react@^17.0.0 || ^18.2.0": - version "18.2.0" - resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" - integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== - dependencies: - loose-envify "^1.1.0" - react@^17.0.1, react@^17.0.2: version "17.0.2" resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"